From bd74616204baf4e3f8bb124f142a07be8e5e9f13 Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期五, 03 十一月 2023 13:51:01 +0800 Subject: [PATCH] 20231103_qiuyh_发运计划 --- hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml | 7 +++++-- 1 files changed, 5 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..46ff19f 100644 --- a/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml +++ b/hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml @@ -195,8 +195,11 @@ <if test="segmentId!=null"> tpi.segment_id = #{segmentId} AND </if> - </trim> - </where> + <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