|
@@ -1,5 +1,6 @@
|
|
|
package com.iotechn.unimall.data.domain;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
import com.iotechn.unimall.core.framework.aspectj.lang.annotaion.Excel;
|
|
@@ -10,6 +11,8 @@ import lombok.Data;
|
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
|
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
|
|
import com.iotechn.unimall.core.util.StringUtils;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
+
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
@@ -90,6 +93,8 @@ public class SalesSlip extends SuperDO{
|
|
|
/** */
|
|
|
@Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
@TableField("gmt_create")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date gmtCreate;
|
|
|
|
|
|
/** */
|