预警区间
This commit is contained in:
+3
-3
@@ -16,7 +16,7 @@ import java.util.Date;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class DataDTO {
|
||||
public class TermDTO {
|
||||
/**
|
||||
* 预警的期限为系统日期的次日至3个月后
|
||||
*/
|
||||
@@ -28,14 +28,14 @@ public class DataDTO {
|
||||
|
||||
// private String str;
|
||||
|
||||
public DataDTO() {
|
||||
public TermDTO() {
|
||||
LocalDate starDate = LocalDate.now();//系统当前日期
|
||||
LocalDate endDate = LocalDate.now().plusMonths(3);//系统当前日期3个月后
|
||||
|
||||
convertToStr(starDate,endDate);
|
||||
}
|
||||
|
||||
public DataDTO(LocalDate startDate,LocalDate endDate){
|
||||
public TermDTO(LocalDate startDate, LocalDate endDate){
|
||||
convertToStr(startDate,endDate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user