双重预防项目-国泰新华二开定制版
heheng
2025-04-15 7be0d5b901b999d2347774df3cc1a64927838bb3
src/main/resources/mybatis/doublePrevention/PreventRiskJobAndMeasureMapper.xml
@@ -26,6 +26,10 @@
        where job_id = #{jobId}
        limit 1
    </select>
    <select id="getJobAndMeasureListByJobId" resultMap="BaseResultMap">
        select * from prevent_risk_job_and_measure
        where job_id = #{jobId}
    </select>
<!--    int deleteJobAndMeasure(Long jobId);-->
    <delete id="deleteJobAndMeasure">
@@ -57,7 +61,14 @@
    <!--    List<PreventRiskJobAndMeasure> listReportWork();-->
    <select id="listReportWorkTest" resultMap="BaseResultMap">
        select * from prevent_risk_job_and_measure
        where job_id = 84
<!--        where job_id in (43,47,50,53,56,59,63,65,68,71,75,77,81)-->
<!--        where job_id in (44,46,49,52,55,58,61,64,67,70,73,76,79)-->
        where job_id in (45,48,51,54,57,60,62,66,69,72,74,78,80)
    </select>
<!--    List<PreventRiskJobAndMeasure> getRectifyJobData(Long jobId);-->
    <select id="getRectifyJobData" resultMap="BaseResultMap">
        select * from prevent_risk_job_and_measure
        where job_id = #{jobId}
    </select>
</mapper>