Commit 5b69c927 authored by huyuchen's avatar huyuchen

项目档案问题优化

parent 9c7ccdaa
...@@ -19,20 +19,14 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo; ...@@ -19,20 +19,14 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle; import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
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;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants; import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable; import java.io.Serializable;
import java.util.List;
import java.util.Set;
/** /**
* 员工合同 * 员工合同
...@@ -168,11 +162,11 @@ public class EmployeeContractExportAuditVO implements Serializable { ...@@ -168,11 +162,11 @@ public class EmployeeContractExportAuditVO implements Serializable {
@Schema(description = "离职日期", name = "contractEnd") @Schema(description = "离职日期", name = "contractEnd")
private String leaveDate; private String leaveDate;
/** /**
* 减少原因 * 终止原因
*/ */
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
@ExcelAttribute(name = "减少原因", maxLength = 32, isDataId = true,dataType = ExcelAttributeConstants.REDUCE_SOCIAL_REASON) @ExcelAttribute(name = "终止原因")
@Schema(description = "减少原因", name = "workingHours") @Schema(description = "终止原因")
@ExcelProperty("减少原因") @ExcelProperty("终止原因")
private String reduceReason; private String reduceReason;
} }
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