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

--no commit message

上级 586146a3
...@@ -61,11 +61,11 @@ public interface AchievementLibraryMapper extends BaseMapper<AchievementLibrary> ...@@ -61,11 +61,11 @@ public interface AchievementLibraryMapper extends BaseMapper<AchievementLibrary>
+ "<if test='"+ NOTBLANK +"(form.name)'>" + "<if test='"+ NOTBLANK +"(form.name)'>"
+ "and a.name like concat('%',#{form.name},'%') " + "and a.name like concat('%',#{form.name},'%') "
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.beginTime)'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.endTime)'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<AchievementLibraryListVo> query(@Param("form")QueryAchievementLibraryForm form); List<AchievementLibraryListVo> query(@Param("form")QueryAchievementLibraryForm form);
......
...@@ -54,11 +54,11 @@ public interface AnimationLibraryMapper extends BaseMapper<AnimationLibrary> { ...@@ -54,11 +54,11 @@ public interface AnimationLibraryMapper extends BaseMapper<AnimationLibrary> {
+ "<if test='form.status != null'>" + "<if test='form.status != null'>"
+ "and a.status = #{form.status} " + "and a.status = #{form.status} "
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<AnimationLibraryListVO> query(@Param("form")QueryAnimationLibraryForm form); List<AnimationLibraryListVO> query(@Param("form")QueryAnimationLibraryForm form);
......
...@@ -57,11 +57,11 @@ public interface ArticleLibraryMapper extends BaseMapper<ArticleLibrary> { ...@@ -57,11 +57,11 @@ public interface ArticleLibraryMapper extends BaseMapper<ArticleLibrary> {
+ "<if test='form.dataSources != null' >" + "<if test='form.dataSources != null' >"
+ "and g.dataSources = #{form.dataSources} " + "and g.dataSources = #{form.dataSources} "
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ " and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ " and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<ArticleLibraryListVO> query(@Param("form")QueryArticleLibraryForm form); List<ArticleLibraryListVO> query(@Param("form")QueryArticleLibraryForm form);
......
...@@ -56,11 +56,11 @@ public interface AudioLibraryMapper extends BaseMapper<AudioLibrary> { ...@@ -56,11 +56,11 @@ public interface AudioLibraryMapper extends BaseMapper<AudioLibrary> {
+ "<if test='form.dataSources != null'>" + "<if test='form.dataSources != null'>"
+ "and g.dataSources = #{form.dataSources} " + "and g.dataSources = #{form.dataSources} "
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<AudioLibraryListVO> query(@Param("form")QueryAudioLibraryForm form); List<AudioLibraryListVO> query(@Param("form")QueryAudioLibraryForm form);
......
...@@ -39,12 +39,12 @@ public interface AuthorLibraryMapper extends BaseMapper<AuthorLibrary> { ...@@ -39,12 +39,12 @@ public interface AuthorLibraryMapper extends BaseMapper<AuthorLibrary> {
+ "#{id}" + "#{id}"
+ "</foreach>" + "</foreach>"
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'> " + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ " AND a.createTime &gt;= #{form.beginTime} " + "and a.createTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if> " + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'> " + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ " AND a.createTime &lt;= #{form.endTime} " + "and a.createTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if> " + "</if>"
+ "</script>") + "</script>")
List<AuthorLibraryListVO> queryAuthorLibraryByConditions(@Param("form")QueryAuthorLibraryForm form); List<AuthorLibraryListVO> queryAuthorLibraryByConditions(@Param("form")QueryAuthorLibraryForm form);
/** /**
......
...@@ -59,11 +59,11 @@ public interface ClauseLibraryMapper extends BaseMapper<ClauseLibrary>{ ...@@ -59,11 +59,11 @@ public interface ClauseLibraryMapper extends BaseMapper<ClauseLibrary>{
+ "<if test='"+ NOTBLANK +"(form.source)'>" + "<if test='"+ NOTBLANK +"(form.source)'>"
+ "and a.source like concat('%',#{form.source},'%') " + "and a.source like concat('%',#{form.source},'%') "
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.beginTime)'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.endTime)'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<ClauseLibraryListVo> query(@Param("form")QueryClauseLibraryForm form); List<ClauseLibraryListVo> query(@Param("form")QueryClauseLibraryForm form);
......
...@@ -55,11 +55,11 @@ public interface CoursewareLibraryMapper extends BaseMapper<CoursewareLibrary> { ...@@ -55,11 +55,11 @@ public interface CoursewareLibraryMapper extends BaseMapper<CoursewareLibrary> {
+ "<if test='form.dataSources != null'>" + "<if test='form.dataSources != null'>"
+ "and g.dataSources = #{form.dataSources} " + "and g.dataSources = #{form.dataSources} "
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<CoursewareLibraryListVO> query(@Param("form")QueryCoursewareLibraryForm form); List<CoursewareLibraryListVO> query(@Param("form")QueryCoursewareLibraryForm form);
......
...@@ -62,11 +62,11 @@ public interface CriterionLibraryMapper extends BaseMapper<CriterionLibrary>{ ...@@ -62,11 +62,11 @@ public interface CriterionLibraryMapper extends BaseMapper<CriterionLibrary>{
+ "<if test='"+ NOTBLANK +"(form.issuingOrgan)'>" + "<if test='"+ NOTBLANK +"(form.issuingOrgan)'>"
+ "and a.issuingOrgan like concat('%',#{form.issuingOrgan},'%') " + "and a.issuingOrgan like concat('%',#{form.issuingOrgan},'%') "
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.beginTime)'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.endTime)'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<CriterionLibraryListVo> query(@Param("form")QueryCriterionLibraryForm form); List<CriterionLibraryListVo> query(@Param("form")QueryCriterionLibraryForm form);
......
...@@ -110,11 +110,11 @@ public interface EbookMapper extends BaseMapper<Ebook>{ ...@@ -110,11 +110,11 @@ public interface EbookMapper extends BaseMapper<Ebook>{
+ "<if test='"+ NOTBLANK +"(form.executiveEditor)'>" + "<if test='"+ NOTBLANK +"(form.executiveEditor)'>"
+ " AND bb.executiveEditor like concat(#{form.executiveEditor},'%')" + " AND bb.executiveEditor like concat(#{form.executiveEditor},'%')"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.beginTime)'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ " AND be.uploadTime &gt;= #{form.beginTime} " + "and be.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.beginTime!=null and form.endTime!=null'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ " AND be.uploadTime &lt;= #{form.endTime} " + "and be.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<EbookListVO> page(@Param("form") QueryEbookForm form); List<EbookListVO> page(@Param("form") QueryEbookForm form);
......
...@@ -52,11 +52,11 @@ public interface ImageLibraryMapper extends BaseMapper<ImageLibrary> { ...@@ -52,11 +52,11 @@ public interface ImageLibraryMapper extends BaseMapper<ImageLibrary> {
+ "<if test='form.dataSources != null'>" + "<if test='form.dataSources != null'>"
+ "and g.dataSources = #{form.dataSources}" + "and g.dataSources = #{form.dataSources}"
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<ImageLibraryListVO> query(@Param("form")QueryImageLibraryForm form); List<ImageLibraryListVO> query(@Param("form")QueryImageLibraryForm form);
......
...@@ -53,11 +53,11 @@ public interface PdfLibraryMapper extends BaseMapper<PdfLibrary> { ...@@ -53,11 +53,11 @@ public interface PdfLibraryMapper extends BaseMapper<PdfLibrary> {
+ "<if test='form.dataSources != null'>" + "<if test='form.dataSources != null'>"
+ "and g.dataSources = #{form.dataSources} " + "and g.dataSources = #{form.dataSources} "
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<PdfLibraryListVO> query(@Param("form")QueryPdfLibraryForm form); List<PdfLibraryListVO> query(@Param("form")QueryPdfLibraryForm form);
......
...@@ -41,11 +41,11 @@ public interface RecycleBinMapper extends BaseMapper<RecycleBin> { ...@@ -41,11 +41,11 @@ public interface RecycleBinMapper extends BaseMapper<RecycleBin> {
+ "<if test='form.name != null and form.name != \"\"'>" + "<if test='form.name != null and form.name != \"\"'>"
+ "and a.name like concat('%',#{form.name},'%') " + "and a.name like concat('%',#{form.name},'%') "
+ "</if>" + "</if>"
+ "<if test='form.beginTime != null and form.beginTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.createTime &gt;= #{form.beginTime} " + "and a.createTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='form.endTime != null and form.endTime != \"\"'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.createTime &lt;= #{form.endTime} " + "and a.createTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<ResourceRecycleBinListVO> query(@Param("form")QueryRecycleBinForm form); List<ResourceRecycleBinListVO> query(@Param("form")QueryRecycleBinForm form);
......
...@@ -63,11 +63,11 @@ public interface StatuteLibraryMapper extends BaseMapper<StatuteLibrary>{ ...@@ -63,11 +63,11 @@ public interface StatuteLibraryMapper extends BaseMapper<StatuteLibrary>{
+ "<if test='"+ NOTBLANK +"(form.issuingOrgan)'>" + "<if test='"+ NOTBLANK +"(form.issuingOrgan)'>"
+ "and a.issuingOrgan like concat('%',#{form.issuingOrgan},'%') " + "and a.issuingOrgan like concat('%',#{form.issuingOrgan},'%') "
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.beginTime)'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='"+ NOTBLANK +"(form.endTime)'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "</script>") + "</script>")
List<StatuteLibraryListVo> query(@Param("form")QueryStatuteLibraryForm form); List<StatuteLibraryListVo> query(@Param("form")QueryStatuteLibraryForm form);
......
...@@ -53,11 +53,11 @@ public interface VideoLibraryMapper extends BaseMapper<VideoLibrary> { ...@@ -53,11 +53,11 @@ public interface VideoLibraryMapper extends BaseMapper<VideoLibrary> {
+ "<if test='form.source != null'>" + "<if test='form.source != null'>"
+ "and a.source like concat('%',#{form.source},'%') " + "and a.source like concat('%',#{form.source},'%') "
+ "</if>" + "</if>"
+ "<if test='"+NOTBLANK+"(form.beginTime)'>" + "<if test = '" + NOTBLANK + "(form.beginTime)'>"
+ "and a.uploadTime &gt;= #{form.beginTime} " + "and a.uploadTime &gt;= concat(#{form.beginTime}, ' 00:00:00' )"
+ "</if>" + "</if>"
+ "<if test='"+NOTBLANK+"(form.endTime)'>" + "<if test = '" + NOTBLANK + "(form.endTime)'>"
+ "and a.uploadTime &lt;= #{form.endTime} " + "and a.uploadTime &lt;= concat(#{form.endTime}, ' 23:59:59')"
+ "</if>" + "</if>"
+ "<if test='"+NOTBLANK+"(form.dataSources)'>" + "<if test='"+NOTBLANK+"(form.dataSources)'>"
+ "and g.dataSources = #{form.dataSources} " + "and g.dataSources = #{form.dataSources} "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论