|
|
@@ -1,8 +1,10 @@
|
|
1
|
1
|
package com.sundot.airport.common.domain.portrait;
|
|
2
|
2
|
|
|
|
3
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
3
|
4
|
import com.sundot.airport.common.enums.portrait.UserType;
|
|
4
|
5
|
import io.swagger.annotations.ApiModelProperty;
|
|
5
|
6
|
import lombok.Data;
|
|
|
7
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
6
|
8
|
|
|
7
|
9
|
import java.util.Date;
|
|
8
|
10
|
import java.util.List;
|
|
|
@@ -35,12 +37,16 @@ public class IndicatorCalculateParams {
|
|
35
|
37
|
* 计算开始时间
|
|
36
|
38
|
*/
|
|
37
|
39
|
@ApiModelProperty(value = "计算开始时间")
|
|
|
40
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
41
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
38
|
42
|
private Date startTime;
|
|
39
|
43
|
|
|
40
|
44
|
/**
|
|
41
|
45
|
* 计算结束时间
|
|
42
|
46
|
*/
|
|
43
|
47
|
@ApiModelProperty(value = "计算结束时间")
|
|
|
48
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
49
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
44
|
50
|
private Date endTime;
|
|
45
|
51
|
|
|
46
|
52
|
/**
|