This commit is contained in:
2025-01-17 12:16:22 +08:00
parent 937e1c1ff5
commit e70098bf29
6 changed files with 100 additions and 9 deletions

View File

@ -160,7 +160,7 @@
select s.*
from member_source ms
left join source s on ms.source_id = s.id
where ms.face_id = #{faceId} and ms.type = 1
where ms.face_id = #{faceId} and ms.member_id = #{memberId} and ms.type = 1
order by create_time desc
</select>
<select id="listVideoByScenicFaceRelation" resultType="com.ycwl.basic.model.pc.source.entity.SourceEntity">
@ -170,4 +170,10 @@
where ms.face_id = #{faceId} and ms.type = 1 and ms.scenic_id = #{scenicId}
order by create_time desc
</select>
<select id="listImageByFaceRelation" resultType="com.ycwl.basic.model.pc.source.entity.SourceEntity">
select s.*
from member_source ms
left join source s on ms.source_id = s.id
where ms.face_id = #{faceId} and ms.member_id = #{memberId} and ms.type = 2
</select>
</mapper>