| | |
| | | <!-- 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 |
| | | select a.* ,c.pre_rectify_photo,c.post_rectify_photo,c.rectify_attachment 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.danger_manage_deadline >= a.regist_time |
| | | <!-- and a.create_date >= '2025-06-15 00:00:00' and a.create_date <= '2025-06-18 23:59:59'--> |
| | | limit 50 |
| | | </select> |