You've already forked FrameTour-BE
不要删除已经购买了的人脸
This commit is contained in:
@@ -123,7 +123,12 @@
|
||||
<select id="test" resultType="com.ycwl.basic.model.pc.face.resp.FaceRespVO">
|
||||
SELECT * FROM `zt`.`face_sample` WHERE `scenic_id` = '3930324797233434624' AND `create_at` < '2025-03-07 14:40:36' AND `device_id` = '3961959104355897344'
|
||||
</select>
|
||||
<select id="listEntityBeforeDate" resultType="com.ycwl.basic.model.pc.face.entity.FaceEntity">
|
||||
SELECT * FROM `zt`.`face` WHERE `scenic_id` = #{scenicId} AND `create_at` < #{endDate}
|
||||
<select id="listUnpaidEntityBeforeDate" resultType="com.ycwl.basic.model.pc.face.entity.FaceEntity">
|
||||
SELECT *
|
||||
FROM `zt`.`face`
|
||||
WHERE `scenic_id` = #{scenicId}
|
||||
AND `create_at` < #{endDate}
|
||||
and `id` not in (select face_id from member_source where is_buy = 1)
|
||||
and `id` not in (select face_id from member_video where is_buy = 1)
|
||||
</select>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user