From ebb1a448339bafc4c4849fdbc2291bd3a28261df Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 09 一月 2024 10:47:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml b/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml index a585c28..cffff5f 100644 --- a/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml +++ b/ycl-platform/src/main/resources/mapper/resources/ImageResourcesMapper.xml @@ -31,11 +31,8 @@ LEFT JOIN ums_base_case t2 ON t1.belong_to_id = t2.id LEFT JOIN ums_sccg_region t3 on t3.id=t2.community_id <where> - <if test="type == '03' and type != null and type !='' "> - t1.type='03' - </if> - <if test="type == '01' and type != null and type !='' "> - t1.type='02' or t1.type='01' + <if test="type != null and type !='' "> + t1.type = #{type} </if> <if test="startTime != '' and endTime != '' and startTime != null and endTime != null"> and t1.create_time between #{startTime} and #{endTime} -- Gitblit v1.8.0