From 9619e60e3075a432d692f3cd8b76787568c53aad Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 07 五月 2025 15:56:58 +0800
Subject: [PATCH] 1、完善代码;2、禁止输出SpringBoot启动时Banner。
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4ChangeMapper.xml | 35 ++++++++++++++++++++++++++++++++++-
1 files changed, 34 insertions(+), 1 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4ChangeMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4ChangeMapper.xml
index 3e94ae3..e37d911 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4ChangeMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/Temp4ChangeMapper.xml
@@ -34,6 +34,39 @@
where id = #{id, jdbcType=BIGINT}
</update>
+ <update id="updateOneIntakeAmountDay1" >
+ update rm_intake_amount_day
+ set amount = #{amount, jdbcType=FLOAT},
+ money = #{money, jdbcType=FLOAT},
+ times = #{times, jdbcType=INTEGER}
+ where intake_id = #{intakeId, jdbcType=BIGINT}
+ and dt = #{dt, jdbcType=DATE}
+ </update>
+
+
+ <delete id="deleteSomeIntakeAmountDay">
+ delete from rm_intake_amount_day where times is null
+ </delete>
+
+ <!-- -->
+ <select id="statisticAllIntakeAmountDayFromOpenCloseValveHistory" resultType="com.dy.pipIrrGlobal.voTmp.VoRmIntakeAmountDay">
+ select intake_id as intakeId ,
+ sum(cl_this_amount) as amount,
+ sum(cl_this_money) as money,
+ count(id) as times
+ from rm_open_close_valve_history
+ where cl_dt <![CDATA[>=]]> #{startDt, jdbcType=TIMESTAMP}
+ and cl_dt <![CDATA[<=]]> #{endDt, jdbcType=TIMESTAMP}
+ group by intake_id
+ </select>
+ <select id="selectStIntakeDayStatisticsByDate" resultType="com.dy.pipIrrGlobal.pojoRm.RmIntakeAmountDay">
+ select *
+ from rm_intake_amount_day
+ where rm_intake_amount_day.intake_id = #{intakeId, jdbcType=BIGINT}
+ and dt = #{date, jdbcType=DATE}
+ </select>
+
+
<delete id="deleteAllIntakeAmountMonth">
delete from st_intake_amount_month
@@ -170,7 +203,7 @@
<insert id="saveOneIntakeLossYear" parameterType="com.dy.pipIrrGlobal.pojoSt.StLossYear">
<!--@mbg.generated-->
- insert into st_intake_amount_year (
+ insert into st_loss_year (
id,
intake_id,
year,
--
Gitblit v1.8.0