From aa59ddfc2c48dd540fe769e95c2429623f3851c8 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 31 十月 2024 10:54:39 +0800 Subject: [PATCH] 重构日漏损量查询,增加果询条件和排序方法,及增加显示内容 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml index 9616580..d950234 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmOnHourReportHistoryMapper.xml @@ -205,8 +205,8 @@ <if test="intakeId != null and intakeId >0"> AND oh.intake_id = #{intakeId} </if> - <if test = "intakeName != null and intakeName !=''"> - AND inta.name LIKE CONCAT('%',#{intakeName},'%') + <if test = "intakeName != null and intakeNum !=''"> + AND inta.name LIKE CONCAT('%',#{intakeNum},'%') </if> <if test = "rtuAddr != null and rtuAddr !=''"> AND oh.rtu_addr LIKE CONCAT('%',#{rtuAddr},'%') -- Gitblit v1.8.0