You've already forked FrameTour-BE
2
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user