From 1e83714d06985bdfa8c5faa70a72b16be45de300 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期一, 05 八月 2024 15:35:12 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml |   58 ----------------------------------------------------------
 1 files changed, 0 insertions(+), 58 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml
index edfd7d1..461c263 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml
@@ -284,64 +284,6 @@
     </trim>
   </select>
 
-  <!--鑾峰彇绱娴侀噺瓒呰繃鎸囧畾鍊肩殑鍙栨按鍙f暟閲�-->
-  <select id="getLargeFlowIntakesCount" resultType="java.lang.Long">
-    SELECT
-        COUNT(*) AS recordCount
-    FROM pr_intake inta
-        INNER JOIN rm_on_hour_report_last hou ON hou.intake_id = inta.id
-        INNER JOIN ba_block blo ON blo.id = inta.blockId
-    WHERE inta.deleted = 0 AND hou.total_amount > #{totalAmount}
-  </select>
 
-  <!--鑾峰彇绱娴侀噺瓒呰繃鎸囧畾鍊肩殑鍙栨按鍙�-->
-  <select id="getLargeFlowIntakes" resultType="com.dy.pipIrrGlobal.voSt.VoCumulativeFlow">
-    SELECT
-      inta.id AS intakeId,
-      inta.name AS intakeNum,
-      blo.name AS blockName,
-    CAST(hou.total_amount AS DECIMAL(10, 2)) AS cumulativeFlow,
-      hou.dt AS getDate
-    FROM pr_intake inta
-           INNER JOIN rm_on_hour_report_last hou ON hou.intake_id = inta.id
-           INNER JOIN ba_block blo ON blo.id = inta.blockId
-    WHERE inta.deleted = 0 AND hou.total_amount > #{totalAmount}
-    ORDER BY hou.dt
-    <trim prefix="limit " >
-      <if test="start != null and count != null">
-        #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
-      </if>
-    </trim>
-  </select>
 
-  <!--鑾峰彇绱娴侀噺浣庝簬鎸囧畾鍊肩殑鍙栨按鍙f暟閲�-->
-  <select id="getSmallFlowIntakesCount" resultType="java.lang.Long">
-    SELECT
-        COUNT(*) AS recordCount
-    FROM pr_intake inta
-        INNER JOIN rm_on_hour_report_last hou ON hou.intake_id = inta.id
-        INNER JOIN ba_block blo ON blo.id = inta.blockId
-    WHERE inta.deleted = 0 AND hou.total_amount &lt; #{totalAmount}
-  </select>
-
-  <!--鑾峰彇绱娴侀噺浣庝簬鎸囧畾鍊肩殑鍙栨按鍙�-->
-  <select id="getSmallFlowIntakes" resultType="com.dy.pipIrrGlobal.voSt.VoCumulativeFlow">
-    SELECT
-        inta.id AS intakeId,
-        inta.name AS intakeNum,
-        blo.name AS blockName,
-<!--    FORMAT(hou.total_amount,2) AS cumulativeFlow,-->
-        CAST(hou.total_amount AS DECIMAL(10, 2)) AS cumulativeFlow,
-        hou.dt AS getDate
-    FROM pr_intake inta
-        INNER JOIN rm_on_hour_report_last hou ON hou.intake_id = inta.id
-        INNER JOIN ba_block blo ON blo.id = inta.blockId
-    WHERE inta.deleted = 0 AND hou.total_amount &lt; #{totalAmount}
-    ORDER BY hou.dt
-    <trim prefix="limit " >
-      <if test="start != null and count != null">
-        #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
-      </if>
-    </trim>
-  </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0