From 942fd08345fe0f3b04b4a0e919516257213ad2e5 Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期一, 20 十一月 2023 15:59:51 +0800 Subject: [PATCH] 20231120_qiuyh_区域巡检打卡、防患举报、物料web端 --- 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 e2ad715..927af88 100644 --- a/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml +++ b/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml @@ -195,8 +195,14 @@ <if test="segmentId!=null"> tpi.segment_id = #{segmentId} AND </if> - </trim> - </where> + <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