添加字段
This commit is contained in:
parent
10e7421672
commit
389c28300f
@ -6,6 +6,7 @@ import com.ycwl.basic.model.pc.face.resp.FaceRespVO;
|
|||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -33,4 +34,6 @@ public interface FaceMapper {
|
|||||||
FaceRespVO findLastFaceByScenicAndUserId(Long scenicId, Long userId);
|
FaceRespVO findLastFaceByScenicAndUserId(Long scenicId, Long userId);
|
||||||
|
|
||||||
List<FaceRespVO> listByScenicAndUserId(String scenicId, Long userId);
|
List<FaceRespVO> listByScenicAndUserId(String scenicId, Long userId);
|
||||||
|
|
||||||
|
List<FaceEntity> listEntityBeforeDate(Long scenicId, Date endDate);
|
||||||
}
|
}
|
||||||
|
@ -52,6 +52,7 @@ public class ScenicConfigEntity {
|
|||||||
* 样本保存时间
|
* 样本保存时间
|
||||||
*/
|
*/
|
||||||
private Integer sampleStoreDay;
|
private Integer sampleStoreDay;
|
||||||
|
private Integer faceStoreDay;
|
||||||
/**
|
/**
|
||||||
* 视频保存时间
|
* 视频保存时间
|
||||||
*/
|
*/
|
||||||
|
@ -120,4 +120,7 @@
|
|||||||
<select id="test" resultType="com.ycwl.basic.model.pc.face.resp.FaceRespVO">
|
<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 * FROM `zt`.`face_sample` WHERE `scenic_id` = '3930324797233434624' AND `create_at` < '2025-03-07 14:40:36' AND `device_id` = '3961959104355897344'
|
||||||
</select>
|
</select>
|
||||||
|
<select id="listEntityBeforeDate" resultType="com.ycwl.basic.model.pc.face.entity.FaceEntity">
|
||||||
|
SELECT * FROM `zt`.`face` WHERE `scenic_id` = #{scenicId} AND `create_at` < #{date}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
@ -95,6 +95,7 @@
|
|||||||
book_routine=#{bookRoutine},
|
book_routine=#{bookRoutine},
|
||||||
tour_time=#{tourTime},
|
tour_time=#{tourTime},
|
||||||
sample_store_day=#{sampleStoreDay},
|
sample_store_day=#{sampleStoreDay},
|
||||||
|
face_store_day=#{faceStoreDay},
|
||||||
video_store_day=#{videoStoreDay},
|
video_store_day=#{videoStoreDay},
|
||||||
template_new_video_type=#{templateNewVideoType},
|
template_new_video_type=#{templateNewVideoType},
|
||||||
anti_screen_record_type=#{antiScreenRecordType},
|
anti_screen_record_type=#{antiScreenRecordType},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user