|
|
@@ -68,10 +68,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
68
|
68
|
AND lower(table_comment) like lower(concat('%', #{tableComment}, '%'))
|
|
69
|
69
|
</if>
|
|
70
|
70
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
71
|
|
- AND date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
|
71
|
+ AND date_format(create_time,'%Y%m%d') >= date_format(#{params.beginTime},'%Y%m%d')
|
|
72
|
72
|
</if>
|
|
73
|
73
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
74
|
|
- AND date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
74
|
+ AND date_format(create_time,'%Y%m%d') <= date_format(#{params.endTime},'%Y%m%d')
|
|
75
|
75
|
</if>
|
|
76
|
76
|
</where>
|
|
77
|
77
|
</select>
|
|
|
@@ -88,10 +88,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
88
|
88
|
AND lower(table_comment) like lower(concat('%', #{tableComment}, '%'))
|
|
89
|
89
|
</if>
|
|
90
|
90
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
91
|
|
- AND date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
|
91
|
+ AND date_format(create_time,'%Y%m%d') >= date_format(#{params.beginTime},'%Y%m%d')
|
|
92
|
92
|
</if>
|
|
93
|
93
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
94
|
|
- AND date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
94
|
+ AND date_format(create_time,'%Y%m%d') <= date_format(#{params.endTime},'%Y%m%d')
|
|
95
|
95
|
</if>
|
|
96
|
96
|
order by create_time desc
|
|
97
|
97
|
</select>
|