预警显示的数据在系统日期之后
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.adc.da.scheduled.entity;
|
||||
|
||||
import com.adc.da.base.entity.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@@ -8,11 +9,19 @@ import java.time.LocalDate;
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class DataDTO {
|
||||
/**
|
||||
* 预警的期限为系统日期的次日至3个月后
|
||||
*/
|
||||
|
||||
|
||||
private LocalDate startDate;
|
||||
|
||||
private LocalDate endDate;
|
||||
|
||||
private String str;
|
||||
// private String str;
|
||||
|
||||
public DataDTO() {
|
||||
this.startDate =LocalDate.now().plusDays(1); //系统日期的下一天
|
||||
this.endDate = LocalDate.now().plusMonths(3).plusDays(1);//系统日期3个月后
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user