Changes
This commit is contained in:
+4
-5
@@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
@@ -61,8 +60,8 @@ public class AssetInventory {
|
||||
|
||||
/** 提交时间 */
|
||||
@Schema(description = "提交时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate submitTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime submitTime;
|
||||
|
||||
/** 审核人 */
|
||||
@Schema(description = "审核人")
|
||||
@@ -70,8 +69,8 @@ public class AssetInventory {
|
||||
|
||||
/** 审核时间 */
|
||||
@Schema(description = "审核时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate checkTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime checkTime;
|
||||
|
||||
/** 审核意见 */
|
||||
@Schema(description = "审核意见")
|
||||
|
||||
+8
-8
@@ -113,8 +113,8 @@ public class Defect {
|
||||
|
||||
/** 病害提交时间 */
|
||||
@Schema(description = "病害提交时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate submitTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime submitTime;
|
||||
|
||||
/** 病害审核人(管理员) */
|
||||
@Schema(description = "病害审核人(管理员)")
|
||||
@@ -122,8 +122,8 @@ public class Defect {
|
||||
|
||||
/** 病害审核时间 */
|
||||
@Schema(description = "病害审核时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate checkTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime checkTime;
|
||||
|
||||
/** 病害审核意见 */
|
||||
@Schema(description = "病害审核意见")
|
||||
@@ -135,8 +135,8 @@ public class Defect {
|
||||
|
||||
/** 处置结果提交时间 */
|
||||
@Schema(description = "处置结果提交时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate maintenanceSubmitTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime maintenanceSubmitTime;
|
||||
|
||||
/** 处置结果审核人(管理员) */
|
||||
@Schema(description = "处置结果审核人(管理员)")
|
||||
@@ -144,8 +144,8 @@ public class Defect {
|
||||
|
||||
/** 处置结果审核时间 */
|
||||
@Schema(description = "处置结果审核时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate maintenanceCheckTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime maintenanceCheckTime;
|
||||
|
||||
/** 处置结果审核意见 */
|
||||
@Schema(description = "处置结果审核意见")
|
||||
|
||||
+4
-5
@@ -7,7 +7,6 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
@@ -45,13 +44,13 @@ public class InspectionRecord {
|
||||
|
||||
/** 巡查开始时间 */
|
||||
@Schema(description = "巡查开始时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate inspectionStartTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
private LocalDateTime inspectionStartTime;
|
||||
|
||||
/** 巡查结束时间 */
|
||||
@Schema(description = "巡查结束时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate inspectionEndTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
private LocalDateTime inspectionEndTime;
|
||||
|
||||
/** 巡查轨迹 */
|
||||
@Schema(description = "巡查轨迹")
|
||||
|
||||
Reference in New Issue
Block a user