You've already forked FrameTour-BE
refactor(entity): 修改人脸检测日志实体字段名称
- 将 faceSampleId 字段重命名为 faceId - 更新相关服务实现类中的字段赋值逻辑 - 保持数据库字段映射一致性
This commit is contained in:
@@ -17,7 +17,7 @@ public class FaceDetectLogAiCamEntity {
|
||||
|
||||
private Long deviceId;
|
||||
|
||||
private Long faceSampleId;
|
||||
private Long faceId;
|
||||
|
||||
private String dbName;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public class FaceDetectLogAiCamServiceImpl implements FaceDetectLogAiCamService
|
||||
FaceDetectLogAiCamEntity logEntity = new FaceDetectLogAiCamEntity();
|
||||
logEntity.setScenicId(scenicId);
|
||||
logEntity.setDeviceId(deviceId);
|
||||
logEntity.setFaceSampleId(faceSampleId);
|
||||
logEntity.setFaceId(faceSampleId);
|
||||
logEntity.setDbName(dbName);
|
||||
logEntity.setFaceUrl(faceUrl);
|
||||
logEntity.setCreateTime(new Date());
|
||||
|
||||
Reference in New Issue
Block a user