You've already forked FrameTour-BE
不要删除人脸样本还有的素材
This commit is contained in:
@ -60,7 +60,7 @@
|
|||||||
where member_id = #{userId} and face_id = #{faceId} and is_buy = 0
|
where member_id = #{userId} and face_id = #{faceId} and is_buy = 0
|
||||||
</delete>
|
</delete>
|
||||||
<delete id="deleteUselessSource">
|
<delete id="deleteUselessSource">
|
||||||
delete from source where id not in (select source_id from member_source where source_id is not null)
|
delete from source where id not in (select source_id from member_source) and face_sample_id not in (select id from face_sample)
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<select id="list" resultType="com.ycwl.basic.model.pc.source.resp.SourceRespVO">
|
<select id="list" resultType="com.ycwl.basic.model.pc.source.resp.SourceRespVO">
|
||||||
|
Reference in New Issue
Block a user