From c555c3d20cfc020bf9cece3146ea32bcc59950f1 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期一, 12 十二月 2022 13:39:26 +0800 Subject: [PATCH] fix: 部门修改状态 --- ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml b/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml index 8ef51ba..8720205 100644 --- a/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml +++ b/ycl-platform/src/main/resources/mapper/resources/VideoResourcesMapper.xml @@ -31,8 +31,11 @@ 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 != '' and type != null"> - t1.type=#{type} + <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> <if test="startTime != '' and endTime != '' and startTime != null and endTime != null"> and t1.create_time between #{startTime} and #{endTime} -- Gitblit v1.8.0