提交 d8f0dd66 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 36c928d4
...@@ -25,10 +25,10 @@ public interface AuthorLibraryMapper extends BaseMapper<AuthorLibrary> { ...@@ -25,10 +25,10 @@ public interface AuthorLibraryMapper extends BaseMapper<AuthorLibrary> {
+ " AND a.status = #{form.status} " + " AND a.status = #{form.status} "
+ "</if> " + "</if> "
+ "<if test='"+NOTBLANK+"(form.name)'> " + "<if test='"+NOTBLANK+"(form.name)'> "
+ " AND a.name like #{form.name} " + " AND a.name like concat('%',#{form.name},'%') "
+ "</if> " + "</if> "
+ "<if test='form.institutionName != null and form.institutionName != \"\"'> " + "<if test='form.institutionName != null and form.institutionName != \"\"'> "
+ " AND a.institutionName like #{form.institutionName} " + " AND a.institutionName like concat('%',#{form.institutionName},'%') "
+ "</if> " + "</if> "
+ "<if test='form.diyTypeCode != null and form.diyTypeCode != \"\"'>" + "<if test='form.diyTypeCode != null and form.diyTypeCode != \"\"'>"
+ "and t.code like concat(#{form.diyTypeCode},'%') " + "and t.code like concat(#{form.diyTypeCode},'%') "
......
...@@ -96,10 +96,10 @@ public interface EbookMapper extends BaseMapper<Ebook>{ ...@@ -96,10 +96,10 @@ public interface EbookMapper extends BaseMapper<Ebook>{
+ "</foreach>" + "</foreach>"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.name)'>" + "<if test='"+ NOTBLANK +"(form.name)'>"
+ " AND bb.name like concat(#{form.name},'%')" + " AND bb.name like concat('%',#{form.name},'%')"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.author)'>" + "<if test='"+ NOTBLANK +"(form.author)'>"
+ " AND bb.author like concat(#{form.author},'%')" + " AND bb.author like concat('%',#{form.author},'%')"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.edition)'>" + "<if test='"+ NOTBLANK +"(form.edition)'>"
+ " AND bi.edition like concat(#{form.edition},'%')" + " AND bi.edition like concat(#{form.edition},'%')"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论