zhubaomin
2024-10-28 22b9c3b8ff361f8054c4041b9966d79cc8ba2214
pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOpenCloseValveHistoryMapper.xml
@@ -525,7 +525,7 @@
               oh.cl_total_amount      AS closeTotalAmount
        FROM rm_open_close_valve_history 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}
@@ -546,7 +546,7 @@
                AND oh.cl_dt BETWEEN #{timeStart_close} AND #{timeStop_close}
            </if>
        </where>
        ORDER BY oh.op_dt DESC
        ORDER BY oh.id DESC
        <trim prefix="limit ">
            <if test="start != null and count != null">
                #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}