From d1513a9ec3d0970193200dad5d17b54b3c2a924c Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 06 八月 2024 13:41:03 +0800
Subject: [PATCH] 1、完善代码 2、增加了程序关闭时的事件钩子,以实现关闭程序时进行一些必要性处理。

---
 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