|
|
@@ -10,7 +10,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectFmsTaskList" parameterType="FmsTask" resultType="FmsTask">
|
|
|
<include refid="selectFmsTaskVo"/>
|
|
|
- <where>
|
|
|
+ <where>
|
|
|
+ tid = #{tid}
|
|
|
<if test="taskNo != null and taskNo != ''"> and taskNo = #{taskNo}</if>
|
|
|
<if test="planId != null and planId != ''"> and planId = #{planId}</if>
|
|
|
<if test="blockId != null and blockId != ''"> and blockId = #{blockId}</if>
|
|
|
@@ -28,7 +29,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="taskCompletedate != null and taskCompletedate != ''"> and taskCompletedate = #{taskCompletedate}</if>
|
|
|
<if test="taskModifieddate != null and taskModifieddate != ''"> and taskModifieddate = #{taskModifieddate}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and taskVisible = #{taskVisible}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and tid = #{tid}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
@@ -43,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN FmsPlan p ON t.planId = p.planId
|
|
|
LEFT JOIN FmsTaskrcd s ON t.taskId = s.taskId and s.taskrcdAuditstatus = 2
|
|
|
<where>
|
|
|
+ t.tid = #{tid}
|
|
|
<if test="taskNo != null and taskNo != ''"> and t.taskNo = #{taskNo}</if>
|
|
|
<if test="planNo != null and planNo != ''"> and p.planNo = #{planNo}</if>
|
|
|
<if test="planId != null and planId != ''"> and t.planId = #{planId}</if>
|
|
|
@@ -80,7 +81,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and t.tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and t.taskVisible = #{taskVisible}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
@@ -94,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN FmsPlan p ON t.planId = p.planId
|
|
|
LEFT JOIN FmsTaskrcd s ON t.taskId = s.taskId and s.taskrcdAuditstatus = 2
|
|
|
<where>
|
|
|
+ t.tid = #{tid}
|
|
|
<if test="taskNo != null and taskNo != ''"> and t.taskNo = #{taskNo}</if>
|
|
|
<if test="planId != null and planId != ''"> and t.planId = #{planId}</if>
|
|
|
<if test="blockId != null and blockId != ''"> and t.blockId = #{blockId}</if>
|
|
|
@@ -127,7 +128,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and t.tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and t.taskVisible = #{taskVisible}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
@@ -139,6 +139,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN FmsLand l ON t.landId = l.landId
|
|
|
LEFT JOIN FmsBlock b ON t.blockId = b.blockId
|
|
|
<where>
|
|
|
+ t.tid = #{tid}
|
|
|
<if test="blockId != null and blockId != ''"> and t.blockId = #{blockId}</if>
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
<if test="dataFilter == true and blockIds !=null and blockIds.size()>0">
|
|
|
@@ -147,7 +148,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{blockId}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and t.tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and t.taskVisible = #{taskVisible}</if>
|
|
|
</where>
|
|
|
order by taskCreateddate desc limit 10
|
|
|
@@ -162,6 +162,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN FmsPlan p ON t.planId = p.planId
|
|
|
LEFT JOIN FmsTaskpatrol tp on tp.taskId = t.taskId
|
|
|
<where>
|
|
|
+ t.tid = #{tid}
|
|
|
<if test="taskNo != null and taskNo != ''"> and t.taskNo = #{taskNo}</if>
|
|
|
<if test="planId != null and planId != ''"> and t.planId = #{planId}</if>
|
|
|
<if test="blockId != null and blockId != ''"> and t.blockId = #{blockId}</if>
|
|
|
@@ -183,7 +184,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
<if test="dataFilter == true and blockIds != null and blockIds.size()>0 and landIds !=null and landIds.size()>0">
|
|
|
AND (
|
|
|
-
|
|
|
t.blockId in
|
|
|
<foreach collection="blockIds" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
|
@@ -195,7 +195,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</foreach>
|
|
|
)
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and t.tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and t.taskVisible = #{taskVisible}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
@@ -204,19 +203,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectFmsTaskVo"/>
|
|
|
where
|
|
|
taskId = #{taskId}
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and tid = #{tid}</if>
|
|
|
+ and tid = #{tid}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectCountFmsTaskByPlanId" parameterType="String" resultType="int">
|
|
|
select count(1) from FmsTask
|
|
|
where
|
|
|
planId = #{planId}
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and tid = #{tid}</if>
|
|
|
+ and tid = #{tid}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectCountFmsTask" parameterType="FmsTaskListReqVo" resultType="int">
|
|
|
select count(1) from FmsTask
|
|
|
<where>
|
|
|
+ tid = #{tid}
|
|
|
<if test="taskAuditstatus != null and taskAuditstatus != ''">
|
|
|
and
|
|
|
<foreach collection="taskAuditstatus.split(',')" item="items" open="(" separator="or" close=")">
|
|
|
@@ -229,7 +229,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="endDate != null and endDate != ''"> and taskCompletedate <![CDATA[ <= ]]> #{endDate}</if>
|
|
|
<if test="taskManager != null and taskManager != ''"> and taskManager = #{taskManager}</if>
|
|
|
<if test="landId != null and landId != ''"> and landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and taskVisible = #{taskVisible}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
@@ -237,6 +236,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectCountFmsTaskByType" parameterType="FmsTaskListReqVo" resultType="FmsTaskTypeCountResVo">
|
|
|
SELECT count(taskType) count, taskType FROM FmsTask
|
|
|
<where>
|
|
|
+ tid = #{tid}
|
|
|
<if test="taskAuditstatus != null and taskAuditstatus != ''"> and taskStatus = #{taskAuditstatus}</if>
|
|
|
<if test="landId != null and landId != ''"> and landId = #{landId}</if>
|
|
|
<if test="taskAudittype != null and taskAudittype != ''">
|
|
|
@@ -255,7 +255,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and taskVisible = #{taskVisible}</if>
|
|
|
and taskType >=0
|
|
|
</where>
|
|
|
@@ -266,6 +265,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectCountFmsTaskByTypeBoard" parameterType="FmsTaskListReqVo" resultType="FmsTaskTypeCountResVo">
|
|
|
SELECT count(taskType) count, taskType FROM FmsTask
|
|
|
<where>
|
|
|
+ tid = #{tid}
|
|
|
<if test="taskAuditstatus != null and taskAuditstatus != ''"> and taskStatus = #{taskAuditstatus}</if>
|
|
|
<if test="landId != null and landId != ''"> and landId = #{landId}</if>
|
|
|
<if test="planId != null and planId != ''"> and planId = #{planId}</if>
|
|
|
@@ -292,7 +292,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and taskVisible = #{taskVisible}</if>
|
|
|
</where>
|
|
|
GROUP BY taskType
|
|
|
@@ -304,7 +303,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join
|
|
|
(select tr.* from FmsTaskrcd tr where tr.taskrcdAuditstatus = '1' or tr.taskrcdAuditstatus = '2') tb1
|
|
|
on tb1.taskId = t.taskId
|
|
|
- where t.taskType >= 0 and tb1.taskrcdAuditstatus = '2'
|
|
|
+ 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="blockId != null and blockId != ''"> and t.blockId = #{blockId}</if>
|
|
|
<if test="startDate != null and startDate != ''"> and t.taskCompletedate <![CDATA[ >= ]]> #{startDate}</if>
|
|
|
@@ -315,7 +314,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and t.tid = #{tid}</if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">and t.taskVisible = #{taskVisible}</if>
|
|
|
group by t.taskType
|
|
|
</select>
|
|
|
@@ -328,8 +326,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN FmsBlock b ON t.blockId = b.blockId
|
|
|
LEFT JOIN FmsPlan p ON t.planId = p.planId
|
|
|
LEFT JOIN SysUser u ON t.taskCreator = u.userId
|
|
|
- where t.taskId = #{taskId}
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and t.tid = #{tid}</if>
|
|
|
+ where
|
|
|
+ t.taskId = #{taskId}
|
|
|
+ and t.tid = #{tid}
|
|
|
</select>
|
|
|
|
|
|
<select id="getInfoByPlanId" parameterType="String" resultType="FmsTaskResVo">
|
|
|
@@ -342,7 +341,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
t.taskType >= 0
|
|
|
and t.taskStatus = '3'
|
|
|
and t.planId = #{planId}
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">and t.tid = #{tid}</if>
|
|
|
+ and t.tid = #{tid}
|
|
|
</select>
|
|
|
|
|
|
<insert id="insertFmsTask" parameterType="FmsTask">
|
|
|
@@ -423,28 +422,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="tid != null">tid = #{tid},</if>
|
|
|
</trim>
|
|
|
where taskId = #{taskId}
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and tid = #{tid}
|
|
|
- </if>
|
|
|
+ and tid = #{tid}
|
|
|
</update>
|
|
|
|
|
|
<delete id="deleteFmsTaskByTaskId" parameterType="String">
|
|
|
delete from FmsTask
|
|
|
where
|
|
|
taskId = #{taskId}
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and tid = #{tid}
|
|
|
- </if>
|
|
|
+ and tid = #{tid}
|
|
|
</delete>
|
|
|
|
|
|
<delete id="deleteFmsTaskByTaskIds" parameterType="String">
|
|
|
- delete from FmsTask where taskId in
|
|
|
+ delete from FmsTask
|
|
|
+ where
|
|
|
+ taskId in
|
|
|
<foreach item="taskId" collection="array" open="(" separator="," close=")">
|
|
|
#{taskId}
|
|
|
</foreach>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and tid = #{tid}
|
|
|
- </if>
|
|
|
+ and tid = #{tid}
|
|
|
</delete>
|
|
|
|
|
|
<select id="selectTaskCountOfTaskStatus" parameterType="String" resultType="int">
|
|
|
@@ -460,9 +455,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
+ and t.tid = #{tid}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectTaskListOfTaskStatus" parameterType="String" resultType="FmsTaskMessageResVo">
|
|
|
@@ -473,16 +466,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN FmsBlock b ON t.blockId = b.blockId
|
|
|
LEFT JOIN FmsPlan p ON t.planId = p.planId
|
|
|
LEFT JOIN FmsTaskpatrol tp on tp.taskId = t.taskId
|
|
|
- WHERE t.taskStatus <![CDATA[ < ]]> 2
|
|
|
+ WHERE
|
|
|
+ t.taskStatus <![CDATA[ < ]]> 2
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''">
|
|
|
and t.landId = #{landId}
|
|
|
</if>
|
|
|
<if test="taskManager != null and taskManager != ''">
|
|
|
and t.taskManager =#{taskManager}
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -498,10 +490,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select tr.* from FmsTaskrcd tr where tr.taskrcdAuditstatus = '2') tb1
|
|
|
on tb1.taskId = t.taskId
|
|
|
where left(t.taskCompletedate,4)=#{startTime}
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -517,11 +507,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select tr.* from FmsTaskrcd tr where tr.taskrcdAuditstatus = '2') tb1
|
|
|
on tb1.taskId = t.taskId
|
|
|
left join FmsLand l on l.landId = t.landId
|
|
|
- where left(t.taskCompletedate,4)=#{startTime}
|
|
|
+ where left(t.taskCompletedate,4)=#{startTime} and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -539,10 +526,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
on tb1.taskId = t.taskId
|
|
|
left join FmsBlock b on b.blockId = t.blockId
|
|
|
where left(t.taskCompletedate,4)=#{startTime}
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -558,10 +543,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select tr.* from FmsTaskrcd tr where tr.taskrcdAuditstatus = '2') tb1
|
|
|
on tb1.taskId = t.taskId
|
|
|
where left(tb1.taskrcdSubmitdate,4)=#{startTime}
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
+
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -581,10 +565,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<where>
|
|
|
and left(t.taskCompletedate,4)=#{startTime}
|
|
|
and tb1.taskrcdCost>0
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -601,10 +583,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select tr.* from FmsTaskrcd tr where tr.taskrcdAuditstatus = '2') tb1
|
|
|
on tb1.taskId = t.taskId
|
|
|
where left(tb1.taskrcdSubmitdate,4)=#{startTime}
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -622,10 +602,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select tr.* from FmsTaskrcd tr where tr.taskrcdAuditstatus = '2') tb1
|
|
|
on tb1.taskId = t.taskId
|
|
|
where left(t.taskCompletedate,4)=#{startTime} and tb1.taskrcdAssetInvestment>0
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -641,10 +619,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
(select tr.* from FmsTaskrcd tr where tr.taskrcdAuditstatus = '2') tb1
|
|
|
on tb1.taskId = t.taskId
|
|
|
where left(tb1.taskrcdSubmitdate,4)=#{startTime}
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -664,10 +640,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<where>
|
|
|
and left(t.taskCompletedate,4)=#{startTime}
|
|
|
and tb1.taskrcdMachineInvestment>0
|
|
|
+ and t.tid = #{tid}
|
|
|
<if test="landId != null and landId != ''"> and t.landId = #{landId}</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and t.tid = #{tid}
|
|
|
- </if>
|
|
|
<if test="taskVisible != null and taskVisible != ''">
|
|
|
and t.taskVisible = #{taskVisible}
|
|
|
</if>
|
|
|
@@ -701,6 +675,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN FmsTaskasset fta on fta.taskrcdId = ftr.taskrcdId
|
|
|
LEFT JOIN SysUser su on su.userId = ft.taskManager
|
|
|
<where>
|
|
|
+ ft.tid = #{tid}
|
|
|
<if test="taskNo != null and taskNo != ''"> and ft.taskNo = #{taskNo}</if>
|
|
|
<if test="planId != null and planId != ''"> and ft.planId = #{planId}</if>
|
|
|
<if test="planNo != null and planNo != ''"> and fp.planNo = #{planNo}</if>
|
|
|
@@ -730,9 +705,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tid != null and tid !='' and tid != '-1'">
|
|
|
- and ft.tid = #{tid}
|
|
|
- </if>
|
|
|
</where>
|
|
|
GROUP BY ft.taskId
|
|
|
order by taskCreateddate desc
|