| | |
| | | and br.town_code =#{code} |
| | | and jpc.create_time=( |
| | | SELECT MAX(create_time) FROM jczz_place_check where jpc.house_code=house_code |
| | | |
| | | <if test="taskPlaceRectification.startTime!=null and taskPlaceRectification.startTime!=''"> |
| | | AND date_format(create_time,'%Y-%m-%d')>= #{taskPlaceRectification.startTime} |
| | | and create_time>=#{taskPlaceRectification.startTime} |
| | | </if> |
| | | <if test="taskPlaceRectification.endTime!=null and taskPlaceRectification.endTime!=''"> |
| | | AND date_format(create_time,'%Y-%m-%d')<= #{taskPlaceRectification.endTime} |
| | | and create_time<=#{taskPlaceRectification.endTime} |
| | | </if> |
| | | ) |
| | | </where> |