From 9d0d134447c84abcf34ddfda1f31099af7037c18 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 24 四月 2025 10:46:56 +0800
Subject: [PATCH] 录像可用率判断方式,海康的接口调整

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TContract.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TContract.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TContract.java
index 60b01ab..eb47cd8 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TContract.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TContract.java
@@ -63,14 +63,14 @@
     /**
      * 寮�濮嬫椂闂�
      */
-    @JsonFormat(pattern = "yyyy-MM-dd hh-mm-ss")
+    @JsonFormat(pattern = "yyyy-MM-dd")
     @NotNull
     private Date startTime;
 
     /**
      * 缁撴潫鏃堕棿
      */
-    @JsonFormat(pattern = "yyyy-MM-dd hh-mm-ss")
+    @JsonFormat(pattern = "yyyy-MM-dd")
     @NotNull
     private Date endTime;
 
@@ -84,13 +84,11 @@
     private Date updateTime;
 
     @TableLogic
-    private String deleted;
+    private Integer deleted;
 
     @TableField(exist = false)
-    @NotBlank
     private String ruleList;
     @TableField(exist = false)
-    @NotNull
     private MultipartFile file;
 
 }

--
Gitblit v1.8.0