zhubaomin
2024-10-31 156fd9f67912e73b46c02ffe325ea24f21b47720
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}