16639036659
2023-07-13 c567595f7894e1d032b7054d0bff3025c829282d
src/main/resources/mybatis/doublePrevention/PreventOverhaulMapper.xml
@@ -34,8 +34,8 @@
        select * from prevent_overhaul_log
        <where>
            delete_status = 0
            <if test="overhaulLogReqBO.hazardCode != null and overhaulLogReqBO.hazardCode != ''">
                and hazard_code = #{overhaulLogReqBO.hazardCode}
            <if test="overhaulLogReqBO.riskUnitId != null">
                and risk_unit_id = #{overhaulLogReqBO.riskUnitId}
            </if>
        </where>
    </select>