From 9c331d555ce7e82b4226556770a81c444442bb37 Mon Sep 17 00:00:00 2001
From: unknown <280848880@qq.com>
Date: 星期二, 14 十一月 2023 08:58:08 +0800
Subject: [PATCH] web苏州:1.3级导航样式修改 2.区域巡检提测 3.消耗统计提测

---
 hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml b/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml
index 19cf46a..927af88 100644
--- a/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml
+++ b/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml
@@ -192,8 +192,17 @@
                  <if test="num!=null">
                      tpi.pipe_num = #{num} AND
                  </if>
-            </trim>
-        </where>
+                 <if test="segmentId!=null">
+                     tpi.segment_id = #{segmentId} AND
+                 </if>
+                 <if test="yearMonth!=null">
+                     tpi.out_mod_time like CONCAT(#{yearMonth},'%') AND
+                 </if>
+                 <if test="goIn!=null">
+                     tpi.go_in = 2 AND
+                 </if>
+             </trim>
+         </where>
          order by tpi.check_time desc
          ) a
          <if test="groupId != null and groupId !=''">

--
Gitblit v1.9.3