| | |
| | | <if test="taskPalce.id != null ">and jtpr.id = #{taskPalce.id}</if> |
| | | <if test="taskPalce.placeCheckId != null ">and jtpr.place_check_id = #{taskPalce.placeCheckId}</if> |
| | | <if test="taskPalce.taskId != null ">and jtpr.task_id = #{taskPalce.taskId}</if> |
| | | <if test="taskPalce.status != null ">and jtpr.status = #{taskPalce.status}</if> |
| | | <if test="taskPalce.status != null and taskPalce.status != 2 ">and jtpr.status = #{taskPalce.status}</if> |
| | | |
| | | <if test="taskPalce.status != null and taskPalce.status == 2 ">and jtpr.status in (2,3)</if> |
| | | |
| | | <if test="taskPalce.taskName != null and taskPalce.taskName != ''">and jtpr.task_name = |
| | | #{taskPalce.taskName} |
| | | </if> |
| | |
| | | and jtpr.create_time<=#{taskPalce.endTime} |
| | | </if> |
| | | |
| | | <if test="taskPalce.streetName!=null and taskPalce.streetName!=''"> |
| | | and br.town_name like concat('%',#{taskPalce.streetName},'%') |
| | | </if> |
| | | |
| | | <if test="taskPalce.communityName!=null and taskPalce.communityName!=''"> |
| | | and br.village_name like concat('%',#{taskPalce.communityName},'%') |
| | | </if> |
| | | |
| | | <if test="taskPalce.placeName!=null and taskPalce.placeName!=''"> |
| | | and jp.place_name like concat('%',#{taskPalce.placeName},'%') |
| | | </if> |