You've already forked FrameTour-BE
指定设备提前预约
This commit is contained in:
@ -70,7 +70,7 @@
|
||||
from face
|
||||
where id = #{id}
|
||||
</select>
|
||||
<select id="getByMemberId" resultType="com.ycwl.basic.model.pc.face.resp.FaceRespVO">
|
||||
<select id="getLatestByMemberId" resultType="com.ycwl.basic.model.pc.face.resp.FaceRespVO">
|
||||
select id, scenic_id, member_id, face_url,score, match_sample_ids, first_match_rate, match_result, create_at, update_at
|
||||
from face
|
||||
where member_id = #{userId} and scenic_id = #{scenicId}
|
||||
@ -100,4 +100,11 @@
|
||||
where member_id = #{userId} and scenic_id = #{scenicId}
|
||||
order by update_at desc
|
||||
</select>
|
||||
<select id="findLastFaceByScenicAndUserId" resultType="com.ycwl.basic.model.pc.face.resp.FaceRespVO">
|
||||
select id, scenic_id, member_id, face_url,score, match_sample_ids, first_match_rate, match_result, create_at, update_at
|
||||
from face
|
||||
where member_id = #{userId} and scenic_id = #{scenicId}
|
||||
order by update_at desc
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user