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>