From 908ac70b81dcf59b575838df5d4e27927a99ddc7 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期五, 26 七月 2024 09:08:59 +0800 Subject: [PATCH] 8个接口增加可以通过取水口ID或农户ID查询 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmIntakeAmountDayMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmIntakeAmountDayMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmIntakeAmountDayMapper.xml index 72263b5..4def2f1 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmIntakeAmountDayMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmIntakeAmountDayMapper.xml @@ -165,7 +165,7 @@ and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') </if> <if test="intakeId != null"> - and rash.intake_id = #{intakeId} + and riad.intake_id = #{intakeId} </if> <if test="startDt != null"> and riad.dt >= #{startDt,jdbcType=DATE} @@ -194,7 +194,7 @@ and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') </if> <if test="intakeId != null"> - and rash.intake_id = #{intakeId} + and riad.intake_id = #{intakeId} </if> <if test="startDt != null"> and riad.dt >= #{startDt,jdbcType=DATE} -- Gitblit v1.8.0