From 8dcdba2f833fa7dd79169a068ce8b45d380d58a0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 14 七月 2025 13:43:51 +0800
Subject: [PATCH] 修改用水户年用水量统计查询中的bug
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountYearMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountYearMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountYearMapper.xml
index 366e3c2..d27833a 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountYearMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/StClientAmountYearMapper.xml
@@ -175,9 +175,11 @@
<if test="year != null">
cayTb.`year` = #{year,jdbcType=INTEGER}
</if>
+ <!-- 2025-07-14 鐨剆electClientIds4YearStatisticssselectClientIds4YearStatistics鏌ヨ涓凡缁忕敤浜唍ame鏉′欢
<if test="name != null and name != ''">
and ctb.name like concat('%', #{clientName}, '%')
</if>
+ -->
</trim>
order by ctb.id DESC
<trim prefix="limit " >
@@ -213,9 +215,11 @@
<if test="year != null">
(cayTb.`year` = #{year,jdbcType=INTEGER} or cayTb.`year` is null)
</if>
+ <!-- 2025-07-14 鐨剆electClientIds4YearStatisticssselectClientIds4YearStatistics鏌ヨ涓凡缁忕敤浜唍ame鏉′欢
<if test="name != null and name != ''">
and ctb.name like concat('%', #{clientName}, '%')
</if>
+ -->
</trim>
order by ctb.id DESC
<!-- 2025-07-14 鍥犱负鏈塩lientIdsJson闄愬埗鐨勬暟閲忥紝鎵�浠ヤ笉鍐嶇敤limit浜�
--
Gitblit v1.8.0