|
@@ -319,8 +319,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where t.taskType >= 0 and tb1.taskrcdAuditstatus = '2' and t.tid = #{tid}
|
|
where t.taskType >= 0 and tb1.taskrcdAuditstatus = '2' and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
<if test="blockId != null and blockId != ''"> and t.blockId = #{blockId}</if>
|
|
<if test="blockId != null and blockId != ''"> and t.blockId = #{blockId}</if>
|
|
|
- <if test="startDate != null and startDate != ''"> and t.taskCompletedate <![CDATA[ >= ]]> #{startDate}</if>
|
|
|
|
|
- <if test="endDate != null and endDate != ''"> and t.taskCompletedate <![CDATA[ <= ]]> #{endDate}</if>
|
|
|
|
|
|
|
+ <if test="startDate != null and startDate != ''"> and t.taskPlanstartdate <![CDATA[ >= ]]> #{startDate}</if>
|
|
|
|
|
+ <if test="endDate != null and endDate != ''"> and t.taskPlanstartdate <![CDATA[ <= ]]> #{endDate}</if>
|
|
|
<if test="dataFilter == true and landIds != null and landIds.size() > 0">
|
|
<if test="dataFilter == true and landIds != null and landIds.size() > 0">
|
|
|
AND t.landId in
|
|
AND t.landId in
|
|
|
<foreach collection="landIds" item="item" open="(" separator="," close=")">
|
|
<foreach collection="landIds" item="item" open="(" separator="," close=")">
|