|
@@ -66,10 +66,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="taskArea != null and taskArea != ''"> and task_area = #{taskArea}</if>
|
|
|
<if test="params.searchkey != null and params.searchkey != ''"> and ( task_content like concat('%', #{params.searchkey}, '%') or task_addr_road like concat('%', #{params.searchkey}, '%'))</if>
|
|
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
|
- and date_format(task_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
|
+ and date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
|
</if>
|
|
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
|
- and date_format(task_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
+ and date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
</if>
|
|
|
<if test="params.userId != null and params.userId != ''"><!-- 派发用户自己的或自己填报的或自己处理的 -->
|
|
|
<![CDATA[
|