Commit d6c8e9aa authored by fangxinjiang's avatar fangxinjiang

合同续签-fxj

parent ae367b0e
...@@ -31,6 +31,7 @@ import org.hibernate.validator.constraints.Length; ...@@ -31,6 +31,7 @@ import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import java.util.List;
/** /**
* 合同续签预派单信息 * 合同续签预派单信息
...@@ -39,670 +40,674 @@ import java.util.Date; ...@@ -39,670 +40,674 @@ import java.util.Date;
* @date 2026-02-05 15:45:40 * @date 2026-02-05 15:45:40
*/ */
@Data @Data
public class TEmployeeContractPreNewVo extends RowIndex implements Serializable { public class TEmployeeContractPreNewVo implements Serializable {
/** /**
* id * id
*/ */
@TableId(type = IdType.ASSIGN_ID) @TableId(type = IdType.ASSIGN_ID)
@NotBlank(message = "id 不能为空")
@Length(max = 32, message = "id 不能超过32 个字符")
@ExcelAttribute(name = "id", isNotEmpty = true, errorInfo = "id 不能为空", maxLength = 32)
@Schema(description = "id")
@ExcelProperty("id") @ExcelProperty("id")
@Schema(description = "id")
private String id; private String id;
/** /**
* 项目名称 * 项目名称
*/ */
@Length(max = 50, message = "项目名称 不能超过50 个字符")
@ExcelAttribute(name = "项目名称", maxLength = 50) @ExcelAttribute(name = "项目名称", maxLength = 50)
@Schema(description = "项目名称") @Length(max = 50, message = "项目名称不能超过50个字符")
@ExcelProperty("项目名称") @ExcelProperty("项目名称")
@Schema(description = "项目名称")
private String deptName; private String deptName;
/** /**
* 项目编码 * 项目编码
*/ */
@NotBlank(message = "项目编码 不能为空") @ExcelAttribute(name = "项目编码", isNotEmpty = true, errorInfo = "项目编码不能为空", maxLength = 30)
@Length(max = 30, message = "项目编码 不能超过30 个字符") @NotBlank(message = "项目编码不能为空")
@ExcelAttribute(name = "项目编码", isNotEmpty = true, errorInfo = "项目编码 不能为空", maxLength = 30) @Length(max = 30, message = "项目编码不能超过30个字符")
@Schema(description = "项目编码")
@ExcelProperty("项目编码") @ExcelProperty("项目编码")
@Schema(description = "项目编码")
private String deptNo; private String deptNo;
/** /**
* 项目id * 项目id
*/ */
@Length(max = 36, message = "项目id 不能超过36 个字符")
@ExcelAttribute(name = "项目id", maxLength = 36) @ExcelAttribute(name = "项目id", maxLength = 36)
@Schema(description = "项目id") @Length(max = 36, message = "项目id不能超过36个字符")
@ExcelProperty("项目id") @ExcelProperty("项目id")
@Schema(description = "项目id")
private String deptId; private String deptId;
/** /**
* 员工姓名 * 员工姓名
*/ */
@Length(max = 30, message = "员工姓名 不能超过30 个字符")
@ExcelAttribute(name = "员工姓名", maxLength = 30) @ExcelAttribute(name = "员工姓名", maxLength = 30)
@Schema(description = "员工姓名") @Length(max = 30, message = "员工姓名不能超过30个字符")
@ExcelProperty("员工姓名") @ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String employeeName; private String employeeName;
/** /**
* 身份证号 * 身份证号
*/ */
@NotBlank(message = "身份证号 不能为空") @ExcelAttribute(name = "身份证号", isNotEmpty = true, errorInfo = "身份证号不能为空", maxLength = 18)
@Length(max = 18, message = "身份证号 不能超过18 个字符") @NotBlank(message = "身份证号不能为空")
@ExcelAttribute(name = "身份证号", isNotEmpty = true, errorInfo = "身份证号 不能为空", maxLength = 18) @Length(max = 18, message = "身份证号不能超过18个字符")
@Schema(description = "身份证号")
@ExcelProperty("身份证号") @ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard; private String empIdcard;
/** /**
* 手机号码 * 手机号码
*/ */
@Length(max = 11, message = "手机号码 不能超过11 个字符")
@ExcelAttribute(name = "手机号码", maxLength = 11) @ExcelAttribute(name = "手机号码", maxLength = 11)
@Schema(description = "手机号码") @Length(max = 11, message = "手机号码不能超过11个字符")
@ExcelProperty("手机号码") @ExcelProperty("手机号码")
@Schema(description = "手机号码")
private String empPhone; private String empPhone;
/** /**
* 员工类型 * 员工类型
*/ */
@Length(max = 30, message = "员工类型 不能超过30 个字符")
@ExcelAttribute(name = "员工类型", maxLength = 30) @ExcelAttribute(name = "员工类型", maxLength = 30)
@Schema(description = "员工类型") @Length(max = 30, message = "员工类型不能超过30个字符")
@ExcelProperty("员工类型") @ExcelProperty("员工类型")
@Schema(description = "员工类型")
private String employeeNature; private String employeeNature;
/** /**
* 就职岗位 * 就职岗位
*/ */
@Length(max = 50, message = "就职岗位 不能超过50 个字符")
@ExcelAttribute(name = "就职岗位", maxLength = 50) @ExcelAttribute(name = "就职岗位", maxLength = 50)
@Schema(description = "就职岗位") @Length(max = 50, message = "就职岗位不能超过50个字符")
@ExcelProperty("就职岗位") @ExcelProperty("就职岗位")
@Schema(description = "就职岗位")
private String position; private String position;
/** /**
* 入职日期 * 入职日期
*/ */
@ExcelAttribute(name = "入职日期", isDate = true) @ExcelAttribute(name = "入职日期", isDate = true)
@Schema(description = "入职日期")
@ExcelProperty("入职日期") @ExcelProperty("入职日期")
@Schema(description = "入职日期")
private Date joinLeaveDate; private Date joinLeaveDate;
/** /**
* 前端客服 * 前端客服
*/ */
@Length(max = 30, message = "前端客服 不能超过30 个字符")
@ExcelAttribute(name = "前端客服", maxLength = 30) @ExcelAttribute(name = "前端客服", maxLength = 30)
@Schema(description = "前端客服") @Length(max = 30, message = "前端客服不能超过30个字符")
@ExcelProperty("前端客服") @ExcelProperty("前端客服")
@Schema(description = "前端客服")
private String customerUsername; private String customerUsername;
/** /**
* 前端客服登录名 * 前端客服登录名
*/ */
@Length(max = 30, message = "前端客服登录名 不能超过30 个字符")
@ExcelAttribute(name = "前端客服登录名", maxLength = 30) @ExcelAttribute(name = "前端客服登录名", maxLength = 30)
@Schema(description = "前端客服登录名") @Length(max = 30, message = "前端客服登录名不能超过30个字符")
@ExcelProperty("前端客服登录名") @ExcelProperty("前端客服登录名")
@Schema(description = "前端客服登录名")
private String customerUserLoginname; private String customerUserLoginname;
/** /**
* 签署方式1线下签0电子签 * 签署方式1线下签0电子签
*/ */
@Length(max = 1, message = "签署方式1线下签0电子签 不能超过1 个字符") @ExcelAttribute(name = "签署方式", maxLength = 1)
@ExcelAttribute(name = "签署方式1线下签0电子签", maxLength = 1) @Length(max = 1, message = "签署方式不能超过1个字符")
@ExcelProperty("签署方式")
@Schema(description = "签署方式1线下签0电子签") @Schema(description = "签署方式1线下签0电子签")
@ExcelProperty("签署方式1线下签0电子签")
private String signType; private String signType;
/** /**
* 合同签订内容:0自定义、上一份合同 * 合同签订内容:0自定义、上一份合同
*/ */
@Length(max = 100, message = "合同签订内容:0自定义、上一份合同 不能超过100 个字符") @ExcelAttribute(name = "合同签订内容", maxLength = 100)
@ExcelAttribute(name = "合同签订内容:0自定义、上一份合同", maxLength = 100) @Length(max = 100, message = "合同签订内容同不能超过100个字符")
@ExcelProperty("合同签订内容")
@Schema(description = "合同签订内容:0自定义、上一份合同") @Schema(description = "合同签订内容:0自定义、上一份合同")
@ExcelProperty("合同签订内容:0自定义、上一份合同")
private String contractContent; private String contractContent;
/** /**
* 法大大模版名称 * 法大大模版名称
*/ */
@Length(max = 100, message = "法大大模版名称 不能超过100 个字符")
@ExcelAttribute(name = "法大大模版名称", maxLength = 100) @ExcelAttribute(name = "法大大模版名称", maxLength = 100)
@Schema(description = "法大大模版名称") @Length(max = 100, message = "法大大模版名称不能超过100个字符")
@ExcelProperty("法大大模版名称") @ExcelProperty("法大大模版名称")
@Schema(description = "法大大模版名称")
private String fadadaTemplate; private String fadadaTemplate;
/** /**
* 数据来源1客户端 2客服端 * 数据来源1客户端 2客服端
*/ */
@Length(max = 1, message = "数据来源1客户端 2客服端 不能超过1 个字符") @ExcelAttribute(name = "数据来源", maxLength = 1)
@ExcelAttribute(name = "数据来源1客户端 2客服端", maxLength = 1) @Length(max = 1, message = "数据来源不能超过1个字符")
@ExcelProperty("数据来源")
@Schema(description = "数据来源1客户端 2客服端") @Schema(description = "数据来源1客户端 2客服端")
@ExcelProperty("数据来源1客户端 2客服端")
private String dataSource; private String dataSource;
/** /**
* 状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9(已归档-电子签+线下签)已完结10撤销签署 * 续签状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9(已归档-电子签+线下签)已完结10撤销签署
*/ */
@Length(max = 2, message = "状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9(已归档-电子签+线下签)已完结10撤销签署 不能超过2 个字符") @ExcelAttribute(name = "续签状态", maxLength = 2)
@ExcelAttribute(name = "状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9(已归档-电子签+线下签)已完结10撤销签署", maxLength = 2) @Length(max = 2, message = "续签状态不能超过2个字符")
@Schema(description = "状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9(已归档-电子签+线下签)已完结10撤销签署") @ExcelProperty("续签状态")
@ExcelProperty("状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9(已归档-电子签+线下签)已完结10撤销签署") @Schema(description = "续签状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9(已归档-电子签+线下签)已完结10撤销签署")
private String processStatus; private String processStatus;
/** /**
* 配置名称 * 配置名称
*/ */
@Length(max = 100, message = "配置名称 不能超过100 个字符")
@ExcelAttribute(name = "配置名称", maxLength = 100) @ExcelAttribute(name = "配置名称", maxLength = 100)
@Schema(description = "配置名称") @Length(max = 100, message = "配置名称不能超过100个字符")
@ExcelProperty("配置名称") @ExcelProperty("配置名称")
@Schema(description = "配置名称")
private String configName; private String configName;
/** /**
* 是否允许修改 0是 1否 * 是否允许修改 0是 1否
*/ */
@Length(max = 1, message = "是否允许修改 0是 1否 不能超过1 个字符")
@ExcelAttribute(name = "是否允许修改 0是 1否", maxLength = 1) @ExcelAttribute(name = "是否允许修改 0是 1否", maxLength = 1)
@Schema(description = "是否允许修改 0是 1否") @Length(max = 1, message = "是否允许修改 0是 1否不能超过1个字符")
@ExcelProperty("是否允许修改 0是 1否") @ExcelProperty("是否允许修改 0是 1否")
@Schema(description = "是否允许修改 0是 1否")
private String updateFlag; private String updateFlag;
/** /**
* 合同类型 标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同 * 合同类型 标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同
*/ */
@Length(max = 8, message = "合同类型 标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同 不能超过8 个字符") @ExcelAttribute(name = "合同类型", maxLength = 8)
@ExcelAttribute(name = "合同类型 标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同", maxLength = 8) @Length(max = 8, message = "合同类型不能超过8个字符")
@ExcelProperty("合同类型")
@Schema(description = "合同类型 标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同") @Schema(description = "合同类型 标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同")
@ExcelProperty("合同类型 标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同")
private String contractType; private String contractType;
/** /**
* 签署甲方 * 签署甲方
*/ */
@Length(max = 50, message = "签署甲方 不能超过50 个字符")
@ExcelAttribute(name = "签署甲方", maxLength = 50) @ExcelAttribute(name = "签署甲方", maxLength = 50)
@Schema(description = "签署甲方") @Length(max = 50, message = "签署甲方不能超过50个字符")
@ExcelProperty("签署甲方") @ExcelProperty("签署甲方")
@Schema(description = "签署甲方")
private String signatory; private String signatory;
/** /**
* 预计确认时间 * 预计确认时间
*/ */
@ExcelAttribute(name = "预计确认时间", isDate = true) @ExcelAttribute(name = "预计确认时间", isDate = true)
@Schema(description = "预计确认时间")
@ExcelProperty("预计确认时间") @ExcelProperty("预计确认时间")
@Schema(description = "预计确认时间")
private Date expectedConfirmTime; private Date expectedConfirmTime;
/** /**
* 预计合同发起时间 * 预计合同发起时间
*/ */
@ExcelAttribute(name = "预计合同发起时间", isDate = true) @ExcelAttribute(name = "预计合同发起时间", isDate = true)
@Schema(description = "预计合同发起时间")
@ExcelProperty("预计合同发起时间") @ExcelProperty("预计合同发起时间")
@Schema(description = "预计合同发起时间")
private Date expectedCollectionTime; private Date expectedCollectionTime;
/** /**
* 签订类型-续签、新签等 * 签订类型-续签、新签等
*/ */
@Length(max = 20, message = "签订类型-续签、新签等 不能超过20 个字符") @ExcelAttribute(name = "签订类型", maxLength = 20)
@ExcelAttribute(name = "签订类型-续签、新签等", maxLength = 20) @Length(max = 20, message = "签订类型不能超过20个字符")
@ExcelProperty("签订类型")
@Schema(description = "签订类型-续签、新签等") @Schema(description = "签订类型-续签、新签等")
@ExcelProperty("签订类型-续签、新签等")
private String situation; private String situation;
/** /**
* 签订期限 0已完成一定工作任务为期限、1固定期限、2无固定期限 * 签订期限 0已完成一定工作任务为期限、1固定期限、2无固定期限
*/ */
@Length(max = 1, message = "签订期限 0已完成一定工作任务为期限、1固定期限、2无固定期限 不能超过1 个字符") @ExcelAttribute(name = "签订期限", maxLength = 1)
@ExcelAttribute(name = "签订期限 0已完成一定工作任务为期限、1固定期限、2无固定期限", maxLength = 1) @Length(max = 1, message = "签订期限不能超过1个字符")
@ExcelProperty("签订期限")
@Schema(description = "签订期限 0已完成一定工作任务为期限、1固定期限、2无固定期限") @Schema(description = "签订期限 0已完成一定工作任务为期限、1固定期限、2无固定期限")
@ExcelProperty("签订期限 0已完成一定工作任务为期限、1固定期限、2无固定期限")
private String contractTerm; private String contractTerm;
/** /**
* 合同开始日期 * 合同开始日期
*/ */
@ExcelAttribute(name = "合同开始日期", isDate = true) @ExcelAttribute(name = "合同开始日期", isDate = true)
@Schema(description = "合同开始日期")
@ExcelProperty("合同开始日期") @ExcelProperty("合同开始日期")
@Schema(description = "合同开始日期")
private Date contractStart; private Date contractStart;
/** /**
* 合同截止日期 * 合同截止日期
*/ */
@ExcelAttribute(name = "合同截止日期", isDate = true) @ExcelAttribute(name = "合同截止日期", isDate = true)
@Schema(description = "合同截止日期")
@ExcelProperty("合同截止日期") @ExcelProperty("合同截止日期")
@Schema(description = "合同截止日期")
private Date contractEnd; private Date contractEnd;
/** /**
* 合同岗位 0 固定岗位 1 等于档案处维护 2 自定义 -冗余字段 * 合同岗位 0 固定岗位 1 等于档案处维护 2 自定义 -冗余字段
*/ */
@Length(max = 1, message = "合同岗位 0 固定岗位 1 等于档案处维护 2 自定义 -冗余字段 不能超过1 个字符") @ExcelAttribute(name = "合同岗位", maxLength = 1)
@ExcelAttribute(name = "合同岗位 0 固定岗位 1 等于档案处维护 2 自定义 -冗余字段", maxLength = 1) @Length(max = 1, message = "合同岗位不能超过1个字符")
@ExcelProperty("合同岗位")
@Schema(description = "合同岗位 0 固定岗位 1 等于档案处维护 2 自定义 -冗余字段") @Schema(description = "合同岗位 0 固定岗位 1 等于档案处维护 2 自定义 -冗余字段")
@ExcelProperty("合同岗位 0 固定岗位 1 等于档案处维护 2 自定义 -冗余字段")
private String postType; private String postType;
/** /**
* 合同岗位名称 * 合同岗位名称
*/ */
@Length(max = 50, message = "合同岗位名称 不能超过50 个字符")
@ExcelAttribute(name = "合同岗位名称", maxLength = 50) @ExcelAttribute(name = "合同岗位名称", maxLength = 50)
@Schema(description = "合同岗位名称") @Length(max = 50, message = "合同岗位名称不能超过50个字符")
@ExcelProperty("合同岗位名称") @ExcelProperty("合同岗位名称")
@Schema(description = "合同岗位名称")
private String post; private String post;
/** /**
* 工作部门 * 工作部门
*/ */
@Length(max = 50, message = "工作部门 不能超过50 个字符")
@ExcelAttribute(name = "工作部门", maxLength = 50) @ExcelAttribute(name = "工作部门", maxLength = 50)
@Schema(description = "工作部门") @Length(max = 50, message = "工作部门不能超过50个字符")
@ExcelProperty("工作部门") @ExcelProperty("工作部门")
@Schema(description = "工作部门")
private String workingDept; private String workingDept;
/** /**
* 工作地点 * 工作地点
*/ */
@Length(max = 200, message = "工作地点 不能超过200 个字符")
@ExcelAttribute(name = "工作地点", maxLength = 200) @ExcelAttribute(name = "工作地点", maxLength = 200)
@Schema(description = "工作地点") @Length(max = 200, message = "工作地点不能超过200个字符")
@ExcelProperty("工作地点") @ExcelProperty("工作地点")
@Schema(description = "工作地点")
private String workAddress; private String workAddress;
/** /**
* 工时制 0 标准工时 1综合工时 2 不定时工时制 * 工时制 0 标准工时 1综合工时 2 不定时工时制
*/ */
@Length(max = 1, message = "工时制 0 标准工时 1综合工时 2 不定时工时制 不能超过1 个字符") @ExcelAttribute(name = "工时制 ", maxLength = 1)
@ExcelAttribute(name = "工时制 0 标准工时 1综合工时 2 不定时工时制", maxLength = 1) @Length(max = 1, message = "工时制不能超过1个字符")
@ExcelProperty("工时制 ")
@Schema(description = "工时制 0 标准工时 1综合工时 2 不定时工时制") @Schema(description = "工时制 0 标准工时 1综合工时 2 不定时工时制")
@ExcelProperty("工时制 0 标准工时 1综合工时 2 不定时工时制")
private String workingHours; private String workingHours;
/** /**
* 工资形式 1.计时工资 2.计件工资 3.其他 * 工资形式 1.计时工资 2.计件工资 3.其他
*/ */
@Length(max = 1, message = "工资形式 1.计时工资 2.计件工资 3.其他 不能超过1 个字符") @ExcelAttribute(name = "工资形式 ", maxLength = 1)
@ExcelAttribute(name = "工资形式 1.计时工资 2.计件工资 3.其他", maxLength = 1) @Length(max = 1, message = "工资形式不能超过1个字符")
@ExcelProperty("工资形式")
@Schema(description = "工资形式 1.计时工资 2.计件工资 3.其他") @Schema(description = "工资形式 1.计时工资 2.计件工资 3.其他")
@ExcelProperty("工资形式 1.计时工资 2.计件工资 3.其他")
private String salaryType; private String salaryType;
/** /**
* 其他 (工资形式其他时的工资) * 其他 (工资形式其他时的工资)
*/ */
@Length(max = 50, message = "其他 (工资形式其他时的工资) 不能超过50 个字符")
@ExcelAttribute(name = "其他 (工资形式其他时的工资)", maxLength = 50) @ExcelAttribute(name = "其他 (工资形式其他时的工资)", maxLength = 50)
@Schema(description = "其他 (工资形式其他时的工资)") @Length(max = 50, message = "其他 (工资形式其他时的工资)不能超过50个字符")
@ExcelProperty("其他 (工资形式其他时的工资)") @ExcelProperty("其他 (工资形式其他时的工资)")
@Schema(description = "其他 (工资形式其他时的工资)")
private String otherWage; private String otherWage;
/** /**
* 违约责任(金额) * 违约责任(金额)
*/ */
@Length(max = 20, message = "违约责任(金额) 不能超过20 个字符")
@ExcelAttribute(name = "违约责任(金额)", maxLength = 20) @ExcelAttribute(name = "违约责任(金额)", maxLength = 20)
@Schema(description = "违约责任(金额)") @Length(max = 20, message = "违约责任(金额)不能超过20个字符")
@ExcelProperty("违约责任(金额)") @ExcelProperty("违约责任(金额)")
@Schema(description = "违约责任(金额)")
private String defaultAmount; private String defaultAmount;
/** /**
* 合同年限-年 * 合同年限-年
*/ */
@Length(max = 50, message = "合同年限-年 不能超过50 个字符")
@ExcelAttribute(name = "合同年限-年", maxLength = 50) @ExcelAttribute(name = "合同年限-年", maxLength = 50)
@Schema(description = "合同年限-年") @Length(max = 50, message = "合同年限-年不能超过50个字符")
@ExcelProperty("合同年限-年") @ExcelProperty("合同年限-年")
@Schema(description = "合同年限-年")
private String contractDurationYear; private String contractDurationYear;
/** /**
* 合同年限-月 * 合同年限-月
*/ */
@Length(max = 50, message = "合同年限-月 不能超过50 个字符")
@ExcelAttribute(name = "合同年限-月", maxLength = 50) @ExcelAttribute(name = "合同年限-月", maxLength = 50)
@Schema(description = "合同年限-月") @Length(max = 50, message = "合同年限-月不能超过50个字符")
@ExcelProperty("合同年限-月") @ExcelProperty("合同年限-月")
@Schema(description = "合同年限-月")
private String contractDurationMonth; private String contractDurationMonth;
/** /**
* 合同试用期开始时间-续签无,冗余 * 合同试用期开始时间-续签无,冗余
*/ */
@ExcelAttribute(name = "合同试用期开始时间-续签无,冗余", isDate = true) @ExcelAttribute(name = "合同试用期开始时间", isDate = true)
@ExcelProperty("合同试用期开始时间")
@Schema(description = "合同试用期开始时间-续签无,冗余") @Schema(description = "合同试用期开始时间-续签无,冗余")
@ExcelProperty("合同试用期开始时间-续签无,冗余")
private Date tryPeriodStart; private Date tryPeriodStart;
/** /**
* 合同试用期结束时间-续签无,冗余 * 合同试用期结束时间-续签无,冗余
*/ */
@ExcelAttribute(name = "合同试用期结束时间-续签无,冗余", isDate = true) @ExcelAttribute(name = "合同试用期结束时间", isDate = true)
@ExcelProperty("合同试用期结束时间")
@Schema(description = "合同试用期结束时间-续签无,冗余") @Schema(description = "合同试用期结束时间-续签无,冗余")
@ExcelProperty("合同试用期结束时间-续签无,冗余")
private Date tryPeriodEnd; private Date tryPeriodEnd;
/** /**
* 是否有试用期 0是1否-续签无,冗余 * 是否有试用期 0是1否-续签无,冗余
*/ */
@Length(max = 1, message = "是否有试用期 0是1否-续签无,冗余 不能超过1 个字符") @ExcelAttribute(name = "是否有试用期", maxLength = 1)
@ExcelAttribute(name = "是否有试用期 0是1否-续签无,冗余", maxLength = 1) @Length(max = 1, message = "是否有试用期不能超过1个字符")
@ExcelProperty("是否有试用期")
@Schema(description = "是否有试用期 0是1否-续签无,冗余") @Schema(description = "是否有试用期 0是1否-续签无,冗余")
@ExcelProperty("是否有试用期 0是1否-续签无,冗余")
private String tryPeriodType; private String tryPeriodType;
/** /**
* 试用期(单位月)-续签无,冗余 * 试用期(单位月)-续签无,冗余
*/ */
@Length(max = 5, message = "试用期(单位月)-续签无,冗余 不能超过5 个字符") @ExcelAttribute(name = "试用期(单位月)", maxLength = 5)
@ExcelAttribute(name = "试用期(单位月)-续签无,冗余", maxLength = 5) @Length(max = 5, message = "试用期(单位月)不能超过5个字符")
@ExcelProperty("试用期(单位月)")
@Schema(description = "试用期(单位月)-续签无,冗余") @Schema(description = "试用期(单位月)-续签无,冗余")
@ExcelProperty("试用期(单位月)-续签无,冗余")
private String tryPeriod; private String tryPeriod;
/** /**
* 劳务费(元/月) * 劳务费(元/月)
*/ */
@Length(max = 20, message = "劳务费(元/月) 不能超过20 个字符")
@ExcelAttribute(name = "劳务费(元/月)", maxLength = 20) @ExcelAttribute(name = "劳务费(元/月)", maxLength = 20)
@Schema(description = "劳务费(元/月)") @Length(max = 20, message = "劳务费(元/月)不能超过20个字符")
@ExcelProperty("劳务费(元/月)") @ExcelProperty("劳务费(元/月)")
@Schema(description = "劳务费(元/月)")
private String laborCost; private String laborCost;
/** /**
* 购买补充保险说明 * 购买补充保险说明
*/ */
@Length(max = 50, message = "购买补充保险说明 不能超过50 个字符")
@ExcelAttribute(name = "购买补充保险说明", maxLength = 50) @ExcelAttribute(name = "购买补充保险说明", maxLength = 50)
@Schema(description = "购买补充保险说明") @Length(max = 50, message = "购买补充保险说明不能超过50个字符")
@ExcelProperty("购买补充保险说明") @ExcelProperty("购买补充保险说明")
@Schema(description = "购买补充保险说明")
private String riskBuyDesc; private String riskBuyDesc;
/** /**
* 计时工资工资标准 元/月 * 计时工资工资标准 元/月
*/ */
@Length(max = 20, message = "计时工资工资标准 元/月 不能超过20 个字符")
@ExcelAttribute(name = "计时工资工资标准 元/月 ", maxLength = 20) @ExcelAttribute(name = "计时工资工资标准 元/月 ", maxLength = 20)
@Schema(description = "计时工资工资标准 元/月 ") @Length(max = 20, message = "计时工资工资标准 元/月 不能超过20个字符")
@ExcelProperty("计时工资工资标准 元/月 ") @ExcelProperty("计时工资工资标准 元/月 ")
@Schema(description = "计时工资工资标准 元/月 ")
private String salaryStandardPerHour; private String salaryStandardPerHour;
/** /**
* 计件工资工资标准单价/元 * 计件工资工资标准单价/元
*/ */
@Length(max = 20, message = "计件工资工资标准单价/元 不能超过20 个字符")
@ExcelAttribute(name = "计件工资工资标准单价/元 ", maxLength = 20) @ExcelAttribute(name = "计件工资工资标准单价/元 ", maxLength = 20)
@Schema(description = "计件工资工资标准单价/元 ") @Length(max = 20, message = "计件工资工资标准单价/元 不能超过20个字符")
@ExcelProperty("计件工资工资标准单价/元 ") @ExcelProperty("计件工资工资标准单价/元 ")
@Schema(description = "计件工资工资标准单价/元 ")
private String salaryStandardPerPiece; private String salaryStandardPerPiece;
/** /**
* 配置id * 配置id
*/ */
@Length(max = 36, message = "配置id 不能超过36 个字符")
@ExcelAttribute(name = "配置id", maxLength = 36) @ExcelAttribute(name = "配置id", maxLength = 36)
@Schema(description = "配置id") @Length(max = 36, message = "配置id不能超过36个字符")
@ExcelProperty("配置id") @ExcelProperty("配置id")
@Schema(description = "配置id")
private String configId; private String configId;
/** /**
* 工作方式 0 第一种方式 1 第二种方式 * 工作方式 0 第一种方式 1 第二种方式
*/ */
@Length(max = 5, message = "工作方式 0 第一种方式 1 第二种方式 不能超过5 个字符") @ExcelAttribute(name = "工作方式", maxLength = 5)
@ExcelAttribute(name = "工作方式 0 第一种方式 1 第二种方式", maxLength = 5) @Length(max = 5, message = "工作方式不能超过5个字符")
@ExcelProperty("工作方式 ")
@Schema(description = "工作方式 0 第一种方式 1 第二种方式") @Schema(description = "工作方式 0 第一种方式 1 第二种方式")
@ExcelProperty("工作方式 0 第一种方式 1 第二种方式")
private String workType; private String workType;
/** /**
* 每周工作天数 * 每周工作天数
*/ */
@Length(max = 20, message = "每周工作天数 不能超过20 个字符")
@ExcelAttribute(name = "每周工作天数", maxLength = 20) @ExcelAttribute(name = "每周工作天数", maxLength = 20)
@Schema(description = "每周工作天数") @Length(max = 20, message = "每周工作天数不能超过20个字符")
@ExcelProperty("每周工作天数") @ExcelProperty("每周工作天数")
@Schema(description = "每周工作天数")
private String workDayCount; private String workDayCount;
/** /**
* 每周工作日 * 每周工作日
*/ */
@Length(max = 50, message = "每周工作日 不能超过50 个字符")
@ExcelAttribute(name = "每周工作日", maxLength = 50) @ExcelAttribute(name = "每周工作日", maxLength = 50)
@Schema(description = "每周工作日") @Length(max = 50, message = "每周工作日不能超过50个字符")
@ExcelProperty("每周工作日") @ExcelProperty("每周工作日")
@Schema(description = "每周工作日")
private String workDay; private String workDay;
/** /**
* 每日工作时长 * 每日工作时长
*/ */
@Length(max = 20, message = "每日工作时长 不能超过20 个字符")
@ExcelAttribute(name = "每日工作时长", maxLength = 20) @ExcelAttribute(name = "每日工作时长", maxLength = 20)
@Schema(description = "每日工作时长") @Length(max = 20, message = "每日工作时长不能超过20个字符")
@ExcelProperty("每日工作时长") @ExcelProperty("每日工作时长")
@Schema(description = "每日工作时长")
private String workHours; private String workHours;
/** /**
* 工资结算周期 * 工资结算周期
*/ */
@Length(max = 20, message = "工资结算周期 不能超过20 个字符")
@ExcelAttribute(name = "工资结算周期", maxLength = 20) @ExcelAttribute(name = "工资结算周期", maxLength = 20)
@Schema(description = "工资结算周期") @Length(max = 20, message = "工资结算周期不能超过20个字符")
@ExcelProperty("工资结算周期") @ExcelProperty("工资结算周期")
@Schema(description = "工资结算周期")
private String settlementCycle; private String settlementCycle;
/** /**
* 工资发放时间 * 工资发放时间
*/ */
@Length(max = 50, message = "工资发放时间 不能超过50 个字符")
@ExcelAttribute(name = "工资发放时间", maxLength = 50) @ExcelAttribute(name = "工资发放时间", maxLength = 50)
@Schema(description = "工资发放时间") @Length(max = 50, message = "工资发放时间不能超过50个字符")
@ExcelProperty("工资发放时间") @ExcelProperty("工资发放时间")
@Schema(description = "工资发放时间")
private String paymentTime; private String paymentTime;
/** /**
* 工资发放方式 0 直接发放/委托银行代发 * 工资发放方式 0 直接发放/委托银行代发
*/ */
@Length(max = 1, message = "工资发放方式 0 直接发放/委托银行代发 不能超过1 个字符") @ExcelAttribute(name = "工资发放方式 ", maxLength = 1)
@ExcelAttribute(name = "工资发放方式 0 直接发放/委托银行代发", maxLength = 1) @Length(max = 1, message = "工资发放方式不能超过1个字符")
@ExcelProperty("工资发放方式")
@Schema(description = "工资发放方式 0 直接发放/委托银行代发") @Schema(description = "工资发放方式 0 直接发放/委托银行代发")
@ExcelProperty("工资发放方式 0 直接发放/委托银行代发")
private String paymentType; private String paymentType;
/** /**
* 用工单位名称 * 用工单位名称
*/ */
@Length(max = 50, message = "用工单位名称 不能超过50 个字符")
@ExcelAttribute(name = "用工单位名称", maxLength = 50) @ExcelAttribute(name = "用工单位名称", maxLength = 50)
@Schema(description = "用工单位名称") @Length(max = 50, message = "用工单位名称不能超过50个字符")
@ExcelProperty("用工单位名称") @ExcelProperty("用工单位名称")
@Schema(description = "用工单位名称")
private String workingCompany; private String workingCompany;
/** /**
* 派遣期限-年 * 派遣期限-年
*/ */
@Length(max = 3, message = "派遣期限-年 不能超过3 个字符")
@ExcelAttribute(name = "派遣期限-年", maxLength = 3) @ExcelAttribute(name = "派遣期限-年", maxLength = 3)
@Schema(description = "派遣期限-年") @Length(max = 3, message = "派遣期限-年不能超过3个字符")
@ExcelProperty("派遣期限-年") @ExcelProperty("派遣期限-年")
@Schema(description = "派遣期限-年")
private String dispatchPeriodYear; private String dispatchPeriodYear;
/** /**
* 派遣期限-月 * 派遣期限-月
*/ */
@Length(max = 3, message = "派遣期限-月 不能超过3 个字符")
@ExcelAttribute(name = "派遣期限-月", maxLength = 3) @ExcelAttribute(name = "派遣期限-月", maxLength = 3)
@Schema(description = "派遣期限-月") @Length(max = 3, message = "派遣期限-月不能超过3个字符")
@ExcelProperty("派遣期限-月") @ExcelProperty("派遣期限-月")
@Schema(description = "派遣期限-月")
private String dispatchPeriodMonth; private String dispatchPeriodMonth;
/** /**
* 派遣开始日期 * 派遣开始日期
*/ */
@ExcelAttribute(name = "派遣开始日期", isDate = true) @ExcelAttribute(name = "派遣开始日期", isDate = true)
@Schema(description = "派遣开始日期")
@ExcelProperty("派遣开始日期") @ExcelProperty("派遣开始日期")
@Schema(description = "派遣开始日期")
private Date dispatchPeriodStart; private Date dispatchPeriodStart;
/** /**
* 派遣结束日期 * 派遣结束日期
*/ */
@ExcelAttribute(name = "派遣结束日期", isDate = true) @ExcelAttribute(name = "派遣结束日期", isDate = true)
@Schema(description = "派遣结束日期")
@ExcelProperty("派遣结束日期") @ExcelProperty("派遣结束日期")
@Schema(description = "派遣结束日期")
private Date dispatchPeriodEnd; private Date dispatchPeriodEnd;
/** /**
* 其他工作时间 (工作方式为第二种方式) * 其他工作时间 (工作方式为第二种方式)
*/ */
@Length(max = 50, message = "其他工作时间 (工作方式为第二种方式) 不能超过50 个字符") @ExcelAttribute(name = "其他工作时间", maxLength = 50)
@ExcelAttribute(name = "其他工作时间 (工作方式为第二种方式)", maxLength = 50) @Length(max = 50, message = "其他工作时间不能超过50个字符")
@ExcelProperty("其他工作时间")
@Schema(description = "其他工作时间 (工作方式为第二种方式)") @Schema(description = "其他工作时间 (工作方式为第二种方式)")
@ExcelProperty("其他工作时间 (工作方式为第二种方式)")
private String otherWorkDay; private String otherWorkDay;
/** /**
* 实习期限 无/一个月/两个月.../十二个月 * 实习期限 无/一个月/两个月.../十二个月
*/ */
@Length(max = 5, message = "实习期限 无/一个月/两个月.../十二个月 不能超过5 个字符") @ExcelAttribute(name = "实习期限", maxLength = 5)
@ExcelAttribute(name = "实习期限 无/一个月/两个月.../十二个月", maxLength = 5) @Length(max = 5, message = "实习期限不能超过5个字符")
@ExcelProperty("实习期限")
@Schema(description = "实习期限 无/一个月/两个月.../十二个月") @Schema(description = "实习期限 无/一个月/两个月.../十二个月")
@ExcelProperty("实习期限 无/一个月/两个月.../十二个月")
private String internshipPeriod; private String internshipPeriod;
/** /**
* 实习开始日期 * 实习开始日期
*/ */
@ExcelAttribute(name = "实习开始日期", isDate = true) @ExcelAttribute(name = "实习开始日期", isDate = true)
@Schema(description = "实习开始日期")
@ExcelProperty("实习开始日期") @ExcelProperty("实习开始日期")
@Schema(description = "实习开始日期")
private Date internshipPeriodStart; private Date internshipPeriodStart;
/** /**
* 实习结束日期 * 实习结束日期
*/ */
@ExcelAttribute(name = "实习结束日期", isDate = true) @ExcelAttribute(name = "实习结束日期", isDate = true)
@Schema(description = "实习结束日期")
@ExcelProperty("实习结束日期") @ExcelProperty("实习结束日期")
@Schema(description = "实习结束日期")
private Date internshipPeriodEnd; private Date internshipPeriodEnd;
/** /**
* 是否撤销签署0是1否 * 是否撤销签署0是1否
*/ */
@Length(max = 1, message = "是否撤销签署0是1否 不能超过1 个字符")
@ExcelAttribute(name = "是否撤销签署0是1否", maxLength = 1) @ExcelAttribute(name = "是否撤销签署0是1否", maxLength = 1)
@Schema(description = "是否撤销签署0是1否") @Length(max = 1, message = "是否撤销签署0是1否不能超过1个字符")
@ExcelProperty("是否撤销签署0是1否") @ExcelProperty("是否撤销签署0是1否")
@Schema(description = "是否撤销签署0是1否")
private String signFlag; private String signFlag;
/** /**
* 异常原因说明 * 异常原因说明
*/ */
@Length(max = 200, message = "异常原因说明 不能超过200 个字符")
@ExcelAttribute(name = "异常原因说明", maxLength = 200) @ExcelAttribute(name = "异常原因说明", maxLength = 200)
@Schema(description = "异常原因说明") @Length(max = 200, message = "异常原因说明不能超过200个字符")
@ExcelProperty("异常原因说明") @ExcelProperty("异常原因说明")
@Schema(description = "异常原因说明")
private String errorInfo; private String errorInfo;
/** /**
* 关联合同id * 关联合同id
*/ */
@Length(max = 36, message = "关联合同id 不能超过36 个字符")
@ExcelAttribute(name = "关联合同id", maxLength = 36) @ExcelAttribute(name = "关联合同id", maxLength = 36)
@Schema(description = "关联合同id") @Length(max = 36, message = "关联合同id不能超过36个字符")
@ExcelProperty("关联合同id") @ExcelProperty("关联合同id")
@Schema(description = "关联合同id")
private String contractId; private String contractId;
/** /**
* 撤销签署原因 * 撤销签署原因
*/ */
@Length(max = 255, message = "撤销签署原因 不能超过255 个字符")
@ExcelAttribute(name = "撤销签署原因", maxLength = 255) @ExcelAttribute(name = "撤销签署原因", maxLength = 255)
@Schema(description = "撤销签署原因") @Length(max = 255, message = "撤销签署原因不能超过255个字符")
@ExcelProperty("撤销签署原因") @ExcelProperty("撤销签署原因")
@Schema(description = "撤销签署原因")
private String revokeReason; private String revokeReason;
/** /**
* 发起失败时间 * 发起失败时间
*/ */
@ExcelAttribute(name = "发起失败时间", isDate = true) @ExcelAttribute(name = "发起失败时间", isDate = true)
@Schema(description = "发起失败时间")
@ExcelProperty("发起失败时间") @ExcelProperty("发起失败时间")
@Schema(description = "发起失败时间")
private Date errorTime; private Date errorTime;
/** /**
* 合同截止日期类型 * 合同截止日期类型
*/ */
@Length(max = 1, message = "合同截止日期类型 不能超过1 个字符")
@ExcelAttribute(name = "合同截止日期类型", maxLength = 1) @ExcelAttribute(name = "合同截止日期类型", maxLength = 1)
@Schema(description = "合同截止日期类型") @Length(max = 1, message = "合同截止日期类型不能超过1个字符")
@ExcelProperty("合同截止日期类型") @ExcelProperty("合同截止日期类型")
@Schema(description = "合同截止日期类型")
private String contractEndType; private String contractEndType;
/** /**
* 入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义 * 入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义
*/ */
@Length(max = 2, message = "入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义 不能超过2 个字符") @ExcelAttribute(name = "入职确认选择", maxLength = 2)
@ExcelAttribute(name = "入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义", maxLength = 2) @Length(max = 2, message = "入职确认选择不能超过2个字符")
@ExcelProperty("入职确认选择 ")
@Schema(description = "入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义") @Schema(description = "入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义")
@ExcelProperty("入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义")
private String confirmEmpSelect; private String confirmEmpSelect;
/** /**
* 超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发 * 超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发 -- 冗余
*/ */
@Length(max = 2, message = "超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发 不能超过2 个字符") @ExcelAttribute(name = "超时未确认是否触发签署任务(电子签) ", maxLength = 2)
@ExcelAttribute(name = "超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发", maxLength = 2) @Length(max = 2, message = "超时未确认是否触发签署任务(电子签)不触发不能超过2个字符")
@Schema(description = "超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发") @ExcelProperty("超时未确认是否触发签署任务(电子签)")
@ExcelProperty("超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发") @Schema(description = "超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发--冗余")
private String timeoutElecSign; private String timeoutElecSign;
/** /**
* 工作任务 * 工作任务
*/ */
@Length(max = 200, message = "工作任务 不能超过200 个字符")
@ExcelAttribute(name = "工作任务", maxLength = 200) @ExcelAttribute(name = "工作任务", maxLength = 200)
@Schema(description = "工作任务") @Length(max = 200, message = "工作任务不能超过200个字符")
@ExcelProperty("工作任务") @ExcelProperty("工作任务")
@Schema(description = "工作任务")
private String task; private String task;
/** /**
* 任务类型: 0 不同员工不同任务自定义 1 所有员工任务相同 * 任务类型: 0 不同员工不同任务自定义 1 所有员工任务相同
*/ */
@Length(max = 2, message = "任务类型: 0 不同员工不同任务自定义 1 所有员工任务相同 不能超过2 个字符") @ExcelAttribute(name = "任务类型:", maxLength = 2)
@ExcelAttribute(name = "任务类型: 0 不同员工不同任务自定义 1 所有员工任务相同", maxLength = 2) @Length(max = 2, message = "任务类型不能超过2个字符")
@ExcelProperty("任务类型")
@Schema(description = "任务类型: 0 不同员工不同任务自定义 1 所有员工任务相同") @Schema(description = "任务类型: 0 不同员工不同任务自定义 1 所有员工任务相同")
@ExcelProperty("任务类型: 0 不同员工不同任务自定义 1 所有员工任务相同")
private String taskType; private String taskType;
/** /**
* 结束任务标准 * 结束任务标准
*/ */
@Length(max = 200, message = "结束任务标准 不能超过200 个字符")
@ExcelAttribute(name = "结束任务标准", maxLength = 200) @ExcelAttribute(name = "结束任务标准", maxLength = 200)
@Schema(description = "结束任务标准") @Length(max = 200, message = "结束任务标准不能超过200个字符")
@ExcelProperty("结束任务标准") @ExcelProperty("结束任务标准")
@Schema(description = "结束任务标准")
private String taskEndStandard; private String taskEndStandard;
/** /**
* 是否已签署合同 0是1否 * 是否已签署合同 0是1否
*/ */
@Length(max = 1, message = "是否已签署合同 0是1否 不能超过1 个字符") @ExcelAttribute(name = "是否已签署合同", maxLength = 1)
@ExcelAttribute(name = "是否已签署合同 0是1否", maxLength = 1) @Length(max = 1, message = "是否已签署合同不能超过1个字符")
@ExcelProperty("是否已签署合同")
@Schema(description = "是否已签署合同 0是1否") @Schema(description = "是否已签署合同 0是1否")
@ExcelProperty("是否已签署合同 0是1否")
private String contractFlag; private String contractFlag;
/** /**
* 业务细分 * 业务细分
*/ */
@Length(max = 50, message = "业务细分 不能超过50 个字符")
@ExcelAttribute(name = "业务细分", maxLength = 50) @ExcelAttribute(name = "业务细分", maxLength = 50)
@Schema(description = "业务细分") @Length(max = 50, message = "业务细分不能超过50个字符")
@ExcelProperty("业务细分") @ExcelProperty("业务细分")
@Schema(description = "业务细分")
private String contractSubName; private String contractSubName;
/** /**
* 法大大模版ID * 法大大模版ID
*/ */
@Length(max = 100, message = "法大大模版ID 不能超过100 个字符")
@ExcelAttribute(name = "法大大模版ID", maxLength = 100) @ExcelAttribute(name = "法大大模版ID", maxLength = 100)
@Schema(description = "法大大模版ID") @Length(max = 100, message = "法大大模版ID不能超过100个字符")
@ExcelProperty("法大大模版ID") @ExcelProperty("法大大模版ID")
@Schema(description = "法大大模版ID")
private String fadadaTemplateId; private String fadadaTemplateId;
/** /**
* 任务ID * 任务ID
*/ */
@Length(max = 100, message = "任务ID 不能超过100 个字符")
@ExcelAttribute(name = "任务ID", maxLength = 100) @ExcelAttribute(name = "任务ID", maxLength = 100)
@Schema(description = "任务ID") @Length(max = 100, message = "任务ID不能超过100个字符")
@ExcelProperty("任务ID") @ExcelProperty("任务ID")
@Schema(description = "任务ID")
private String requestId; private String requestId;
/** /**
* 任务反馈 * 任务反馈
*/ */
@Length(max = 500, message = "任务反馈 不能超过500 个字符")
@ExcelAttribute(name = "任务反馈", maxLength = 500) @ExcelAttribute(name = "任务反馈", maxLength = 500)
@Schema(description = "任务反馈") @Length(max = 500, message = "任务反馈不能超过500个字符")
@ExcelProperty("任务反馈") @ExcelProperty("任务反馈")
@Schema(description = "任务反馈")
private String requestMsg; private String requestMsg;
/** /**
* 超期标识 0已超期 1未超期 * 超期标识 0已超期 1未超期
*/ */
@Length(max = 1, message = "超期标识 0已超期 1未超期 不能超过1 个字符") @ExcelAttribute(name = "超期标识", maxLength = 1)
@ExcelAttribute(name = "超期标识 0已超期 1未超期", maxLength = 1) @Length(max = 1, message = "超期标识不能超过1个字符")
@ExcelProperty("超期标识 ")
@Schema(description = "超期标识 0已超期 1未超期") @Schema(description = "超期标识 0已超期 1未超期")
@ExcelProperty("超期标识 0已超期 1未超期")
private String overFlag; private String overFlag;
/** /**
* 电子签转线下签的原因 * 电子签转线下签的原因
*/ */
@Length(max = 200, message = "电子签转线下签的原因 不能超过200 个字符")
@ExcelAttribute(name = "电子签转线下签的原因", maxLength = 200) @ExcelAttribute(name = "电子签转线下签的原因", maxLength = 200)
@Schema(description = "电子签转线下签的原因") @Length(max = 200, message = "电子签转线下签的原因不能超过200个字符")
@ExcelProperty("电子签转线下签的原因") @ExcelProperty("电子签转线下签的原因")
@Schema(description = "电子签转线下签的原因")
private String changeTypeReason; private String changeTypeReason;
/** /**
* 电子签转线下签的操作人 * 电子签转线下签的操作人
*/ */
@Length(max = 50, message = "电子签转线下签的操作人 不能超过50 个字符")
@ExcelAttribute(name = "电子签转线下签的操作人", maxLength = 50) @ExcelAttribute(name = "电子签转线下签的操作人", maxLength = 50)
@Schema(description = "电子签转线下签的操作人") @Length(max = 50, message = "电子签转线下签的操作人不能超过50个字符")
@ExcelProperty("电子签转线下签的操作人") @ExcelProperty("电子签转线下签的操作人")
@Schema(description = "电子签转线下签的操作人")
private String changeTypeUser; private String changeTypeUser;
/** /**
* 电子签转线下签时间 * 电子签转线下签时间
*/ */
@ExcelAttribute(name = "电子签转线下签时间", isDate = true) @ExcelAttribute(name = "电子签转线下签时间", isDate = true)
@Schema(description = "电子签转线下签时间")
@ExcelProperty("电子签转线下签时间") @ExcelProperty("电子签转线下签时间")
@Schema(description = "电子签转线下签时间")
private Date changeTypeTime; private Date changeTypeTime;
/** /**
* 催办标识 0已催办 1未催办 * 催办标识 0已催办 1未催办
*/ */
@Length(max = 1, message = "催办标识 0已催办 1未催办 不能超过1 个字符") @ExcelAttribute(name = "催办标识", maxLength = 1)
@ExcelAttribute(name = "催办标识 0已催办 1未催办", maxLength = 1) @Length(max = 1, message = "催办标识 不能超过1个字符")
@Schema(description = "催办标识 0已催办 1未催办")
@ExcelProperty("催办标识 0已催办 1未催办") @ExcelProperty("催办标识 0已催办 1未催办")
@Schema(description = "催办标识 0已催办 1未催办")
private String isUrg; private String isUrg;
/** /**
* 试用期工资(元/月) * 试用期工资(元/月)
*/ */
@Length(max = 20, message = "试用期工资(元/月) 不能超过20 个字符")
@ExcelAttribute(name = "试用期工资(元/月)", maxLength = 20) @ExcelAttribute(name = "试用期工资(元/月)", maxLength = 20)
@Schema(description = "试用期工资(元/月)") @Length(max = 20, message = "试用期工资(元/月)不能超过20个字符")
@ExcelProperty("试用期工资(元/月)") @ExcelProperty("试用期工资(元/月)")
@Schema(description = "试用期工资(元/月)")
private String workingReward; private String workingReward;
/**
* @Author fxj
* @Description 合同续签批量续签需要传入的参数
**/
private List<String> contractIds;
} }
...@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller; ...@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeRegistrationPreVo;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage; import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R; import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog; import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
...@@ -137,21 +138,6 @@ public class TEmployeeContractPreNewController { ...@@ -137,21 +138,6 @@ public class TEmployeeContractPreNewController {
return R.ok(tEmployeeContractPreNewService.removeById(id)); return R.ok(tEmployeeContractPreNewService.removeById(id));
} }
/**
* 合同续签预派单信息 批量导入
*
* @author fxj
* @date 2026-02-05 15:45:40
**/
@SneakyThrows
@Operation(description = "批量新增合同续签预派单信息 hasPermission('archives_temployeecontractprenew-batch-import')")
@SysLog("批量新增合同续签预派单信息")
@PostMapping("/importListAdd")
@PreAuthorize("@pms.hasPermission('archives_temployeecontractprenew-batch-import')")
public R<List<ErrorMessage>> importListAdd(@RequestBody MultipartFile file) {
return tEmployeeContractPreNewService.importDiy(file.getInputStream());
}
/** /**
* 合同续签预派单信息 批量导出 * 合同续签预派单信息 批量导出
* *
...@@ -164,4 +150,29 @@ public class TEmployeeContractPreNewController { ...@@ -164,4 +150,29 @@ public class TEmployeeContractPreNewController {
public void export(HttpServletResponse response, @RequestBody TEmployeeContractPreNewSearchVo searchVo) { public void export(HttpServletResponse response, @RequestBody TEmployeeContractPreNewSearchVo searchVo) {
tEmployeeContractPreNewService.listExport(response, searchVo); tEmployeeContractPreNewService.listExport(response, searchVo);
} }
/**
* @Author fxj
* @Description 合同待续签单个确认
* @Date 10:30 2026/2/9
* @Param
* @return
**/
@Operation(description = "合同待续签单个确认")
@PostMapping("/confirmRenewalContract")
public R confirmReceive(@RequestBody TEmployeeContractPreNewVo preVo) {
return tEmployeeContractPreNewService.confirmRenewalContract(preVo);
}
/**
* 入职待确认表 批量确认接收
*
* @author huych
* @date 2025-03-13 16:55:32
**/
@Operation(description = "合同待续签批量确认")
@PostMapping("/batchCconfirmRenewalContract")
public R batchConfirmReceive(@RequestBody TEmployeeContractPreNewVo preVo) {
return tEmployeeContractPreNewService.batchCconfirmRenewalContract(preVo);
}
} }
...@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.extension.service.IService; ...@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractPreNew; import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractPreNew;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreNewVo;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage; import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R; import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreNewSearchVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreNewSearchVo;
...@@ -44,9 +45,11 @@ public interface TEmployeeContractPreNewService extends IService<TEmployeeContra ...@@ -44,9 +45,11 @@ public interface TEmployeeContractPreNewService extends IService<TEmployeeContra
*/ */
IPage<TEmployeeContractPreNew> getTEmployeeContractPreNewPage(Page<TEmployeeContractPreNew> page, TEmployeeContractPreNewSearchVo tEmployeeContractPreNew); IPage<TEmployeeContractPreNew> getTEmployeeContractPreNewPage(Page<TEmployeeContractPreNew> page, TEmployeeContractPreNewSearchVo tEmployeeContractPreNew);
R<List<ErrorMessage>> importDiy(InputStream inputStream);
void listExport(HttpServletResponse response, TEmployeeContractPreNewSearchVo searchVo); void listExport(HttpServletResponse response, TEmployeeContractPreNewSearchVo searchVo);
List<TEmployeeContractPreNew> noPageDiy(TEmployeeContractPreNewSearchVo searchVo); List<TEmployeeContractPreNew> noPageDiy(TEmployeeContractPreNewSearchVo searchVo);
R confirmRenewalContract(TEmployeeContractPreNewVo preVo);
R batchCconfirmRenewalContract(TEmployeeContractPreNewVo preVo);
} }
...@@ -520,6 +520,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM ...@@ -520,6 +520,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
alert.setFirstAlertTime(new Date()); alert.setFirstAlertTime(new Date());
} }
//获取项目信息,合同配置信息,初始化前端客服、续签状态、自动化标识 //获取项目信息,合同配置信息,初始化前端客服、续签状态、自动化标识
alert.setProcessStatus(CommonConstants.ZERO_INT);
if (null != project){ if (null != project){
alert.setCsName(project.getCsName()); alert.setCsName(project.getCsName());
...@@ -1090,13 +1091,8 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM ...@@ -1090,13 +1091,8 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
searchVo.setAuthSql(null); searchVo.setAuthSql(null);
return; return;
} }
//获取项目信息 //非管理员及SSC 走前端客服查询逻辑
List<String> deptNos = tSettleDomainService.getAllDeptByCustomerLoginName(user.getUsername()); searchVo.setCsLoginName(user.getUsername());
if (null != deptNos && !deptNos.isEmpty()) {
searchVo.setDeptNoList(deptNos);
} else {
searchVo.setId(CommonConstants.ONE_STRING_NEGATE);
}
} }
public boolean haveRole(YifuUser user, long roleId) { public boolean haveRole(YifuUser user, long roleId) {
List<Long> roleList = user.getClientRoleMap().get(ClientNameConstants.CLIENT_MVP); List<Long> roleList = user.getClientRoleMap().get(ClientNameConstants.CLIENT_MVP);
......
...@@ -178,85 +178,26 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon ...@@ -178,85 +178,26 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
} }
return wrapper; return wrapper;
} }
@Override
public R<List<ErrorMessage>> importDiy(InputStream inputStream) {
List<ErrorMessage> errorMessageList = new ArrayList<>();
ExcelUtil<TEmployeeContractPreNewVo> util1 = new ExcelUtil<>(TEmployeeContractPreNewVo.class);
;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try {
EasyExcel.read(inputStream, TEmployeeContractPreNewVo.class, new ReadListener<TEmployeeContractPreNewVo>() {
/**
* 单次缓存的数据量
*/
public static final int BATCH_COUNT = CommonConstants.BATCH_COUNT;
/** /**
*临时存储 * @Author fxj
*/ * @Description 合同待续签单个确认
private List<TEmployeeContractPreNewVo> cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT); * @Date 10:41 2026/2/9
* @Param
@Override * @return
public void invoke(TEmployeeContractPreNewVo data, AnalysisContext context) { **/
ReadRowHolder readRowHolder = context.readRowHolder();
Integer rowIndex = readRowHolder.getRowIndex();
data.setRowIndex(rowIndex + 1);
ErrorMessage errorMessage = util1.checkEntity(data, data.getRowIndex());
if (Common.isNotNull(errorMessage)) {
errorMessageList.add(errorMessage);
} else {
cachedDataList.add(data);
}
if (cachedDataList.size() >= BATCH_COUNT) {
saveData();
// 存储完成清理 list
cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT);
}
}
@Override @Override
public void doAfterAllAnalysed(AnalysisContext context) { public R confirmRenewalContract(TEmployeeContractPreNewVo preVo) {
saveData(); return null;
} }
/** /**
* 加上存储数据库 * @Author fxj
*/ * @Description 入职待确认表 批量确认接收
private void saveData() { * @Date 10:40 2026/2/9
log.info("{}条数据,开始存储数据库!", cachedDataList.size()); * @Param
importTEmployeeContractPreNew(cachedDataList, errorMessageList); * @return
log.info("存储数据库成功!"); **/
} @Override
}).sheet().doRead(); public R batchCconfirmRenewalContract(TEmployeeContractPreNewVo preVo) {
} catch (Exception e) { return null;
log.error(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR, e);
return R.failed(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR);
}
return R.ok(errorMessageList);
}
private void importTEmployeeContractPreNew(List<TEmployeeContractPreNewVo> excelVOList, List<ErrorMessage> errorMessageList) {
// 个性化校验逻辑
ErrorMessage errorMsg;
// 执行数据插入操作 组装
for (int i = 0; i < excelVOList.size(); i++) {
TEmployeeContractPreNewVo excel = excelVOList.get(i);
// 数据合法情况 TODO
// 插入
insertExcel(excel);
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), CommonConstants.SAVE_SUCCESS));
}
}
/**
* 插入excel bad record
*/
private void insertExcel(TEmployeeContractPreNewVo excel) {
TEmployeeContractPreNew insert = new TEmployeeContractPreNew();
BeanUtil.copyProperties(excel, insert);
this.save(insert);
} }
} }
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