From 0431c6943c1a61df0e9e4feb61f3333dd3622d21 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 28 五月 2025 15:16:48 +0800
Subject: [PATCH] 1、表阀一体:查询日记录数据中金额数据小数位是4位,相应除以10000.00; 2、表阀一体:所以命令结果VO实现指定接口,以数据库中保存命令日志。

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

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StLossMonthMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StLossMonthMapper.xml
index 0b2da89..d11c76f 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StLossMonthMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StLossMonthMapper.xml
@@ -118,7 +118,8 @@
 
 
   <select id="statisticsByIntake" resultType="com.dy.pipIrrGlobal.voSt.VoIntakeLossStatistics">
-    select intake_id, sum(amount) as amount
+    select intake_id as intakeId,
+    sum(amount) as amount
     from st_loss_month
     where `year` = #{year,jdbcType=INTEGER}
     group by intake_id

--
Gitblit v1.8.0