Commit b5ec0fe7 by 丁伟峰

LocalDateTime初始化

1 parent fc31b088
...@@ -52,7 +52,7 @@ public class CapacityStatQueryDTO { ...@@ -52,7 +52,7 @@ public class CapacityStatQueryDTO {
@NotBlank(message = "日期字段不能为空") @NotBlank(message = "日期字段不能为空")
@Pattern(regexp = "\\d{4}-\\d{2}-\\d{2}", message = "日期字段格式必须为 yyyy-MM-dd") @Pattern(regexp = "\\d{4}-\\d{2}-\\d{2}", message = "日期字段格式必须为 yyyy-MM-dd")
private LocalDateTime updateTime= LocalDateTime.now(); private LocalDateTime updateTime;
private String date; private String date;
private long engineerNum; private long engineerNum;
...@@ -60,5 +60,9 @@ public class CapacityStatQueryDTO { ...@@ -60,5 +60,9 @@ public class CapacityStatQueryDTO {
private String levelValue; private String levelValue;
private String layer; private String layer;
private String showName; private String showName;
public Content(){
updateTime = LocalDateTime.now();
}
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!