From 6c920885a9bc407f2f05e204ae9769631c4c80e7 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 22 Dec 2021 15:02:56 +0800 Subject: [PATCH] 20211216 --- src/main/resources/mapper/video/VideoMasterDataMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/video/VideoMasterDataMapper.xml b/src/main/resources/mapper/video/VideoMasterDataMapper.xml index 8b5aaba..99f7870 100644 --- a/src/main/resources/mapper/video/VideoMasterDataMapper.xml +++ b/src/main/resources/mapper/video/VideoMasterDataMapper.xml @@ -6,4 +6,9 @@ select * from video_master_data where master_id=#{masterId} </select> + + <select id="selectDataByMasterIdForUpdate" resultType="cc.mrbird.febs.video.entity.VideoMasterDataEntity"> + select * from video_master_data + where master_id=#{masterId} for update + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1