From c62a452ed30215788378317c613042de3b976892 Mon Sep 17 00:00:00 2001 From: 张磊磊 <201175954@qq.com> Date: 星期五, 03 十一月 2023 16:13:37 +0800 Subject: [PATCH] 新增参数aI对接实体类 --- hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml | 10 ++++++++-- 1 files changed, 8 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..46ff19f 100644 --- a/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml +++ b/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml @@ -192,8 +192,14 @@ <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"> + out_mod_time like CONCAT(#{yearMonth},'%') AND + </if> + </trim> + </where> order by tpi.check_time desc ) a <if test="groupId != null and groupId !=''"> -- Gitblit v1.9.3