删除人脸逻辑

This commit is contained in:
2025-02-24 10:31:24 +08:00
parent 6bb9b053ab
commit 84bb5727e9
8 changed files with 37 additions and 1 deletions

View File

@ -57,6 +57,10 @@
delete from member_video
where scenic_id = #{scenicId} and is_buy = 0 and create_time < #{endTime}
</delete>
<delete id="deleteNotBuyFaceRelations">
delete from member_video
where member_id = #{userId} and face_id = #{faceId} and is_buy = 0
</delete>
<select id="list" resultType="com.ycwl.basic.model.pc.video.resp.VideoRespVO">
select v.id, v.scenic_id, template_id, task_id, worker_id, video_url, v.create_time, v.update_time,
s.name scenicName, s.latitude, s.longitude, t.name templateName, t.price templatePrice,t.cover_url templateCoverUrl