|
|
@@ -104,10 +104,10 @@
|
|
|
<if test="updateUserid != null ">and t.update_userid = #{updateUserid}</if>
|
|
|
<if test="updateUsername != null and updateUsername != ''">and t.update_username like concat('%', #{updateUsername}, '%')</if>
|
|
|
<if test="beginTime != null and beginTime != ''"><!-- 开始时间检索 -->
|
|
|
- and str_to_date(t.date_format(create_time,'%Y-%m-%d'),'%Y-%m-%d') >= str_to_date(#{beginTime},'%Y-%m-%d')
|
|
|
+ and str_to_date(date_format(t.create_time,'%Y-%m-%d'),'%Y-%m-%d') >= str_to_date(#{beginTime},'%Y-%m-%d')
|
|
|
</if>
|
|
|
<if test="endTime != null and endTime != ''"><!-- 结束时间检索 -->
|
|
|
- and str_to_date(t.date_format(create_time,'%Y-%m-%d'),'%Y-%m-%d') <= str_to_date(#{endTime},'%Y-%m-%d')
|
|
|
+ and str_to_date(date_format(t.create_time,'%Y-%m-%d'),'%Y-%m-%d') <= str_to_date(#{endTime},'%Y-%m-%d')
|
|
|
</if>
|
|
|
<if test="searchValue != null and searchValue != ''">
|
|
|
and (
|