|
@@ -11,10 +11,11 @@
|
|
|
* 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
|
|
|
*/
|
|
|
package vip.xiaonuo.biz.modular.qyrecord.entity;
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.alibaba.excel.annotation.format.DateTimeFormat;
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
|
-import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
@@ -103,7 +104,7 @@ public class QyRecord {
|
|
|
@Schema(description = "成立日期")
|
|
|
@ColumnWidth(12)
|
|
|
@ExcelProperty(index = 11,value = "成立日期")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat("yyyy-MM-dd")
|
|
|
private Date companyRegisterDate;
|
|
|
|
|
|
/** 企业地址 */
|
|
@@ -226,9 +227,9 @@ public class QyRecord {
|
|
|
|
|
|
/** 删除状态 */
|
|
|
@Schema(description = "删除状态")
|
|
|
-// @ColumnWidth(12)
|
|
|
-// @ExcelProperty(index = 31,value = "删除状态")
|
|
|
+ @ColumnWidth(12)
|
|
|
@TableLogic
|
|
|
@TableField(fill = FieldFill.INSERT)
|
|
|
+ @ExcelIgnore
|
|
|
private String deleteFlag;
|
|
|
}
|