马宇豪
2023-08-25 aa2051a2327c079105110f5424f3a44ffaa0c7bb
src/main/resources/mybatis/doublePrevention/PreventOverhaulMapper.xml
@@ -34,8 +34,8 @@
        select * from prevent_overhaul_log
        <where>
            delete_status = 0
            <if test="overhaulLogReqBO.id != null">
                and id = #{overhaulLogReqBO.id}
            <if test="overhaulLogReqBO.riskUnitId != null">
                and risk_unit_id = #{overhaulLogReqBO.riskUnitId}
            </if>
        </where>
    </select>