| | |
| | | <result column="check_accept_time" property="checkAcceptTime"/> |
| | | <result column="danger_manager_id" property="dangerManagerId"/> |
| | | </resultMap> |
| | | <resultMap id="BaseMapVO" type="com.ruoyi.doublePrevention.entity.ZDReport.ZDPreventCJReportDangerInfo" extends="BaseResultMap"> |
| | | <result property="postRectifyPhoto" column="post_rectify_photo"/> |
| | | <result property="rectifyAttachment" column="rectify_attachment"/> |
| | | <result property="preRectifyPhoto" column="pre_rectify_photo"/> |
| | | </resultMap> |
| | | |
| | | <!--IPage<PreventReportDangerInfo> getReportDangerInfoPage(Page<Object> objectPage, PreventReportDangerInfoReqDTO queryReqDTO);--> |
| | | <select id="getReportDangerInfoPage" resultMap="BaseResultMap"> |
| | |
| | | limit 200 |
| | | </select> |
| | | |
| | | <select id="listReportDangerDateZhunDong" resultMap="BaseMapVO"> |
| | | <!-- select * from prevent_cj_report_danger_info--> |
| | | <!-- where zhun_report_status = 1--> |
| | | <!-- limit 50--> |
| | | <!--,c.pre_rectify_photo,c.post_rectify_photo,c.rectify_attachment--> |
| | | select a.* from prevent_cj_report_danger_info a |
| | | <!-- INNER JOIN prevent_risk_danger_info b on a.id = b.uuid--> |
| | | <!-- INNER JOIN tr_hidden_danger_check_point c on c.id = b.danger_check_point_id--> |
| | | where a.zhun_report_status = 1 and a.deleted = 0 |
| | | and a.create_date >= '2025-06-15 00:00:00' and a.create_date <= '2025-06-18 23:59:59' |
| | | limit 50 |
| | | </select> |
| | | |
| | | <update id="updateZDReportStatusById"> |
| | | update prevent_cj_report_danger_info set |
| | | zhun_report_status = #{zhunReportStatus}, |
| | | zhun_report_time = #{zhunReportTime} |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | |
| | | <!--int updateTaskReportStatus(HandlerReportParam handlerReportParam);--> |
| | | <update id="updateTaskReportStatus"> |
| | | update prevent_cj_report_danger_info set |