| | |
| | | <if test="place.placeName != null and place.placeName != ''"> |
| | | and jp.place_name like concat('%', #{place.placeName},'%') |
| | | </if> |
| | | |
| | | <if test="place.startTime != null and place.startTime != '' and place.endTime != null and place.endTime != '' "> |
| | | AND jtnfr.create_time BETWEEN #{place.startTime} and #{place.endTime} |
| | | </if> |
| | | |
| | | <if test="place.principal != null and place.principal != ''"> |
| | | and jp.principal like concat('%', #{place.principal},'%') |
| | | </if> |
| | |
| | | and jtnfr.pcs_name like concat('%', #{place.pcsName},'%') |
| | | </if> |
| | | |
| | | <if test="isAdministrator==2"> |
| | | <if test="isAdministrator==2 and place.createUser == null"> |
| | | <choose> |
| | | <when test="place.roleName != null and place.roleName != ''"> |
| | | <if test="place.roleName=='wgy'"> |
| | |
| | | jpr.rectification_image_urls, |
| | | jpr.rectification_remark, |
| | | jpr.rectification_time, |
| | | jpr.pdf_path, |
| | | jpr.original_name, |
| | | jpgi.items_name |
| | | from jczz_task_place_record jpr |
| | | LEFT JOIN jczz_patrol_group_item jpgi on jpr.item_id = jpgi.id |