修复bug

dev_xq_0.0.1
刘政 2 weeks ago
parent 8fcae28c5e
commit da8f4f3307

@ -1,7 +1,7 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:13306/sz_admin_preview?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://127.0.0.1:3306/sz_admin_preview?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: 123456
hikari:

@ -35,12 +35,4 @@ public class UserModelContentDTO {
*
*/
private String modelContentId;
/**
*
*/
private Date addTime;
/**
*
*/
private Date updateTime;
}

@ -71,12 +71,7 @@ public class AlgorithmTask implements Serializable {
@Column(typeHandler = JacksonTypeHandler.class)
private JsonNode userData;
/**
* 0-1-
*/
@Column(isLogicDelete = true)
@Schema(description = "是否删除")
private String isDeleted;
/**
*

@ -79,12 +79,7 @@ public class Camera implements Serializable {
@Schema(description = "在线状态1-在线, 0-离线")
private Integer status;
/**
* 0-1-
*/
@Column(isLogicDelete = true)
@Schema(description = "是否删除")
private String isDeleted;
@Schema(description = "创建时间")
private LocalDateTime createTime;

@ -45,12 +45,6 @@ public class CameraSnapshot implements Serializable {
@Schema(description = "0-正常, 1-移位")
private Integer isAbnormal;
/**
* 0-1-
*/
@Column(isLogicDelete = true)
@Schema(description = "是否删除")
private String isDeleted;
@Schema(description = "抓拍时间")
private LocalDateTime createTime;

@ -44,12 +44,7 @@ public class Preset {
@Schema(description = "上报的url")
private String presetUrl;
/**
* 0-1-
*/
@Column(isLogicDelete = true)
@Schema(description = "是否删除")
private String isDeleted;
@Schema(description = "创建时间")
private LocalDateTime createdTime;

@ -45,16 +45,6 @@ public class UserModelContentDO implements Serializable {
*/
@Schema(description = "模型内容")
private String modelContentId;
/**
*
*/
@Schema(description = "添加时间")
private Date addTime;
/**
*
*/
@Schema(description = "修改时间")
private Date updateTime;
public static final String ID="id";
public static final String USER_ID="user_id";

@ -194,7 +194,7 @@ public class IpChannelServiceImpl extends ServiceImpl<CameraMapper, Camera> impl
if (hcPlayControlEnum == null) {
throw new BusinessException(AdminResponseEnum.DEVICE_PTZ_CONTROL_FAIL, null, "PTZ控制失败");
}
return manageNVR.ptzCon(id.intValue(), hcPlayControlEnum.getCode().toString(), String.valueOf(speed), String.valueOf(startFlag));
return manageNVR. ptzCon(id.intValue(), hcPlayControlEnum.getCode().toString(), String.valueOf(speed), String.valueOf(startFlag));
}
@Override
@ -336,7 +336,6 @@ public class IpChannelServiceImpl extends ServiceImpl<CameraMapper, Camera> impl
algorithmTaskDTO.setUserData(userDataDto);
// DTO转PO
AlgorithmTask algorithmTask = BeanCopyUtils.copy(algorithmTaskDTO, AlgorithmTask.class);
algorithmTask.setIsDeleted("F");
algorithmTask.setCreateTime(createTime);
ObjectMapper mapper = new ObjectMapper();
try {

Loading…
Cancel
Save