提交 a23afb84 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 31b0f326
......@@ -49,7 +49,16 @@ public class TypographicManage {
* @param bookType
* @return
*/
public List<BookTypographicDesign> queryBySubjectAndBookType(String subjectNum, String bookType) {
public BookTypographicDesign queryBySubjectAndBookType(String subjectNum, String bookType) {
Example example = new Example(BookTypographicDesign.class);
example.createCriteria()
.andEqualTo("subjectNum", subjectNum)
.andEqualTo("bookType", bookType);
return mapper.selectOneByExample(example);
}
public List<BookTypographicDesign> select(String subjectNum, String bookType) {
Example example = new Example(BookTypographicDesign.class);
example.createCriteria()
.andEqualTo("subjectNum", subjectNum)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论