From 584e056e2d51ddd5757c78efcfcc2c6931928e2f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 17 Dec 2021 10:46:57 +0800
Subject: [PATCH] 20211216
---
src/main/resources/mapper/video/VideoMasterSourceMapper.xml | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/video/VideoMasterSourceMapper.xml b/src/main/resources/mapper/video/VideoMasterSourceMapper.xml
index 7b04b5d..2bf5bac 100644
--- a/src/main/resources/mapper/video/VideoMasterSourceMapper.xml
+++ b/src/main/resources/mapper/video/VideoMasterSourceMapper.xml
@@ -5,10 +5,20 @@
<select id="selectInPage" resultType="cc.mrbird.febs.video.entity.VideoMasterSourceEntity">
select * from video_master_source
<where>
- 1=1
+ 1=1 and is_del=2
<if test="record.name != null and record.name != ''">
and name like concat('%', #{record.name}, '%')
</if>
</where>
</select>
+
+
+ <update id="updateDelFlag">
+ update video_master_source
+ set is_del=#{delFlag}
+ where id in
+ <foreach collection="list" item="item" index="index" separator="," close=")" open="(">
+ #{item}
+ </foreach>
+ </update>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1