From 9d0512aa6a192ee105ff9251e68a4360c7355319 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 10 六月 2025 18:34:53 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- 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