马宇豪
2023-09-12 e3ea957fde23b5a7c1c098b94fb3dfed6b369882
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>