|
@@ -106,6 +106,21 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="taskName != null and taskName != ''">
|
|
|
+ and task.task_name like concat(concat('%',#{taskName}),'%')
|
|
|
+ </if>
|
|
|
+ <if test="taskCreatedTimeStart != null">
|
|
|
+ and task.created_time <![CDATA[>=]]> #{taskCreatedTimeStart}
|
|
|
+ </if>
|
|
|
+ <if test="taskCreatedTimeEnd != null">
|
|
|
+ and task.created_time <![CDATA[<=]]> #{taskCreatedTimeEnd}
|
|
|
+ </if>
|
|
|
+ <if test="applyTimeStart != null">
|
|
|
+ and task.apply_time <![CDATA[>=]]> #{applyTimeStart}
|
|
|
+ </if>
|
|
|
+ <if test="applyTimeEnd != null">
|
|
|
+ and task.apply_time <![CDATA[<=]]> #{applyTimeEnd}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
</mapper>
|