| | |
| | | |
| | | <select id="selectPatrolRecordList" parameterType="Long" |
| | | resultType="org.springblade.modules.task.vo.TaskPlaceRecordVO"> |
| | | select |
| | | jpr.id, |
| | | jpr.item_id, |
| | | jpr.task_place_self_check_id, |
| | | jpr.state, |
| | | jpr.remark, |
| | | jpr.image_urls, |
| | | jpr.create_user, |
| | | jpr.create_time, |
| | | jpr.is_deleted, |
| | | jpr.rectification_image_urls, |
| | | jpr.rectification_remark, |
| | | jpr.rectification_time, |
| | | jpgi.items_name |
| | | from |
| | | jczz_task_place_record jpr |
| | | LEFT JOIN jczz_patrol_group_item jpgi on jpr.item_id= jpgi.id |
| | | where task_place_self_check_id = #{id} |
| | | </select> |
| | | select jpr.id, |
| | | jpr.item_id, |
| | | jpr.task_place_self_check_id, |
| | | jpr.state, |
| | | jpr.remark, |
| | | jpr.image_urls, |
| | | jpr.create_user, |
| | | jpr.create_time, |
| | | jpr.is_deleted, |
| | | jpr.rectification_image_urls, |
| | | jpr.rectification_remark, |
| | | jpr.rectification_time, |
| | | jpgi.items_name |
| | | from jczz_task_place_record jpr |
| | | LEFT JOIN jczz_patrol_group_item jpgi on jpr.item_id = jpgi.id |
| | | where task_place_self_check_id = #{id} |
| | | and jpr.type = '1' |
| | | </select> |
| | | |
| | | <sql id="selectTaskPlaceSelfCheck"> |
| | | select |