|
|
@ -50,7 +50,7 @@
|
|
|
|
<if test="updateId != null ">and update_id = #{updateId}</if>
|
|
|
|
<if test="updateId != null ">and update_id = #{updateId}</if>
|
|
|
|
<if test="userId != null ">and user_id = #{userId}</if>
|
|
|
|
<if test="userId != null ">and user_id = #{userId}</if>
|
|
|
|
<if test="deptId != null ">and dept_id = #{deptId}</if>
|
|
|
|
<if test="deptId != null ">and dept_id = #{deptId}</if>
|
|
|
|
<if test="district != null and district != ''">and district = #{district}</if>
|
|
|
|
<if test="district != null and district != ''">and district like concat('%', #{district}, '%')</if>
|
|
|
|
<if test="plannedYear != null and plannedYear != ''">and planned_year = #{plannedYear}</if>
|
|
|
|
<if test="plannedYear != null and plannedYear != ''">and planned_year = #{plannedYear}</if>
|
|
|
|
<if test="planName != null and planName != ''">and plan_name like concat('%', #{planName}, '%')</if>
|
|
|
|
<if test="planName != null and planName != ''">and plan_name like concat('%', #{planName}, '%')</if>
|
|
|
|
<if test="planContent != null and planContent != ''">and plan_content = #{planContent}</if>
|
|
|
|
<if test="planContent != null and planContent != ''">and plan_content = #{planContent}</if>
|
|
|
@ -109,7 +109,7 @@
|
|
|
|
and s.plannedYear =#{req.plannedYear}
|
|
|
|
and s.plannedYear =#{req.plannedYear}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="req.district !=null and req.district !=''">
|
|
|
|
<if test="req.district !=null and req.district !=''">
|
|
|
|
and s.district =#{req.district}
|
|
|
|
and s.district like concat('%', #{req.district}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="req.checkStatus !=null and req.checkStatus !=''">
|
|
|
|
<if test="req.checkStatus !=null and req.checkStatus !=''">
|
|
|
|
and s.checkStatus =#{req.checkStatus}
|
|
|
|
and s.checkStatus =#{req.checkStatus}
|
|
|
|