对实施日期进行预警.更新对条款的预警,加入使用车型和责任工程师
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
package com.adc.da.scheduled.entity;
|
||||
|
||||
import com.alibaba.druid.sql.visitor.functions.Char;
|
||||
import com.sun.org.apache.bcel.internal.generic.NEW;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.apache.poi.ss.formula.functions.T;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.time.LocalDate;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@@ -30,4 +36,19 @@ public class DataDTO {
|
||||
this.endDate=endDate;
|
||||
}
|
||||
|
||||
//
|
||||
// public boolean isTerm(T date){
|
||||
//
|
||||
// if (date.getClass().equals(Date.class)){
|
||||
//
|
||||
// }
|
||||
//
|
||||
//
|
||||
// SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");//线程不安全
|
||||
//
|
||||
// DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
||||
// String dataStr= dtf.format(LocalDate.now());
|
||||
// LocalDate localDateTime = LocalDate.parse(dataStr, dtf);
|
||||
// return
|
||||
// }
|
||||
}
|
||||
|
||||
@@ -22,6 +22,9 @@ public class WarningEO extends EarlyWarningEO {
|
||||
@DateTimeFormat(pattern = "YYYY-MM-dd")
|
||||
private Date ZCCSSRQ;
|
||||
|
||||
@DateTimeFormat(pattern = "YYYY-MM-dd")
|
||||
private Date SSRQ;
|
||||
|
||||
private String standNum;
|
||||
|
||||
private String standSort;
|
||||
|
||||
Reference in New Issue
Block a user