|
@@ -30,6 +30,7 @@ import lombok.experimental.Accessors;
|
|
|
import com.github.zuihou.common.constant.DictionaryType;
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
+import static com.github.zuihou.utils.DateUtils.DEFAULT_DATE_FORMAT;
|
|
|
import static com.github.zuihou.utils.DateUtils.DEFAULT_DATE_TIME_FORMAT;
|
|
|
|
|
|
import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;
|
|
@@ -133,7 +134,9 @@ public class Order extends Entity<Long> {
|
|
|
*/
|
|
|
@ApiModelProperty(value = "下单时间")
|
|
|
@TableField("order_time")
|
|
|
- @Excel(name = "下单时间", format = DEFAULT_DATE_TIME_FORMAT, width = 20)
|
|
|
+ @Excel(name = "下单时间", format = DEFAULT_DATE_FORMAT, width = 20)
|
|
|
+ @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date orderTime;
|
|
|
|
|
|
/**
|
|
@@ -141,9 +144,9 @@ public class Order extends Entity<Long> {
|
|
|
*/
|
|
|
@ApiModelProperty(value = "交货时间")
|
|
|
@TableField("delivery_time")
|
|
|
- @Excel(name = "交货时间", format = DEFAULT_DATE_TIME_FORMAT, width = 20)
|
|
|
- @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
|
|
|
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "交货时间", format = DEFAULT_DATE_FORMAT, width = 20)
|
|
|
+ @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date deliveryTime;
|
|
|
|
|
|
/**
|