wuzeyu
2024-12-23 9c8ab5d5d8670e524c02b8dcbb9f6876cbe6bc3c
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}