From d4c8e72800fcf6fbaa3804d383c7b6a23f826f3e Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 20 八月 2025 14:35:00 +0800
Subject: [PATCH] 修改bug

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 57 insertions(+), 2 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml
index 60f1e56..3948cfd 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml
@@ -2,6 +2,20 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.dy.pipIrrGlobal.daoTmp.DeleteMapper">
     <!-- 婕忔崯缁熻鐩稿叧 -->
+    <select id="selectAllStLossDay" resultType="com.dy.pipIrrGlobal.voTmp.VoStLossAmountDay">
+        select id as id,
+               intake_id as intakeId ,
+               dt as dt,
+               loss_amount as amount
+        from  rm_loss_day
+        order by intake_id DESC, id DESC
+    </select>
+
+    <delete id="deleteStLossDayById" parameterType="java.lang.Long">
+        delete from rm_loss_day
+        where id = #{id,jdbcType=BIGINT}
+    </delete>
+
     <select id="selectAllStLossMonth" resultType="com.dy.pipIrrGlobal.voTmp.VoStLossAmountMonth">
         select id as id,
                intake_id as intakeId ,
@@ -34,6 +48,20 @@
 
 
     <!-- 鍙栨按鍙g粺璁$浉鍏� -->
+    <select id="selectAllStIntakeDay" resultType="com.dy.pipIrrGlobal.voTmp.VoStIntakeAmountDay">
+        select id as id,
+               intake_id as intakeId ,
+               dt as dt,
+               amount as amount
+        from  rm_intake_amount_day
+        order by intake_id DESC, id DESC
+    </select>
+
+    <delete id="deleteStIntakeDayById" parameterType="java.lang.Long">
+        delete from rm_intake_amount_day
+        where id = #{id,jdbcType=BIGINT}
+    </delete>
+
     <select id="selectAllStIntakeMonth" resultType="com.dy.pipIrrGlobal.voTmp.VoStIntakeAmountMonth">
         select id as id,
                intake_id as intakeId ,
@@ -66,12 +94,24 @@
 
 
     <!-- 鍐滄埛缁熻鐩稿叧 -->
+    <select id="selectAllStClientDay" resultType="com.dy.pipIrrGlobal.voTmp.VoStClientAmountDay">
+        select id as id,
+               client_id as clientId ,
+               dt as dt,
+               amount as amount
+        from  rm_client_amount_day
+        order by client_id DESC, id DESC
+    </select>
+
+    <delete id="deleteRmClientDayById" parameterType="java.lang.Long">
+        delete from rm_client_amount_day
+        where id = #{id,jdbcType=BIGINT}
+    </delete>
+
     <select id="selectAllStClientMonth" resultType="com.dy.pipIrrGlobal.voTmp.VoStClientAmountMonth">
         select id as id,
                client_id as clientId ,
                year as year,
-               month as month,
-               amount as amount
         from  st_client_amount_month
         order by client_id DESC, id DESC
     </select>
@@ -95,4 +135,19 @@
         where id = #{id,jdbcType=BIGINT}
     </delete>
 
+
+    <select id="selectStClientAmountDayByYearMonth" resultType="com.dy.pipIrrGlobal.voTmp.VoStClientAmountDay">
+        select id as id,
+               client_id as clientId ,
+               year as year,
+               month as month
+        from  st_client_amount_day
+        where year = #{year} and month = #{month}
+        order by client_id ASC, id ASC
+    </select>
+
+    <delete id="deleteStClientDayById" parameterType="java.lang.Long">
+        delete from st_client_amount_day
+        where id = #{id,jdbcType=BIGINT}
+    </delete>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0