From b042d6a5ae1959ad79b489e1d0b01c057b68d5f6 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 19 六月 2025 10:45:44 +0800 Subject: [PATCH] 水肥机、墒情站、气象站增、改、查、删功能实现 --- 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