From 1dd888195c562851f869d6c75b424365ed1c781e Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 14 八月 2025 14:26:28 +0800
Subject: [PATCH] 有wechat模块增加查询所有摄像头及accessToken功能

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 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 7abeae4..3948cfd 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4DeleteMapper.xml
@@ -103,7 +103,7 @@
         order by client_id DESC, id DESC
     </select>
 
-    <delete id="deleteStClientDayById" parameterType="java.lang.Long">
+    <delete id="deleteRmClientDayById" parameterType="java.lang.Long">
         delete from rm_client_amount_day
         where id = #{id,jdbcType=BIGINT}
     </delete>
@@ -112,8 +112,6 @@
         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>
@@ -137,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