| | |
| | | <result column="hazard_dep" property="hazardDep"/> |
| | | <result column="hazard_liable_person" property="hazardLiablePerson"/> |
| | | <result column="risk_unit_id" property="riskUnitId"/> |
| | | <result column="zhun_report_status" property="zhunReportStatus"/> |
| | | </resultMap> |
| | | |
| | | <!--IPage<PreventRiskAnaUnit> getReportRiskUnitPage(Page<Object> page, PreReportRiskUnitQueryReqDTO queryReqDTO);--> |
| | |
| | | limit 200 |
| | | </select> |
| | | |
| | | |
| | | <select id="listReportUnitDateHuaiDong" resultMap="BaseResultMap"> |
| | | select * from prevent_cj_report_risk_ana_unit |
| | | where zhun_report_status = 1 and deleted = 0 and hazard_code is not null and hazard_code LIKE '6523%' |
| | | limit 50 |
| | | </select> |
| | | |
| | | <!--int updateReportStatus();--> |
| | | <update id="updateReportStatus"> |
| | | update prevent_cj_report_risk_ana_unit set |
| | |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | |
| | | <update id="updateHDReportStatusById"> |
| | | update prevent_cj_report_risk_ana_unit set |
| | | zhun_report_status = #{zhunReportStatus}, |
| | | zhun_report_time = #{zhunReportTime} |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <!-- int insertUnitList(PreventCJReportRiskAnaUnit unit);--> |
| | | <insert id="insertUnitList"> |
| | | insert into prevent_cj_report_risk_ana_unit |