Commit 72e032f0 authored by huyuchen's avatar huyuchen

派单审核导出问题修改

parent aea2a4a0
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
package com.yifu.cloud.plus.v1.yifu.social.vo; package com.yifu.cloud.plus.v1.yifu.social.vo;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.HeadFontStyle; import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute; import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
...@@ -84,6 +85,7 @@ public class TDispatchAuditExportVo { ...@@ -84,6 +85,7 @@ public class TDispatchAuditExportVo {
/** /**
* 合同起始时间 * 合同起始时间
*/ */
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "合同起始时间", isDate = true) @ExcelAttribute(name = "合同起始时间", isDate = true)
@Schema(description = "合同起始时间" ) @Schema(description = "合同起始时间" )
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
...@@ -101,6 +103,7 @@ public class TDispatchAuditExportVo { ...@@ -101,6 +103,7 @@ public class TDispatchAuditExportVo {
/** /**
* 合同到期时间 * 合同到期时间
*/ */
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "合同到期时间", isDate = true) @ExcelAttribute(name = "合同到期时间", isDate = true)
@Schema(description = "合同到期时间" ) @Schema(description = "合同到期时间" )
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
...@@ -157,6 +160,7 @@ public class TDispatchAuditExportVo { ...@@ -157,6 +160,7 @@ public class TDispatchAuditExportVo {
/** /**
* 离职日期 * 离职日期
*/ */
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "离职日期", isDate = true) @ExcelAttribute(name = "离职日期", isDate = true)
@Schema(description = "离职日期" ) @Schema(description = "离职日期" )
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
...@@ -173,6 +177,7 @@ public class TDispatchAuditExportVo { ...@@ -173,6 +177,7 @@ public class TDispatchAuditExportVo {
/** /**
* 社保起缴日期 * 社保起缴日期
*/ */
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "社保起缴日期", isDate = true) @ExcelAttribute(name = "社保起缴日期", isDate = true)
@Schema(description = "社保起缴日期" ) @Schema(description = "社保起缴日期" )
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
...@@ -181,6 +186,7 @@ public class TDispatchAuditExportVo { ...@@ -181,6 +186,7 @@ public class TDispatchAuditExportVo {
/** /**
* 公积金起缴日期 * 公积金起缴日期
*/ */
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "公积金起缴日期", isDate = true) @ExcelAttribute(name = "公积金起缴日期", isDate = true)
@Schema(description = "公积金起缴日期" ) @Schema(description = "公积金起缴日期" )
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
...@@ -189,6 +195,7 @@ public class TDispatchAuditExportVo { ...@@ -189,6 +195,7 @@ public class TDispatchAuditExportVo {
/** /**
* 社保停缴日期 * 社保停缴日期
*/ */
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "社保停缴日期", isDate = true) @ExcelAttribute(name = "社保停缴日期", isDate = true)
@Schema(description = "社保停缴日期" ) @Schema(description = "社保停缴日期" )
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
...@@ -198,6 +205,7 @@ public class TDispatchAuditExportVo { ...@@ -198,6 +205,7 @@ public class TDispatchAuditExportVo {
/** /**
* 公积金停缴日期 * 公积金停缴日期
*/ */
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "公积金停缴日期", isDate = true) @ExcelAttribute(name = "公积金停缴日期", isDate = true)
@Schema(description = "公积金停缴日期" ) @Schema(description = "公积金停缴日期" )
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment