From aec4636e4fb430055feb66751da0e6c05bb864df Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 30 四月 2025 16:25:30 +0800 Subject: [PATCH] fix(irrigatePlan): 修复终止灌溉计划时长设置错误- 将终止计划的默认时长从 9999 修改为 0 - 此修改确保在终止灌溉计划时,不会出现时长设置过长的问题 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml index c4b2f4f..1d8abba 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml @@ -774,8 +774,8 @@ FROM pr_intake tb <where> tb.deleted = 0 - <if test="intakeName != null and intakeName != ''"> - AND tb.name LIKE CONCAT('%', #{intakeName}) + <if test="intakeNum != null and intakeNum != ''"> + AND tb.name LIKE CONCAT('%', #{intakeNum}) </if> </where> </select> @@ -790,8 +790,8 @@ INNER JOIN pr_controller con ON con.intakeId = inta.id <where> inta.deleted = 0 - <if test="intakeName != null and intakeName != ''"> - AND inta.name LIKE CONCAT('%', #{intakeName}) + <if test="intakeNum != null and intakeNum != ''"> + AND inta.name LIKE CONCAT('%', #{intakeNum}) </if> </where> ORDER BY inta.id DESC -- Gitblit v1.8.0