You've already forked FrameTour-BE
指定设备提前预约
This commit is contained in:
@ -36,7 +36,8 @@
|
||||
online_check = #{onlineCheck},
|
||||
online_max_interval = #{onlineMaxInterval},
|
||||
cut_pre = #{cutPre},
|
||||
cut_post = #{cutPost}
|
||||
cut_post = #{cutPost},
|
||||
enable_pre_book = #{enablePreBook}
|
||||
where id = #{id}
|
||||
</update>
|
||||
<update id="updateEntity">
|
||||
|
@ -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>
|
||||
|
@ -101,7 +101,7 @@
|
||||
from face_sample
|
||||
where id = #{id}
|
||||
</select>
|
||||
<select id="listEntity" resultType="com.ycwl.basic.model.pc.faceSample.entity.FaceSampleEntity">
|
||||
<select id="listEntityBeforeDate" resultType="com.ycwl.basic.model.pc.faceSample.entity.FaceSampleEntity">
|
||||
select *
|
||||
from face_sample
|
||||
where scenic_id = #{scenicId} and create_at <= #{endDate}
|
||||
|
@ -94,7 +94,8 @@
|
||||
disable_source_video=#{disableSourceVideo},
|
||||
disable_source_image=#{disableSourceImage},
|
||||
video_source_store_day=#{videoSourceStoreDay},
|
||||
image_source_store_day=#{imageSourceStoreDay}
|
||||
image_source_store_day=#{imageSourceStoreDay},
|
||||
force_finish_time=#{forceFinishTime}
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
Reference in New Issue
Block a user