liurunyu
2024-11-08 ba92b49a0b5d2018c1ffc58cdd26bee08bb95078
pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOpenCloseValveLastMapper.xml
@@ -522,7 +522,7 @@
        oh.cl_total_amount      AS closeTotalAmount
        FROM rm_open_close_valve_last oh
        LEFT JOIN pr_intake inta ON inta.id = oh.intake_id
        LEFT JOIN ba_client cl ON cl.id = oh.client_id
        LEFT JOIN se_client cl ON cl.id = oh.client_id
        <where>
            <if test="intakeId != null and intakeId > 0">
                AND oh.intake_id = #{intakeId}