Commit 0847b9f6 authored by hongguangwu's avatar hongguangwu

社保公积金查询-导出

parent d5baee3f
...@@ -340,7 +340,7 @@ public class TDispatchInfo extends BaseEntity { ...@@ -340,7 +340,7 @@ public class TDispatchInfo extends BaseEntity {
* 业务细分 personnel_type_sub * 业务细分 personnel_type_sub
*/ */
@ExcelAttribute(name = "业务细分", maxLength = 32) @ExcelAttribute(name = "业务细分", maxLength = 32)
@Schema(description = "业务细分", name = "contractName") @Schema(description = "业务细分", name = "contractSubName")
private String contractSubName; private String contractSubName;
/** /**
......
...@@ -225,28 +225,28 @@ public class TSocialFundInfo extends BaseEntity { ...@@ -225,28 +225,28 @@ public class TSocialFundInfo extends BaseEntity {
@ExcelProperty("公积金户" ) @ExcelProperty("公积金户" )
private String providentHouseholdName; private String providentHouseholdName;
/** /**
* 缴纳地-省 * 公积金缴纳地-省
*/ */
@Length(max = 32, message = "缴纳地-省 不能超过32个字符" ) @Length(max = 32, message = "公积金缴纳地-省 不能超过32个字符" )
@ExcelAttribute(name = "缴纳地-省", maxLength = 32) @ExcelAttribute(name = "公积金缴纳地-省", maxLength = 32)
@Schema(description = "缴纳地-省" ) @Schema(description = "公积金缴纳地-省" )
@ExcelProperty("缴纳地-省" ) @ExcelProperty("公积金缴纳地-省" )
private String fundProvince; private String fundProvince;
/** /**
* 缴纳地-市 * 公积金缴纳地-市
*/ */
@Length(max = 32, message = "缴纳地-市 不能超过32个字符" ) @Length(max = 32, message = "公积金缴纳地-市 不能超过32个字符" )
@ExcelAttribute(name = "缴纳地-市", maxLength = 32) @ExcelAttribute(name = "公积金缴纳地-市", maxLength = 32)
@Schema(description = "缴纳地-市" ) @Schema(description = "公积金缴纳地-市" )
@ExcelProperty("缴纳地-市" ) @ExcelProperty("公积金缴纳地-市" )
private String fundCity; private String fundCity;
/** /**
* 缴纳地-县 * 公积金缴纳地-县
*/ */
@Length(max = 32, message = "缴纳地-县 不能超过32个字符" ) @Length(max = 32, message = "公积金缴纳地-县 不能超过32个字符" )
@ExcelAttribute(name = "缴纳地-县", maxLength = 32) @ExcelAttribute(name = "公积金缴纳地-县", maxLength = 32)
@Schema(description = "缴纳地-县" ) @Schema(description = "公积金缴纳地-县" )
@ExcelProperty("缴纳地-县" ) @ExcelProperty("公积金缴纳地-县" )
private String fundTown; private String fundTown;
/** /**
* 社保派增状态:0待审核、1待办理、2办理成功、3部分办理失败、4办理失败 * 社保派增状态:0待审核、1待办理、2办理成功、3部分办理失败、4办理失败
......
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.social.vo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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.vo.RowIndex;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 社保公积金查询-导出使用
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public class TSocialFundInfoExportVo extends RowIndex implements Serializable {
/**
* id
*/
@TableId(type = IdType.ASSIGN_ID)
@Schema(description = "id")
@ExcelProperty("id")
private String id;
@ExcelAttribute(name = "项目编码", maxLength = 50)
@Schema(description = "项目编码")
@ExcelProperty("项目编码")
private String settleDomainCode;
@ExcelAttribute(name = "员工姓名", maxLength = 50)
@Schema(description = "员工姓名")
@ExcelProperty("员工姓名")
private String empName;
@ExcelAttribute(name = "身份证号", maxLength = 20)
@Schema(description = "身份证号")
@ExcelProperty("身份证号")
private String empIdcard;
@ExcelAttribute(name = "员工类型", maxLength = 32)
@Schema(description = "员工类型")
@ExcelProperty("员工类型")
private String empType;
@ExcelAttribute(name = "手机号码", maxLength = 32)
@Schema(description = "手机号码")
@ExcelProperty("手机号码")
private String empMobile;
@ExcelAttribute(name = "客户名称", maxLength = 50)
@Schema(description = "客户名称")
@ExcelProperty("客户名称")
private String unitName;
@ExcelAttribute(name = "项目名称", maxLength = 50)
@Schema(description = "项目名称")
@ExcelProperty("项目名称")
private String settleDomainName;
@ExcelAttribute(name = "身份证省", isArea = true)
@Schema(description = "身份证省")
@ExcelProperty("身份证省")
private String idCardProvince;
@ExcelAttribute(name = "身份证市", isArea = true, parentField = "idCardProvince")
@Schema(description = "身份证市")
@ExcelProperty("身份证市")
private String idCardCity;
@ExcelAttribute(name = "身份证县", isArea = true, parentField = "idCardCity")
@Schema(description = "身份证县")
@ExcelProperty("身份证县")
private String idCardTown;
@ExcelAttribute(name = "身份证所在地")
@Schema(description = "身份证所在地")
@ExcelProperty("身份证所在地")
private String idCardAddress;
@ExcelAttribute(name = "档案-省")
@Schema(description = "档案-省")
@ExcelProperty("档案-省")
private String fileProvince;
@ExcelAttribute(name = "档案-市", isArea = true, parentField = "fileProvince")
@Schema(description = "档案-市")
@ExcelProperty("档案-市")
private String fileCity;
@ExcelAttribute(name = "档案-县", isArea = true, parentField = "fileCity")
@Schema(description = "档案-县")
@ExcelProperty("档案-县")
private String fileTown;
@ExcelAttribute(name = "岗位", maxLength = 30)
@Schema(description = "岗位")
@ExcelProperty("岗位")
private String post;
@ExcelAttribute(name = "试用期", maxLength = 32)
@Schema(description = "试用期")
@ExcelProperty("试用期")
private String tryPeriod;
@ExcelAttribute(name = "工时制", maxLength = 1, readConverterExp = "1=标准工时,2=综合工时,3=不定时工时制")
@Schema(description = "工时制:1标准工时 2 综合工时 3不定时工时制")
@ExcelProperty("工时制")
private String workingHours;
@ExcelAttribute(name = "民族", isDataId = true, dataType = ExcelAttributeConstants.EMP_NATIONAL)
@Schema(description = "民族")
@ExcelProperty("民族")
private String empNational;
@ExcelAttribute(name = "户口性质", isDataId = true, dataType = ExcelAttributeConstants.EMP_REGISTYPE)
@Schema(description = "户口性质")
@ExcelProperty("户口性质")
private String empRegisType;
@ExcelAttribute(name = "合同类型", maxLength = 32, needExport = true)
@Schema(description = "合同类型", name = "contractName")
private String contractName;
@ExcelAttribute(name = "业务细分", maxLength = 32)
@Schema(description = "业务细分", name = "contractSubName")
private String contractSubName;
// 社保户——2022-7-26 15:02:00 倩倩告诉房工,社保户就是合同甲方
@ExcelAttribute(name = "合同甲方", maxLength = 50, needExport = true)
@Schema(description = "合同甲方")
@Size(max = 50, message = "合同甲方不可超过50位")
private String contractParty;
@ExcelAttribute(name = "签订期限", maxLength = 32, isDataId = true, dataType = ExcelAttributeConstants.EMPLOYEE_CONTRACT_TYPE, needExport = true)
@Schema(description = "签订期限", name = "contractType")
private String contractType;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "合同起始时间", isDate = true)
@Schema(description = "合同起始时间")
@ExcelProperty("合同起始时间")
private Date contractStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "合同到期时间", isDate = true)
@Schema(description = "合同到期时间")
@ExcelProperty("合同到期时间")
private Date contractEnd;
@ExcelAttribute(name = "合同期限")
@Schema(description = "合同期限")
@ExcelProperty("合同期限")
private String contractTerm;
@ExcelAttribute(name = "学历", maxLength = 32)
@Schema(description = "学历", name = "contractName")
private String educationName;
@ExcelAttribute(name = "备案基数", maxLength = 255)
@Schema(description = "备案基数")
@ExcelProperty("备案基数")
private String recordBase;
// 2022-7-26 15:12:25 经房工指导
@ExcelAttribute(name = "社保状态", readConverterExp = "0=派增待审核,1=派增待办理,2=派增办理中,3=派增办理成功,4=派增部分办理失败,5=派增办理失败,10=派增审核不通过,6=派减待审核,7=派减待办理,8=派减办理成功,9=派减办理失败")
@Schema(description = "社保状态:0=派增待审核,1=派增待办理,2=派增办理中,3=派增办理成功,4=派增部分办理失败,5=派增办理失败,10=派增审核不通过,6=派减待审核,7=派减待办理,8=派减办理成功,9=派减办理失败")
@ExcelProperty("社保状态")
private String socialStatus;
@ExcelAttribute(name = "公积金状态", readConverterExp = "0=派增待审核,1=派增待办理,3=派增办理成功,4=派增办理失败,9=派增审核不通过,5=派减待审核,6=派减待办理,7=派减办理成功,8=派减办理失败")
@Schema(description = "公积金状态:0=派增待审核,1=派增待办理,3=派增办理成功,4=派增办理失败,9=派增审核不通过,5=派减待审核,6=派减待办理,7=派减办理成功,8=派减办理失败")
@ExcelProperty("公积金状态")
private String fundStatus;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "社保起缴日期", isDate = true)
@Schema(description = "社保起缴日期")
@ExcelProperty("社保起缴日期")
private Date socialStartDate;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "公积金起缴日期", isDate = true)
@Schema(description = "公积金起缴日期")
@ExcelProperty("公积金起缴日期")
private Date providentStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "社保停缴日期", isDate = true)
@Schema(description = "社保停缴日期")
@ExcelProperty("社保停缴日期")
private Date socialReduceDate;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "公积金停缴日期", isDate = true)
@Schema(description = "公积金停缴日期")
@ExcelProperty("公积金停缴日期")
private Date fundReduceDate;
@ExcelAttribute(name = "单位社保合计")
@Schema(description = "单位社保合计")
@ExcelProperty("单位社保合计")
private BigDecimal unitSocialSum;
@ExcelAttribute(name = "个人社保合计")
@Schema(description = "个人社保合计")
@ExcelProperty("个人社保合计")
private BigDecimal personalSocialSum;
@ExcelAttribute(name = "单位公积金")
@ExcelProperty("单位公积金")
private BigDecimal unitFundSum;
@ExcelAttribute(name = "个人公积金")
@ExcelProperty("个人公积金")
private BigDecimal personalFundSum;
@ExcelAttribute(name = "总缴纳合计")
@ExcelProperty("总缴纳合计")
private BigDecimal allSum;
@ExcelAttribute(name = "社保户", maxLength = 50)
@Schema(description = "社保户")
@ExcelProperty("社保户")
private String socialHouseholdName;
@ExcelAttribute(name = "社保缴纳地-省", isArea = true)
@Schema(description = "社保缴纳地-省")
@ExcelProperty("社保缴纳地-省")
private String socialProvince;
@ExcelAttribute(name = "社保缴纳地-市", isArea = true, parentField = "socialProvince")
@Schema(description = "社保缴纳地-市")
@ExcelProperty("社保缴纳地-市")
private String socialCity;
@ExcelAttribute(name = "社保缴纳地-县", isArea = true, parentField = "socialCity")
@Schema(description = "社保缴纳地-县")
@ExcelProperty("社保缴纳地-县")
private String socialTown;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "养老起缴日期", isDate = true)
@Schema(description = "养老起缴日期")
@ExcelProperty("养老起缴日期")
private Date pensionStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "医疗起缴日期", isDate = true)
@Schema(description = "医疗起缴日期")
@ExcelProperty("医疗起缴日期")
private Date medicalStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "失业起缴日期", isDate = true)
@Schema(description = "失业起缴日期")
@ExcelProperty("失业起缴日期")
private Date unemployStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "工伤起缴日期", isDate = true)
@Schema(description = "工伤起缴日期")
@ExcelProperty("工伤起缴日期")
private Date workInjuryStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "生育起缴日期", isDate = true)
@Schema(description = "生育起缴日期")
@ExcelProperty("生育起缴日期")
private Date birthStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "大病起缴日期", isDate = true)
@Schema(description = "大病起缴日期")
@ExcelProperty("大病起缴日期")
private Date bigailmentStart;
@ExcelAttribute(name = "缴纳类型", readConverterExp = "0=最低缴纳,1=自定义缴纳,2=最高缴纳")
@Schema(description = "缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)")
@ExcelProperty("缴纳类型")
private String paymentType;
@ExcelAttribute(name = "养老基数")
@Schema(description = "养老基数")
@ExcelProperty("养老基数")
private BigDecimal unitPensionCardinal;
@ExcelAttribute(name = "单位养老比例")
@Schema(description = "单位养老比例")
@ExcelProperty("单位养老比例")
private BigDecimal unitPensionPer;
@ExcelAttribute(name = "个人养老比例")
@Schema(description = "个人养老比例")
@ExcelProperty("个人养老比例")
private BigDecimal personalPensionPer;
@ExcelAttribute(name = "单位养老金额")
@Schema(description = "单位养老金额")
@ExcelProperty("单位养老金额")
private BigDecimal unitPersionMoney;
@ExcelAttribute(name = "个人养老金额")
@Schema(description = "个人养老金额")
@ExcelProperty("个人养老金额")
private BigDecimal personalPersionMoney;
@ExcelAttribute(name = "养老金额合计")
@Schema(description = "养老金额合计")
@ExcelProperty("养老金额合计")
private BigDecimal persionMoney;
@ExcelAttribute(name = "医疗基数")
@Schema(description = "医疗基数")
@ExcelProperty("医疗基数")
private BigDecimal unitMedicalCardinal;
@ExcelAttribute(name = "单位医疗比例")
@Schema(description = "单位医疗比例")
@ExcelProperty("单位医疗比例")
private BigDecimal unitMedicalPer;
@ExcelAttribute(name = "个人医疗比例")
@Schema(description = "个人医疗比例")
@ExcelProperty("个人医疗比例")
private BigDecimal personalMedicalPer;
@ExcelAttribute(name = "单位医疗金额")
@Schema(description = "单位医疗金额")
@ExcelProperty("单位医疗金额")
private BigDecimal unitMedicalMoney;
@ExcelAttribute(name = "个人医疗金额")
@Schema(description = "个人医疗金额")
@ExcelProperty("个人医疗金额")
private BigDecimal personalMedicalMoney;
@ExcelAttribute(name = "医疗金额合计")
@Schema(description = "医疗金额合计")
@ExcelProperty("医疗金额合计")
private BigDecimal medicalMoney;
@ExcelAttribute(name = "失业基数")
@Schema(description = "失业基数")
@ExcelProperty("失业基数")
private BigDecimal unitUnemploymentCardinal;
@ExcelAttribute(name = "单位失业比例")
@Schema(description = "单位失业比例")
@ExcelProperty("单位失业比例")
private BigDecimal unitUnemploymentPer;
@ExcelAttribute(name = "个人失业比例")
@Schema(description = "个人失业比例")
@ExcelProperty("个人失业比例")
private BigDecimal personalUnemploymentPer;
@ExcelAttribute(name = "单位失业金额")
@Schema(description = "单位失业金额")
@ExcelProperty("单位失业金额")
private BigDecimal unitUnemploymentMoney;
@ExcelAttribute(name = "个人失业金额")
@Schema(description = "个人失业金额")
@ExcelProperty("个人失业金额")
private BigDecimal personalUnemploymentMoney;
@ExcelAttribute(name = "失业金额合计")
@Schema(description = "失业金额合计")
@ExcelProperty("失业金额合计")
private BigDecimal unemploymentMoney;
@ExcelAttribute(name = "工伤基数")
@Schema(description = "工伤基数")
@ExcelProperty("工伤基数")
private BigDecimal unitWorkInjuryCardinal;
@ExcelAttribute(name = "单位工伤比例")
@Schema(description = "单位工伤比例")
@ExcelProperty("单位工伤比例")
private BigDecimal unitWorkUnjuryPer;
@ExcelAttribute(name = "单位工伤金额")
@Schema(description = "单位工伤金额")
@ExcelProperty("单位工伤金额")
private BigDecimal unitInjuryMoney;
@ExcelAttribute(name = "生育基数")
@Schema(description = "生育基数")
@ExcelProperty("生育基数")
private BigDecimal unitBirthCardinal;
@ExcelAttribute(name = "单位生育比例")
@Schema(description = "单位生育比例")
@ExcelProperty("单位生育比例")
private BigDecimal unitBirthPer;
@ExcelAttribute(name = "单位生育金额")
@Schema(description = "单位生育金额")
@ExcelProperty("单位生育金额")
private BigDecimal unitBirthMoney;
@ExcelAttribute(name = "大病基数")
@Schema(description = "大病基数")
@ExcelProperty("大病基数")
private BigDecimal unitBigailmentCardinal;
@ExcelAttribute(name = "单位大病比例")
@Schema(description = "单位大病比例")
@ExcelProperty("单位大病比例")
private BigDecimal unitBigailmentPer;
@ExcelAttribute(name = "个人大病比例")
@Schema(description = "个人大病比例")
@ExcelProperty("个人大病比例")
private BigDecimal personalBigailmentPer;
@ExcelAttribute(name = "单位大病金额")
@Schema(description = "单位大病金额")
@ExcelProperty("单位大病金额")
private BigDecimal unitBigailmentMoney;
@ExcelAttribute(name = "个人大病金额")
@Schema(description = "个人大病金额")
@ExcelProperty("个人大病金额")
private BigDecimal personalBigailmentMoney;
@ExcelAttribute(name = "大病金额合计")
@Schema(description = "大病金额合计")
@ExcelProperty("大病金额合计")
private BigDecimal bigailmentMoney;
@ExcelAttribute(name = "公积金户", maxLength = 50)
@Schema(description = "公积金户")
@ExcelProperty("公积金户")
private String providentHouseholdName;
@ExcelAttribute(name = "公积金缴纳地-省", maxLength = 32)
@Schema(description = "公积金缴纳地-省")
@ExcelProperty("公积金缴纳地-省")
private String fundProvince;
@ExcelAttribute(name = "公积金缴纳地-市", isArea = true, parentField = "fundProvince")
@Schema(description = "公积金缴纳地-市")
@ExcelProperty("公积金缴纳地-市")
private String fundCity;
@ExcelAttribute(name = "公积金缴纳地-县", isArea = true, parentField = "fundCity")
@Schema(description = "公积金缴纳地-县")
@ExcelProperty("公积金缴纳地-县")
private String fundTown;
@ExcelAttribute(name = "公积金基数")
@Schema(description = "公积金基数")
@ExcelProperty("公积金基数")
private BigDecimal unitProvidengCardinal;
@ExcelAttribute(name = "单位公积金比例")
@Schema(description = "单位公积金比例")
@ExcelProperty("单位公积金比例")
private BigDecimal unitProvidentPer;
@ExcelAttribute(name = "个人公积金比例")
@Schema(description = "个人公积金比例")
@ExcelProperty("个人公积金比例")
private BigDecimal personalProvidentPer;
@ExcelAttribute(name = "单位公积金金额")
@ExcelProperty("单位公积金金额")
private BigDecimal unitFundSum2;
@ExcelAttribute(name = "个人公积金金额")
@ExcelProperty("个人公积金金额")
private BigDecimal personalFundSum2;
@ExcelAttribute(name = "公积金金额合计")
@ExcelProperty("公积金金额合计")
private BigDecimal fundSum;
@ExcelAttribute(name = "委托备注", maxLength = 100)
@Schema(description = "委托备注")
@ExcelProperty("委托备注")
private String trustRemark;
}
...@@ -21,6 +21,7 @@ import io.swagger.v3.oas.annotations.media.Schema; ...@@ -21,6 +21,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.List;
/** /**
* 社保公积金查询表 * 社保公积金查询表
...@@ -31,28 +32,29 @@ import java.time.LocalDateTime; ...@@ -31,28 +32,29 @@ import java.time.LocalDateTime;
@Data @Data
public class TSocialFundInfoSearchVo extends TSocialFundInfo { public class TSocialFundInfoSearchVo extends TSocialFundInfo {
/** /**
* 多选导出或删除等操作 * 多选导出或删除等操作
*/ */
@Schema(description = "选中ID,多个逗号分割") @Schema(description = "选中ID,多个逗号分割")
private String ids; private String ids;
/** private List<String> idList;
/**
* 创建时间区间 [开始时间,结束时间] * 创建时间区间 [开始时间,结束时间]
*/ */
@Schema(description = "创建时间区间") @Schema(description = "创建时间区间")
private LocalDateTime[] createTimes; private LocalDateTime[] createTimes;
/** /**
* @Author fxj * @Author fxj
* 查询数据起 * 查询数据起
**/ **/
@Schema(description = "查询limit 开始") @Schema(description = "查询limit 开始")
private int limitStart; private int limitStart;
/** /**
* @Author fxj * @Author fxj
* 查询数据止 * 查询数据止
**/ **/
@Schema(description = "查询limit 数据条数") @Schema(description = "查询limit 数据条数")
private int limitEnd; private int limitEnd;
} }
...@@ -17,21 +17,22 @@ ...@@ -17,21 +17,22 @@
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.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
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.vo.RowIndex; import com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex;
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.Size;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
/** /**
* 社保公积金查询 * 社保公积金查询-导出使用
* *
* @author fxj * @author fxj
* @date 2022-07-15 11:38:05 * @date 2022-07-15 11:38:05
...@@ -43,823 +44,438 @@ public class TSocialFundInfoVo extends RowIndex implements Serializable { ...@@ -43,823 +44,438 @@ public class TSocialFundInfoVo extends RowIndex implements Serializable {
* id * id
*/ */
@TableId(type = IdType.ASSIGN_ID) @TableId(type = IdType.ASSIGN_ID)
@Schema(description = "id" ) @Schema(description = "id")
@ExcelProperty("id" ) @ExcelProperty("id")
private String id; private String id;
/**
* 员工ID(数据引用) @Schema(description = "项目id-前端查询导出使用")
*/ private String settleDomain;
@Length(max = 32, message = "员工ID(数据引用) 不能超过32 个字符" ) @Schema(description = "社保户id-前端查询导出使用")
@ExcelAttribute(name = "员工ID(数据引用)", maxLength = 32) private String socialHousehold;
@Schema(description = "员工ID(数据引用)" ) @ExcelAttribute(name = "项目编码", maxLength = 50)
@ExcelProperty("员工ID(数据引用)" ) @Schema(description = "项目编码")
private String empId; @ExcelProperty("项目编码")
/** private String settleDomainCode;
* 员工编码
*/
@Length(max = 50, message = "员工编码 不能超过50 个字符" )
@ExcelAttribute(name = "员工编码", maxLength = 50)
@Schema(description = "员工编码" )
@ExcelProperty("员工编码" )
private String empNo;
/**
* 员工姓名
*/
@Length(max = 50, message = "员工姓名 不能超过50 个字符" )
@ExcelAttribute(name = "员工姓名", maxLength = 50) @ExcelAttribute(name = "员工姓名", maxLength = 50)
@Schema(description = "员工姓名" ) @Schema(description = "员工姓名")
@ExcelProperty("员工姓名" ) @ExcelProperty("员工姓名")
private String empName; private String empName;
/**
* 员工身份证 @ExcelAttribute(name = "身份证号", maxLength = 20)
*/ @Schema(description = "身份证号")
@Length(max = 20, message = "员工身份证 不能超过20 个字符" ) @ExcelProperty("身份证号")
@ExcelAttribute(name = "员工身份证", maxLength = 20)
@Schema(description = "员工身份证" )
@ExcelProperty("员工身份证" )
private String empIdcard; private String empIdcard;
/**
* 员工类型
*/
@Length(max = 32, message = "员工类型 不能超过32 个字符" )
@ExcelAttribute(name = "员工类型", maxLength = 32) @ExcelAttribute(name = "员工类型", maxLength = 32)
@Schema(description = "员工类型" ) @Schema(description = "员工类型")
@ExcelProperty("员工类型" ) @ExcelProperty("员工类型")
private String empType; private String empType;
/**
* 结算主体 @ExcelAttribute(name = "手机号码", maxLength = 32)
*/ @Schema(description = "手机号码")
@Length(max = 32, message = "结算主体 不能超过32 个字符" ) @ExcelProperty("手机号码")
@ExcelAttribute(name = "结算主体", maxLength = 32) private String empMobile;
@Schema(description = "结算主体" )
@ExcelProperty("结算主体" ) @ExcelAttribute(name = "客户名称", maxLength = 50)
private String settleDomain; @Schema(description = "客户名称")
/** @ExcelProperty("客户名称")
* 结算主体
*/
@Length(max = 50, message = "结算主体 不能超过50 个字符" )
@ExcelAttribute(name = "结算主体", maxLength = 50)
@Schema(description = "结算主体" )
@ExcelProperty("结算主体" )
private String settleDomainName;
/**
* unitName
*/
@Length(max = 50, message = "unitName 不能超过50 个字符" )
@ExcelAttribute(name = "unitName", maxLength = 50)
@Schema(description = "unitName" )
@ExcelProperty("unitName" )
private String unitName; private String unitName;
/** @ExcelAttribute(name = "项目名称", maxLength = 50)
* unitId @Schema(description = "项目名称")
*/ @ExcelProperty("项目名称")
@Length(max = 32, message = "unitId 不能超过32 个字符" ) private String settleDomainName;
@ExcelAttribute(name = "unitId", maxLength = 32)
@Schema(description = "unitId" ) @ExcelAttribute(name = "身份证省", isArea = true)
@ExcelProperty("unitId" ) @Schema(description = "身份证省")
private String unitId; @ExcelProperty("身份证省")
/** private String idCardProvince;
* 社保户
*/ @ExcelAttribute(name = "身份证市", isArea = true, parentField = "idCardProvince")
@Length(max = 32, message = "社保户 不能超过32 个字符" ) @Schema(description = "身份证市")
@ExcelAttribute(name = "社保户", maxLength = 32) @ExcelProperty("身份证市")
@Schema(description = "社保户" ) private String idCardCity;
@ExcelProperty("社保户" )
private String socialHousehold; @ExcelAttribute(name = "身份证县", isArea = true, parentField = "idCardCity")
/** @Schema(description = "身份证县")
* 社保户 @ExcelProperty("身份证县")
*/ private String idCardTown;
@Length(max = 50, message = "社保户 不能超过50 个字符" )
@ExcelAttribute(name = "身份证所在地")
@Schema(description = "身份证所在地")
@ExcelProperty("身份证所在地")
private String idCardAddress;
@ExcelAttribute(name = "档案-省")
@Schema(description = "档案-省")
@ExcelProperty("档案-省")
private String fileProvince;
@ExcelAttribute(name = "档案-市", isArea = true, parentField = "fileProvince")
@Schema(description = "档案-市")
@ExcelProperty("档案-市")
private String fileCity;
@ExcelAttribute(name = "档案-县", isArea = true, parentField = "fileCity")
@Schema(description = "档案-县")
@ExcelProperty("档案-县")
private String fileTown;
@ExcelAttribute(name = "岗位", maxLength = 30)
@Schema(description = "岗位")
@ExcelProperty("岗位")
private String post;
@ExcelAttribute(name = "试用期", maxLength = 32)
@Schema(description = "试用期")
@ExcelProperty("试用期")
private String tryPeriod;
@ExcelAttribute(name = "工时制", maxLength = 1, readConverterExp = "1=标准工时,2=综合工时,3=不定时工时制")
@Schema(description = "工时制:1标准工时 2 综合工时 3不定时工时制")
@ExcelProperty("工时制")
private String workingHours;
@ExcelAttribute(name = "民族", isDataId = true, dataType = ExcelAttributeConstants.EMP_NATIONAL)
@Schema(description = "民族")
@ExcelProperty("民族")
private String empNational;
@ExcelAttribute(name = "户口性质", isDataId = true, dataType = ExcelAttributeConstants.EMP_REGISTYPE)
@Schema(description = "户口性质")
@ExcelProperty("户口性质")
private String empRegisType;
@ExcelAttribute(name = "合同类型", maxLength = 32, needExport = true)
@Schema(description = "合同类型", name = "contractName")
private String contractName;
@ExcelAttribute(name = "业务细分", maxLength = 32)
@Schema(description = "业务细分", name = "contractSubName")
private String contractSubName;
// 社保户——2022-7-26 15:02:00 倩倩告诉房工,社保户就是合同甲方
@ExcelAttribute(name = "合同甲方", maxLength = 50, needExport = true)
@Schema(description = "合同甲方")
@Size(max = 50, message = "合同甲方不可超过50位")
private String contractParty;
@ExcelAttribute(name = "签订期限", maxLength = 32, isDataId = true, dataType = ExcelAttributeConstants.EMPLOYEE_CONTRACT_TYPE, needExport = true)
@Schema(description = "签订期限", name = "contractType")
private String contractType;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "合同起始时间", isDate = true)
@Schema(description = "合同起始时间")
@ExcelProperty("合同起始时间")
private Date contractStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "合同到期时间", isDate = true)
@Schema(description = "合同到期时间")
@ExcelProperty("合同到期时间")
private Date contractEnd;
@ExcelAttribute(name = "合同期限")
@Schema(description = "合同期限")
@ExcelProperty("合同期限")
private String contractTerm;
@ExcelAttribute(name = "学历", maxLength = 32)
@Schema(description = "学历", name = "contractName")
private String educationName;
@ExcelAttribute(name = "备案基数", maxLength = 255)
@Schema(description = "备案基数")
@ExcelProperty("备案基数")
private String recordBase;
// 2022-7-26 15:12:25 经房工指导
@ExcelAttribute(name = "社保状态", readConverterExp = "0=派增待审核,1=派增待办理,2=派增办理中,3=派增办理成功,4=派增部分办理失败,5=派增办理失败,10=派增审核不通过,6=派减待审核,7=派减待办理,8=派减办理成功,9=派减办理失败")
@Schema(description = "社保状态:0=派增待审核,1=派增待办理,2=派增办理中,3=派增办理成功,4=派增部分办理失败,5=派增办理失败,10=派增审核不通过,6=派减待审核,7=派减待办理,8=派减办理成功,9=派减办理失败")
@ExcelProperty("社保状态")
private String socialStatus;
@ExcelAttribute(name = "公积金状态", readConverterExp = "0=派增待审核,1=派增待办理,3=派增办理成功,4=派增办理失败,9=派增审核不通过,5=派减待审核,6=派减待办理,7=派减办理成功,8=派减办理失败")
@Schema(description = "公积金状态:0=派增待审核,1=派增待办理,3=派增办理成功,4=派增办理失败,9=派增审核不通过,5=派减待审核,6=派减待办理,7=派减办理成功,8=派减办理失败")
@ExcelProperty("公积金状态")
private String fundStatus;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "社保起缴日期", isDate = true)
@Schema(description = "社保起缴日期")
@ExcelProperty("社保起缴日期")
private Date socialStartDate;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "公积金起缴日期", isDate = true)
@Schema(description = "公积金起缴日期")
@ExcelProperty("公积金起缴日期")
private Date providentStart;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "社保停缴日期", isDate = true)
@Schema(description = "社保停缴日期")
@ExcelProperty("社保停缴日期")
private Date socialReduceDate;
@DateTimeFormat("yyyy-MM-dd")
@ExcelAttribute(name = "公积金停缴日期", isDate = true)
@Schema(description = "公积金停缴日期")
@ExcelProperty("公积金停缴日期")
private Date fundReduceDate;
@ExcelAttribute(name = "单位社保合计")
@Schema(description = "单位社保合计")
@ExcelProperty("单位社保合计")
private BigDecimal unitSocialSum;
@ExcelAttribute(name = "个人社保合计")
@Schema(description = "个人社保合计")
@ExcelProperty("个人社保合计")
private BigDecimal personalSocialSum;
@ExcelAttribute(name = "单位公积金")
@ExcelProperty("单位公积金")
private BigDecimal unitFundSum;
@ExcelAttribute(name = "个人公积金")
@ExcelProperty("个人公积金")
private BigDecimal personalFundSum;
@ExcelAttribute(name = "总缴纳合计")
@ExcelProperty("总缴纳合计")
private BigDecimal allSum;
@ExcelAttribute(name = "社保户", maxLength = 50) @ExcelAttribute(name = "社保户", maxLength = 50)
@Schema(description = "社保户" ) @Schema(description = "社保户")
@ExcelProperty("社保户" ) @ExcelProperty("社保户")
private String socialHouseholdName; private String socialHouseholdName;
/**
* 缴纳地-省 @ExcelAttribute(name = "社保缴纳地-省", isArea = true)
*/ @Schema(description = "社保缴纳地-省")
@Length(max = 32, message = "缴纳地-省 不能超过32 个字符" ) @ExcelProperty("社保缴纳地-省")
@ExcelAttribute(name = "缴纳地-省", maxLength = 32)
@Schema(description = "缴纳地-省" )
@ExcelProperty("缴纳地-省" )
private String socialProvince; private String socialProvince;
/** @ExcelAttribute(name = "社保缴纳地-市", isArea = true, parentField = "socialProvince")
* 缴纳地-市 @Schema(description = "社保缴纳地-市")
*/ @ExcelProperty("社保缴纳地-市")
@Length(max = 32, message = "缴纳地-市 不能超过32 个字符" )
@ExcelAttribute(name = "缴纳地-市", maxLength = 32)
@Schema(description = "缴纳地-市" )
@ExcelProperty("缴纳地-市" )
private String socialCity; private String socialCity;
/** @ExcelAttribute(name = "社保缴纳地-县", isArea = true, parentField = "socialCity")
* 缴纳地-县 @Schema(description = "社保缴纳地-县")
*/ @ExcelProperty("社保缴纳地-县")
@Length(max = 32, message = "缴纳地-县 不能超过32 个字符" )
@ExcelAttribute(name = "缴纳地-县", maxLength = 32)
@Schema(description = "缴纳地-县" )
@ExcelProperty("缴纳地-县" )
private String socialTown; private String socialTown;
/**
* 公积金户
*/
@Length(max = 32, message = "公积金户 不能超过32 个字符" )
@ExcelAttribute(name = "公积金户", maxLength = 32)
@Schema(description = "公积金户" )
@ExcelProperty("公积金户" )
private String providentHousehold;
/**
* 公积金户
*/
@Length(max = 50, message = "公积金户 不能超过50 个字符" )
@ExcelAttribute(name = "公积金户", maxLength = 50)
@Schema(description = "公积金户" )
@ExcelProperty("公积金户" )
private String providentHouseholdName;
/**
* 缴纳地-省
*/
@Length(max = 32, message = "缴纳地-省 不能超过32 个字符" )
@ExcelAttribute(name = "缴纳地-省", maxLength = 32)
@Schema(description = "缴纳地-省" )
@ExcelProperty("缴纳地-省" )
private String fundProvince;
/**
* 缴纳地-市
*/
@Length(max = 32, message = "缴纳地-市 不能超过32 个字符" )
@ExcelAttribute(name = "缴纳地-市", maxLength = 32)
@Schema(description = "缴纳地-市" )
@ExcelProperty("缴纳地-市" )
private String fundCity;
/**
* 缴纳地-县
*/
@Length(max = 32, message = "缴纳地-县 不能超过32 个字符" )
@ExcelAttribute(name = "缴纳地-县", maxLength = 32)
@Schema(description = "缴纳地-县" )
@ExcelProperty("缴纳地-县" )
private String fundTown;
/**
* 社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败
*/
@Length(max = 1, message = "社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败 不能超过1 个字符" )
@ExcelAttribute(name = "社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败", maxLength = 1)
@Schema(description = "社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败" )
@ExcelProperty("社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败" )
private String socialAddStatus;
/**
* 公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败
*/
@Length(max = 1, message = "公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败 不能超过1 个字符" )
@ExcelAttribute(name = "公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败", maxLength = 1)
@Schema(description = "公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败" )
@ExcelProperty("公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败" )
private String fundAddStatus;
/**
* “待审核、待办理、办理成功、办理失败”
*/
@Length(max = 1, message = "“待审核、待办理、办理成功、办理失败” 不能超过1 个字符" )
@ExcelAttribute(name = "“待审核、待办理、办理成功、办理失败”", maxLength = 1)
@Schema(description = "“待审核、待办理、办理成功、办理失败”" )
@ExcelProperty("“待审核、待办理、办理成功、办理失败”" )
private String socialReduceStatus;
/**
* “待审核、待办理、办理成功、办理失败”
*/
@Length(max = 1, message = "“待审核、待办理、办理成功、办理失败” 不能超过1 个字符" )
@ExcelAttribute(name = "“待审核、待办理、办理成功、办理失败”", maxLength = 1)
@Schema(description = "“待审核、待办理、办理成功、办理失败”" )
@ExcelProperty("“待审核、待办理、办理成功、办理失败”" )
private String fundReduceStatus;
/**
* 社保ID(取值最新社保ID)
*/
@Length(max = 32, message = "社保ID(取值最新社保ID) 不能超过32 个字符" )
@ExcelAttribute(name = "社保ID(取值最新社保ID)", maxLength = 32)
@Schema(description = "社保ID(取值最新社保ID)" )
@ExcelProperty("社保ID(取值最新社保ID)" )
private String socialId;
/**
* 公积金ID (取值最新公积金ID)
*/
@Length(max = 32, message = "公积金ID (取值最新公积金ID) 不能超过32 个字符" )
@ExcelAttribute(name = "公积金ID (取值最新公积金ID)", maxLength = 32)
@Schema(description = "公积金ID (取值最新公积金ID)" )
@ExcelProperty("公积金ID (取值最新公积金ID)" )
private String fundId;
/** @DateTimeFormat("yyyy-MM-dd")
* 首次购买时间(第一派单月份)
*/
@ExcelAttribute(name = "首次购买时间(第一派单月份)", isDate = true)
@Schema(description = "首次购买时间(第一派单月份)" )
@ExcelProperty("首次购买时间(第一派单月份)" )
private Date firstBuyMonthSocial;
/**
* 单位养老基数
*/
@ExcelAttribute(name = "单位养老基数" )
@Schema(description = "单位养老基数" )
@ExcelProperty("单位养老基数" )
private BigDecimal unitPensionCardinal;
/**
* 单位医疗基数
*/
@ExcelAttribute(name = "单位医疗基数" )
@Schema(description = "单位医疗基数" )
@ExcelProperty("单位医疗基数" )
private BigDecimal unitMedicalCardinal;
/**
* 单位失业基数
*/
@ExcelAttribute(name = "单位失业基数" )
@Schema(description = "单位失业基数" )
@ExcelProperty("单位失业基数" )
private BigDecimal unitUnemploymentCardinal;
/**
* 单位大病救助基数
*/
@ExcelAttribute(name = "单位大病救助基数" )
@Schema(description = "单位大病救助基数" )
@ExcelProperty("单位大病救助基数" )
private BigDecimal unitBigailmentCardinal;
/**
* 单位工伤基数
*/
@ExcelAttribute(name = "单位工伤基数" )
@Schema(description = "单位工伤基数" )
@ExcelProperty("单位工伤基数" )
private BigDecimal unitWorkInjuryCardinal;
/**
* 单位生育基数
*/
@ExcelAttribute(name = "单位生育基数" )
@Schema(description = "单位生育基数" )
@ExcelProperty("单位生育基数" )
private BigDecimal unitBirthCardinal;
/**
* 个人养老基数
*/
@ExcelAttribute(name = "个人养老基数" )
@Schema(description = "个人养老基数" )
@ExcelProperty("个人养老基数" )
private BigDecimal personalPensionCardinal;
/**
* 个人医疗基数
*/
@ExcelAttribute(name = "个人医疗基数" )
@Schema(description = "个人医疗基数" )
@ExcelProperty("个人医疗基数" )
private BigDecimal personalMedicalCardinal;
/**
* 个人大病救助基数
*/
@ExcelAttribute(name = "个人大病救助基数" )
@Schema(description = "个人大病救助基数" )
@ExcelProperty("个人大病救助基数" )
private BigDecimal personalBigailmentCardinal;
/**
* 个人失业基数
*/
@ExcelAttribute(name = "个人失业基数" )
@Schema(description = "个人失业基数" )
@ExcelProperty("个人失业基数" )
private BigDecimal personalUnemploymentCardinal;
/**
* 单位工伤基数
*/
@ExcelAttribute(name = "单位工伤基数" )
@Schema(description = "单位工伤基数" )
@ExcelProperty("单位工伤基数" )
private BigDecimal personalWorkInjuryCardinal;
/**
* 单位养老比例
*/
@ExcelAttribute(name = "单位养老比例" )
@Schema(description = "单位养老比例" )
@ExcelProperty("单位养老比例" )
private BigDecimal unitPensionPer;
/**
* 单位医疗比例
*/
@ExcelAttribute(name = "单位医疗比例" )
@Schema(description = "单位医疗比例" )
@ExcelProperty("单位医疗比例" )
private BigDecimal unitMedicalPer;
/**
* 单位失业比例
*/
@ExcelAttribute(name = "单位失业比例" )
@Schema(description = "单位失业比例" )
@ExcelProperty("单位失业比例" )
private BigDecimal unitUnemploymentPer;
/**
* 单位工伤比例
*/
@ExcelAttribute(name = "单位工伤比例" )
@Schema(description = "单位工伤比例" )
@ExcelProperty("单位工伤比例" )
private BigDecimal unitWorkUnjuryPer;
/**
* 单位生育比例
*/
@ExcelAttribute(name = "单位生育比例" )
@Schema(description = "单位生育比例" )
@ExcelProperty("单位生育比例" )
private BigDecimal unitBirthPer;
/**
* 个人养老比例
*/
@ExcelAttribute(name = "个人养老比例" )
@Schema(description = "个人养老比例" )
@ExcelProperty("个人养老比例" )
private BigDecimal personalPensionPer;
/**
* 个人医疗比例
*/
@ExcelAttribute(name = "个人医疗比例" )
@Schema(description = "个人医疗比例" )
@ExcelProperty("个人医疗比例" )
private BigDecimal personalMedicalPer;
/**
* 个人失业比例
*/
@ExcelAttribute(name = "个人失业比例" )
@Schema(description = "个人失业比例" )
@ExcelProperty("个人失业比例" )
private BigDecimal personalUnemploymentPer;
/**
* 办理状态
*/
@NotBlank(message = "办理状态 不能为空" )
@Length(max = 32, message = "办理状态 不能超过32 个字符" )
@ExcelAttribute(name = "办理状态", isNotEmpty = true, errorInfo = "办理状态 不能为空", maxLength = 32)
@Schema(description = "办理状态" )
@ExcelProperty("办理状态" )
private String handleStatus;
/**
* 个人大病比例
*/
@ExcelAttribute(name = "个人大病比例" )
@Schema(description = "个人大病比例" )
@ExcelProperty("个人大病比例" )
private BigDecimal personalBigailmentPer;
/**
* 单位大病救助比例
*/
@ExcelAttribute(name = "单位大病救助比例" )
@Schema(description = "单位大病救助比例" )
@ExcelProperty("单位大病救助比例" )
private BigDecimal unitBigailmentPer;
/**
* 社保停缴日期
*/
@ExcelAttribute(name = "社保停缴日期", isDate = true)
@Schema(description = "社保停缴日期" )
@ExcelProperty("社保停缴日期" )
private Date socialReduceDate;
/**
* 是否可补缴 0:是,1:否
*/
@Length(max = 1, message = "是否可补缴 0:是,1:否 不能超过1 个字符" )
@ExcelAttribute(name = "是否可补缴 0:是,1:否", maxLength = 1)
@Schema(description = "是否可补缴 0:是,1:否" )
@ExcelProperty("是否可补缴 0:是,1:否" )
private String canOverpay;
/**
* 补缴政策(社保或公积金)
*/
@Length(max = 500, message = "补缴政策(社保或公积金) 不能超过500 个字符" )
@ExcelAttribute(name = "补缴政策(社保或公积金)", maxLength = 500)
@Schema(description = "补缴政策(社保或公积金)" )
@ExcelProperty("补缴政策(社保或公积金)" )
private String payPolicy;
/**
* 补缴期限
*/
@ExcelAttribute(name = "补缴期限" )
@Schema(description = "补缴期限" )
@ExcelProperty("补缴期限" )
private Integer overpayNumber;
/**
* 是否含当月 0:是,1:否
*/
@Length(max = 1, message = "是否含当月 0:是,1:否 不能超过1 个字符" )
@ExcelAttribute(name = "是否含当月 0:是,1:否", maxLength = 1)
@Schema(description = "是否含当月 0:是,1:否" )
@ExcelProperty("是否含当月 0:是,1:否" )
private String haveThisMonth;
/**
* 是否能补缴养老0是1否
*/
@Length(max = 1, message = "是否能补缴养老0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "是否能补缴养老0是1否", maxLength = 1)
@Schema(description = "是否能补缴养老0是1否" )
@ExcelProperty("是否能补缴养老0是1否" )
private String insurancePension;
/**
* 是否能补缴医疗0是1否
*/
@Length(max = 1, message = "是否能补缴医疗0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "是否能补缴医疗0是1否", maxLength = 1)
@Schema(description = "是否能补缴医疗0是1否" )
@ExcelProperty("是否能补缴医疗0是1否" )
private String insuranceMedical;
/**
* 是否能补缴失业0是1否
*/
@Length(max = 1, message = "是否能补缴失业0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "是否能补缴失业0是1否", maxLength = 1)
@Schema(description = "是否能补缴失业0是1否" )
@ExcelProperty("是否能补缴失业0是1否" )
private String insuranceUnemployment;
/**
* 是否能补缴工伤0是1否
*/
@Length(max = 1, message = "是否能补缴工伤0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "是否能补缴工伤0是1否", maxLength = 1)
@Schema(description = "是否能补缴工伤0是1否" )
@ExcelProperty("是否能补缴工伤0是1否" )
private String insuranceInjury;
/**
* 是否能补缴生育0是1否
*/
@Length(max = 1, message = "是否能补缴生育0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "是否能补缴生育0是1否", maxLength = 1)
@Schema(description = "是否能补缴生育0是1否" )
@ExcelProperty("是否能补缴生育0是1否" )
private String insuranceBirth;
/**
* 是否能补缴大病0是1否
*/
@Length(max = 1, message = "是否能补缴大病0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "是否能补缴大病0是1否", maxLength = 1)
@Schema(description = "是否能补缴大病0是1否" )
@ExcelProperty("是否能补缴大病0是1否" )
private String insuranceBigailment;
/**
* 补缴是否采用最新基数0是1否
*/
@Length(max = 1, message = "补缴是否采用最新基数0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "补缴是否采用最新基数0是1否", maxLength = 1)
@Schema(description = "补缴是否采用最新基数0是1否" )
@ExcelProperty("补缴是否采用最新基数0是1否" )
private String latestCardinality;
/**
* 大病是否收费:0否 1 是
*/
@Length(max = 1, message = "大病是否收费:0否 1 是 不能超过1 个字符" )
@ExcelAttribute(name = "大病是否收费:0否 1 是", maxLength = 1)
@Schema(description = "大病是否收费:0否 1 是" )
@ExcelProperty("大病是否收费:0否 1 是" )
private String isIllness;
/**
* 大病缴纳周期:0按年1按月
*/
@Length(max = 1, message = "大病缴纳周期:0按年1按月 不能超过1 个字符" )
@ExcelAttribute(name = "大病缴纳周期:0按年1按月", maxLength = 1)
@Schema(description = "大病缴纳周期:0按年1按月" )
@ExcelProperty("大病缴纳周期:0按年1按月" )
private String collectType;
/**
* 大病取值方式0 按比例 1按定值
*/
@Length(max = 1, message = "大病取值方式0 按比例 1按定值 不能超过1 个字符" )
@ExcelAttribute(name = "大病取值方式0 按比例 1按定值", maxLength = 1)
@Schema(description = "大病取值方式0 按比例 1按定值" )
@ExcelProperty("大病取值方式0 按比例 1按定值" )
private String valueType;
/**
* 大病按年收收取月份1-12月
*/
@ExcelAttribute(name = "大病按年收收取月份1-12月" )
@Schema(description = "大病按年收收取月份1-12月" )
@ExcelProperty("大病按年收收取月份1-12月" )
private Integer collectMoth;
/**
* 收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否
*/
@Length(max = 1, message = "收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否 不能超过1 个字符" )
@ExcelAttribute(name = "收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否", maxLength = 1)
@Schema(description = "收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否" )
@ExcelProperty("收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否" )
private String isChargePersonal;
/**
* 备案基数
*/
@Length(max = 255, message = "备案基数 不能超过255 个字符" )
@ExcelAttribute(name = "备案基数", maxLength = 255)
@Schema(description = "备案基数" )
@ExcelProperty("备案基数" )
private String recordBase;
/**
* 委托备注
*/
@Length(max = 100, message = "委托备注 不能超过100 个字符" )
@ExcelAttribute(name = "委托备注", maxLength = 100)
@Schema(description = "委托备注" )
@ExcelProperty("委托备注" )
private String trustRemark;
/**
* 缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)
*/
@Length(max = 1, message = "缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳) 不能超过1 个字符" )
@ExcelAttribute(name = "缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)", maxLength = 1)
@Schema(description = "缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)" )
@ExcelProperty("缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)" )
private String paymentType;
/**
* 基数上限(社保或公积金)
*/
@ExcelAttribute(name = "基数上限(社保或公积金)" )
@Schema(description = "基数上限(社保或公积金)" )
@ExcelProperty("基数上限(社保或公积金)" )
private BigDecimal upperLimit;
/**
* 基数下限(社保或公积金)
*/
@ExcelAttribute(name = "基数下限(社保或公积金)" )
@Schema(description = "基数下限(社保或公积金)" )
@ExcelProperty("基数下限(社保或公积金)" )
private BigDecimal lowerLimit;
/**
* 养老起缴日期
*/
@ExcelAttribute(name = "养老起缴日期", isDate = true) @ExcelAttribute(name = "养老起缴日期", isDate = true)
@Schema(description = "养老起缴日期" ) @Schema(description = "养老起缴日期")
@ExcelProperty("养老起缴日期" ) @ExcelProperty("养老起缴日期")
private Date pensionStart; private Date pensionStart;
/**
* 医疗起缴日期 @DateTimeFormat("yyyy-MM-dd")
*/
@ExcelAttribute(name = "医疗起缴日期", isDate = true) @ExcelAttribute(name = "医疗起缴日期", isDate = true)
@Schema(description = "医疗起缴日期" ) @Schema(description = "医疗起缴日期")
@ExcelProperty("医疗起缴日期" ) @ExcelProperty("医疗起缴日期")
private Date medicalStart; private Date medicalStart;
/**
* 失业起缴日期 @DateTimeFormat("yyyy-MM-dd")
*/
@ExcelAttribute(name = "失业起缴日期", isDate = true) @ExcelAttribute(name = "失业起缴日期", isDate = true)
@Schema(description = "失业起缴日期" ) @Schema(description = "失业起缴日期")
@ExcelProperty("失业起缴日期" ) @ExcelProperty("失业起缴日期")
private Date unemployStart; private Date unemployStart;
/**
* 工伤起缴日期 @DateTimeFormat("yyyy-MM-dd")
*/
@ExcelAttribute(name = "工伤起缴日期", isDate = true) @ExcelAttribute(name = "工伤起缴日期", isDate = true)
@Schema(description = "工伤起缴日期" ) @Schema(description = "工伤起缴日期")
@ExcelProperty("工伤起缴日期" ) @ExcelProperty("工伤起缴日期")
private Date workInjuryStart; private Date workInjuryStart;
/**
* 生育起缴日期 @DateTimeFormat("yyyy-MM-dd")
*/
@ExcelAttribute(name = "生育起缴日期", isDate = true) @ExcelAttribute(name = "生育起缴日期", isDate = true)
@Schema(description = "生育起缴日期" ) @Schema(description = "生育起缴日期")
@ExcelProperty("生育起缴日期" ) @ExcelProperty("生育起缴日期")
private Date birthStart; private Date birthStart;
/**
* 大病起缴日期 @DateTimeFormat("yyyy-MM-dd")
*/
@ExcelAttribute(name = "大病起缴日期", isDate = true) @ExcelAttribute(name = "大病起缴日期", isDate = true)
@Schema(description = "大病起缴日期" ) @Schema(description = "大病起缴日期")
@ExcelProperty("大病起缴日期" ) @ExcelProperty("大病起缴日期")
private Date bigailmentStart; private Date bigailmentStart;
/**
* 养老办理状态:0待办理1办理成功2办理失败3已派减 @ExcelAttribute(name = "缴纳类型", readConverterExp = "0=最低缴纳,1=自定义缴纳,2=最高缴纳")
*/ @Schema(description = "缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)")
@Length(max = 1, message = "养老办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符" ) @ExcelProperty("缴纳类型")
@ExcelAttribute(name = "养老办理状态:0待办理1办理成功2办理失败3已派减", maxLength = 1) private String paymentType;
@Schema(description = "养老办理状态:0待办理1办理成功2办理失败3已派减" )
@ExcelProperty("养老办理状态:0待办理1办理成功2办理失败3已派减" ) @ExcelAttribute(name = "养老基数")
private String pensionHandle; @Schema(description = "养老基数")
/** @ExcelProperty("养老基数")
* 医疗办理状态:0待办理1办理成功2办理失败3已派减 private BigDecimal unitPensionCardinal;
*/ @ExcelAttribute(name = "单位养老比例")
@Length(max = 1, message = "医疗办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符" ) @Schema(description = "单位养老比例")
@ExcelAttribute(name = "医疗办理状态:0待办理1办理成功2办理失败3已派减", maxLength = 1) @ExcelProperty("单位养老比例")
@Schema(description = "医疗办理状态:0待办理1办理成功2办理失败3已派减" ) private BigDecimal unitPensionPer;
@ExcelProperty("医疗办理状态:0待办理1办理成功2办理失败3已派减" ) @ExcelAttribute(name = "个人养老比例")
private String medicalHandle; @Schema(description = "个人养老比例")
/** @ExcelProperty("个人养老比例")
* 失业办理状态:0待办理1办理成功2办理失败3已派减 private BigDecimal personalPensionPer;
*/ @ExcelAttribute(name = "单位养老金额")
@Length(max = 1, message = "失业办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符" ) @Schema(description = "单位养老金额")
@ExcelAttribute(name = "失业办理状态:0待办理1办理成功2办理失败3已派减", maxLength = 1) @ExcelProperty("单位养老金额")
@Schema(description = "失业办理状态:0待办理1办理成功2办理失败3已派减" )
@ExcelProperty("失业办理状态:0待办理1办理成功2办理失败3已派减" )
private String unemployHandle;
/**
* 工伤办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length(max = 1, message = "工伤办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符" )
@ExcelAttribute(name = "工伤办理状态:0待办理1办理成功2办理失败3已派减", maxLength = 1)
@Schema(description = "工伤办理状态:0待办理1办理成功2办理失败3已派减" )
@ExcelProperty("工伤办理状态:0待办理1办理成功2办理失败3已派减" )
private String workInjuryHandle;
/**
* 生育办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length(max = 1, message = "生育办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符" )
@ExcelAttribute(name = "生育办理状态:0待办理1办理成功2办理失败3已派减", maxLength = 1)
@Schema(description = "生育办理状态:0待办理1办理成功2办理失败3已派减" )
@ExcelProperty("生育办理状态:0待办理1办理成功2办理失败3已派减" )
private String birthHandle;
/**
* 大病办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length(max = 1, message = "大病办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符" )
@ExcelAttribute(name = "大病办理状态:0待办理1办理成功2办理失败3已派减", maxLength = 1)
@Schema(description = "大病办理状态:0待办理1办理成功2办理失败3已派减" )
@ExcelProperty("大病办理状态:0待办理1办理成功2办理失败3已派减" )
private String bigailmentHandle;
/**
* 单位养老金额
*/
@ExcelAttribute(name = "单位养老金额" )
@Schema(description = "单位养老金额" )
@ExcelProperty("单位养老金额" )
private BigDecimal unitPersionMoney; private BigDecimal unitPersionMoney;
/** @ExcelAttribute(name = "个人养老金额")
* 单位医疗金额 @Schema(description = "个人养老金额")
*/ @ExcelProperty("个人养老金额")
@ExcelAttribute(name = "单位医疗金额" ) private BigDecimal personalPersionMoney;
@Schema(description = "单位医疗金额" ) @ExcelAttribute(name = "养老金额合计")
@ExcelProperty("单位医疗金额" ) @Schema(description = "养老金额合计")
@ExcelProperty("养老金额合计")
private BigDecimal persionMoney;
@ExcelAttribute(name = "医疗基数")
@Schema(description = "医疗基数")
@ExcelProperty("医疗基数")
private BigDecimal unitMedicalCardinal;
@ExcelAttribute(name = "单位医疗比例")
@Schema(description = "单位医疗比例")
@ExcelProperty("单位医疗比例")
private BigDecimal unitMedicalPer;
@ExcelAttribute(name = "个人医疗比例")
@Schema(description = "个人医疗比例")
@ExcelProperty("个人医疗比例")
private BigDecimal personalMedicalPer;
@ExcelAttribute(name = "单位医疗金额")
@Schema(description = "单位医疗金额")
@ExcelProperty("单位医疗金额")
private BigDecimal unitMedicalMoney; private BigDecimal unitMedicalMoney;
/** @ExcelAttribute(name = "个人医疗金额")
* 单位失业 @Schema(description = "个人医疗金额")
*/ @ExcelProperty("个人医疗金额")
@ExcelAttribute(name = "单位失业" ) private BigDecimal personalMedicalMoney;
@Schema(description = "单位失业" ) @ExcelAttribute(name = "医疗金额合计")
@ExcelProperty("单位失业" ) @Schema(description = "医疗金额合计")
@ExcelProperty("医疗金额合计")
private BigDecimal medicalMoney;
@ExcelAttribute(name = "失业基数")
@Schema(description = "失业基数")
@ExcelProperty("失业基数")
private BigDecimal unitUnemploymentCardinal;
@ExcelAttribute(name = "单位失业比例")
@Schema(description = "单位失业比例")
@ExcelProperty("单位失业比例")
private BigDecimal unitUnemploymentPer;
@ExcelAttribute(name = "个人失业比例")
@Schema(description = "个人失业比例")
@ExcelProperty("个人失业比例")
private BigDecimal personalUnemploymentPer;
@ExcelAttribute(name = "单位失业金额")
@Schema(description = "单位失业金额")
@ExcelProperty("单位失业金额")
private BigDecimal unitUnemploymentMoney; private BigDecimal unitUnemploymentMoney;
/** @ExcelAttribute(name = "个人失业金额")
* 单位工伤金额 @Schema(description = "个人失业金额")
*/ @ExcelProperty("个人失业金额")
@ExcelAttribute(name = "单位工伤金额" ) private BigDecimal personalUnemploymentMoney;
@Schema(description = "单位工伤金额" ) @ExcelAttribute(name = "失业金额合计")
@ExcelProperty("单位工伤金额" ) @Schema(description = "失业金额合计")
@ExcelProperty("失业金额合计")
private BigDecimal unemploymentMoney;
@ExcelAttribute(name = "工伤基数")
@Schema(description = "工伤基数")
@ExcelProperty("工伤基数")
private BigDecimal unitWorkInjuryCardinal;
@ExcelAttribute(name = "单位工伤比例")
@Schema(description = "单位工伤比例")
@ExcelProperty("单位工伤比例")
private BigDecimal unitWorkUnjuryPer;
@ExcelAttribute(name = "单位工伤金额")
@Schema(description = "单位工伤金额")
@ExcelProperty("单位工伤金额")
private BigDecimal unitInjuryMoney; private BigDecimal unitInjuryMoney;
/**
* 单位生育金额 @ExcelAttribute(name = "生育基数")
*/ @Schema(description = "生育基数")
@ExcelAttribute(name = "单位生育金额" ) @ExcelProperty("生育基数")
@Schema(description = "单位生育金额" ) private BigDecimal unitBirthCardinal;
@ExcelProperty("单位生育金额" ) @ExcelAttribute(name = "单位生育比例")
@Schema(description = "单位生育比例")
@ExcelProperty("单位生育比例")
private BigDecimal unitBirthPer;
@ExcelAttribute(name = "单位生育金额")
@Schema(description = "单位生育金额")
@ExcelProperty("单位生育金额")
private BigDecimal unitBirthMoney; private BigDecimal unitBirthMoney;
/**
* 单位大病救助金额 @ExcelAttribute(name = "大病基数")
*/ @Schema(description = "大病基数")
@ExcelAttribute(name = "单位大病救助金额" ) @ExcelProperty("大病基数")
@Schema(description = "单位大病救助金额" ) private BigDecimal unitBigailmentCardinal;
@ExcelProperty("单位大病救助金额" ) @ExcelAttribute(name = "单位大病比例")
@Schema(description = "单位大病比例")
@ExcelProperty("单位大病比例")
private BigDecimal unitBigailmentPer;
@ExcelAttribute(name = "个人大病比例")
@Schema(description = "个人大病比例")
@ExcelProperty("个人大病比例")
private BigDecimal personalBigailmentPer;
@ExcelAttribute(name = "单位大病金额")
@Schema(description = "单位大病金额")
@ExcelProperty("单位大病金额")
private BigDecimal unitBigailmentMoney; private BigDecimal unitBigailmentMoney;
/** @ExcelAttribute(name = "个人大病金额")
* 个人养老金额 @Schema(description = "个人大病金额")
*/ @ExcelProperty("个人大病金额")
@ExcelAttribute(name = "个人养老金额" )
@Schema(description = "个人养老金额" )
@ExcelProperty("个人养老金额" )
private BigDecimal personalPersionMoney;
/**
* 个人医疗金额
*/
@ExcelAttribute(name = "个人医疗金额" )
@Schema(description = "个人医疗金额" )
@ExcelProperty("个人医疗金额" )
private BigDecimal personalMedicalMoney;
/**
* 个人失业金额
*/
@ExcelAttribute(name = "个人失业金额" )
@Schema(description = "个人失业金额" )
@ExcelProperty("个人失业金额" )
private BigDecimal personalUnemploymentMoney;
/**
* 个人大病金额
*/
@ExcelAttribute(name = "个人大病金额" )
@Schema(description = "个人大病金额" )
@ExcelProperty("个人大病金额" )
private BigDecimal personalBigailmentMoney; private BigDecimal personalBigailmentMoney;
/** @ExcelAttribute(name = "大病金额合计")
* 单位公积金缴纳基数 @Schema(description = "大病金额合计")
*/ @ExcelProperty("大病金额合计")
@NotBlank(message = "单位公积金缴纳基数 不能为空" ) private BigDecimal bigailmentMoney;
@ExcelAttribute(name = "单位公积金缴纳基数", isNotEmpty = true, errorInfo = "单位公积金缴纳基数 不能为空" )
@Schema(description = "单位公积金缴纳基数" ) @ExcelAttribute(name = "公积金户", maxLength = 50)
@ExcelProperty("单位公积金缴纳基数" ) @Schema(description = "公积金户")
@ExcelProperty("公积金户")
private String providentHouseholdName;
@ExcelAttribute(name = "公积金缴纳地-省", maxLength = 32)
@Schema(description = "公积金缴纳地-省")
@ExcelProperty("公积金缴纳地-省")
private String fundProvince;
@ExcelAttribute(name = "公积金缴纳地-市", isArea = true, parentField = "fundProvince")
@Schema(description = "公积金缴纳地-市")
@ExcelProperty("公积金缴纳地-市")
private String fundCity;
@ExcelAttribute(name = "公积金缴纳地-县", isArea = true, parentField = "fundCity")
@Schema(description = "公积金缴纳地-县")
@ExcelProperty("公积金缴纳地-县")
private String fundTown;
@ExcelAttribute(name = "公积金基数")
@Schema(description = "公积金基数")
@ExcelProperty("公积金基数")
private BigDecimal unitProvidengCardinal; private BigDecimal unitProvidengCardinal;
/**
* 个人公积金缴纳基数 @ExcelAttribute(name = "单位公积金比例")
*/ @Schema(description = "单位公积金比例")
@NotBlank(message = "个人公积金缴纳基数 不能为空" ) @ExcelProperty("单位公积金比例")
@ExcelAttribute(name = "个人公积金缴纳基数", isNotEmpty = true, errorInfo = "个人公积金缴纳基数 不能为空" )
@Schema(description = "个人公积金缴纳基数" )
@ExcelProperty("个人公积金缴纳基数" )
private BigDecimal personalProvidentCardinal;
/**
* 社保起缴日期
*/
@ExcelAttribute(name = "社保起缴日期", isDate = true)
@Schema(description = "社保起缴日期" )
@ExcelProperty("社保起缴日期" )
private Date socialStartDate;
/**
* 单位公积金缴纳比例
*/
@ExcelAttribute(name = "单位公积金缴纳比例" )
@Schema(description = "单位公积金缴纳比例" )
@ExcelProperty("单位公积金缴纳比例" )
private BigDecimal unitProvidentPer; private BigDecimal unitProvidentPer;
/** @ExcelAttribute(name = "个人公积金比例")
* 个人公积金缴纳比例 @Schema(description = "个人公积金比例")
*/ @ExcelProperty("个人公积金比例")
@ExcelAttribute(name = "个人公积金缴纳比例" )
@Schema(description = "个人公积金缴纳比例" )
@ExcelProperty("个人公积金缴纳比例" )
private BigDecimal personalProvidentPer; private BigDecimal personalProvidentPer;
/** @ExcelAttribute(name = "单位公积金金额")
* 公积金起缴日期 @ExcelProperty("单位公积金金额")
*/ private BigDecimal unitFundSum2;
@ExcelAttribute(name = "公积金起缴日期", isDate = true) @ExcelAttribute(name = "个人公积金金额")
@Schema(description = "公积金起缴日期" ) @ExcelProperty("个人公积金金额")
@ExcelProperty("公积金起缴日期" ) private BigDecimal personalFundSum2;
private Date providentStart; @ExcelAttribute(name = "公积金金额合计")
/** @ExcelProperty("公积金金额合计")
* 公积金初次购买月份 private BigDecimal fundSum;
*/
@ExcelAttribute(name = "公积金初次购买月份", isDate = true) @ExcelAttribute(name = "委托备注", maxLength = 100)
@Schema(description = "公积金初次购买月份" ) @Schema(description = "委托备注")
@ExcelProperty("公积金初次购买月份" ) @ExcelProperty("委托备注")
private Date firstBuyMothFund; private String trustRemark;
/**
* 基数上限(公积金)
*/
@ExcelAttribute(name = "基数上限(公积金)" )
@Schema(description = "基数上限(公积金)" )
@ExcelProperty("基数上限(公积金)" )
private BigDecimal upperLimitFund;
/**
* 基数下限(公积金)
*/
@ExcelAttribute(name = "基数下限(公积金)" )
@Schema(description = "基数下限(公积金)" )
@ExcelProperty("基数下限(公积金)" )
private BigDecimal lowerLimitFund;
/**
* 单边小数点 ,如:四舍五入、见角进元等
*/
@Length(max = 1, message = "单边小数点 ,如:四舍五入、见角进元等 不能超过1 个字符" )
@ExcelAttribute(name = "单边小数点 ,如:四舍五入、见角进元等", maxLength = 1)
@Schema(description = "单边小数点 ,如:四舍五入、见角进元等" )
@ExcelProperty("单边小数点 ,如:四舍五入、见角进元等" )
private String fundPayPoint;
/**
* 是否可补缴 0:是,1:否(公积金)
*/
@Length(max = 1, message = "是否可补缴 0:是,1:否(公积金) 不能超过1 个字符" )
@ExcelAttribute(name = "是否可补缴 0:是,1:否(公积金)", maxLength = 1)
@Schema(description = "是否可补缴 0:是,1:否(公积金)" )
@ExcelProperty("是否可补缴 0:是,1:否(公积金)" )
private String canOverpayFund;
/**
* 补缴期限(公积金)
*/
@ExcelAttribute(name = "补缴期限(公积金)" )
@Schema(description = "补缴期限(公积金)" )
@ExcelProperty("补缴期限(公积金)" )
private Integer overpayNumberFund;
/**
* 补缴政策(公积金)
*/
@Length(max = 500, message = "补缴政策(公积金) 不能超过500 个字符" )
@ExcelAttribute(name = "补缴政策(公积金)", maxLength = 500)
@Schema(description = "补缴政策(公积金)" )
@ExcelProperty("补缴政策(公积金)" )
private String payPolicyFund;
/**
* 委托备注(公积金)
*/
@Length(max = 100, message = "委托备注(公积金) 不能超过100 个字符" )
@ExcelAttribute(name = "委托备注(公积金)", maxLength = 100)
@Schema(description = "委托备注(公积金)" )
@ExcelProperty("委托备注(公积金)" )
private String trustRemarkFund;
/**
* 是否含当月 0:是,1:否(公积金)
*/
@Length(max = 1, message = "是否含当月 0:是,1:否(公积金) 不能超过1 个字符" )
@ExcelAttribute(name = "是否含当月 0:是,1:否(公积金)", maxLength = 1)
@Schema(description = "是否含当月 0:是,1:否(公积金)" )
@ExcelProperty("是否含当月 0:是,1:否(公积金)" )
private String haveThisMonthFund;
/**
* 补缴是否采用最新基数0是1否(公积金)
*/
@Length(max = 1, message = "补缴是否采用最新基数0是1否(公积金) 不能超过1 个字符" )
@ExcelAttribute(name = "补缴是否采用最新基数0是1否(公积金)", maxLength = 1)
@Schema(description = "补缴是否采用最新基数0是1否(公积金)" )
@ExcelProperty("补缴是否采用最新基数0是1否(公积金)" )
private String latestCardinalityFund;
} }
...@@ -21,6 +21,8 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; ...@@ -21,6 +21,8 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
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.social.entity.TSocialFundInfo; import com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundInfo;
import com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoExportVo;
import com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoSearchVo;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
...@@ -57,4 +59,7 @@ public interface TSocialFundInfoMapper extends BaseMapper<TSocialFundInfo> { ...@@ -57,4 +59,7 @@ public interface TSocialFundInfoMapper extends BaseMapper<TSocialFundInfo> {
**/ **/
List<TSocialFundInfo> getFundList(@Param("empIdCard") String empIdCard, @Param("settleDomainIds") List<String> settleDomainIds); List<TSocialFundInfo> getFundList(@Param("empIdCard") String empIdCard, @Param("settleDomainIds") List<String> settleDomainIds);
List<TSocialFundInfoExportVo> exportList(@Param("tSocialFundInfo") TSocialFundInfoSearchVo tSocialFundInfo);
} }
...@@ -53,6 +53,12 @@ public interface TSocialFundInfoService extends IService<TSocialFundInfo> { ...@@ -53,6 +53,12 @@ public interface TSocialFundInfoService extends IService<TSocialFundInfo> {
**/ **/
R<List<ErrorMessage>> importDiy(InputStream inputStream); R<List<ErrorMessage>> importDiy(InputStream inputStream);
/**
* @Description: 导出
* @Author: hgw
* @Date: 2022/7/26 16:45
* @return: void
**/
void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo); void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo);
List<TSocialFundInfo> noPageDiy(TSocialFundInfoSearchVo searchVo); List<TSocialFundInfo> noPageDiy(TSocialFundInfoSearchVo searchVo);
......
...@@ -40,10 +40,7 @@ import com.yifu.cloud.plus.v1.yifu.social.constants.SocialConstants; ...@@ -40,10 +40,7 @@ import com.yifu.cloud.plus.v1.yifu.social.constants.SocialConstants;
import com.yifu.cloud.plus.v1.yifu.social.entity.*; import com.yifu.cloud.plus.v1.yifu.social.entity.*;
import com.yifu.cloud.plus.v1.yifu.social.mapper.TSocialFundInfoMapper; import com.yifu.cloud.plus.v1.yifu.social.mapper.TSocialFundInfoMapper;
import com.yifu.cloud.plus.v1.yifu.social.service.*; import com.yifu.cloud.plus.v1.yifu.social.service.*;
import com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundHistoryVo; import com.yifu.cloud.plus.v1.yifu.social.vo.*;
import com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoDetailVo;
import com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoSearchVo;
import com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoVo;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -99,7 +96,7 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe ...@@ -99,7 +96,7 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
public void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo) { public void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo) {
String fileName = "社保公积金批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "社保公积金批量导出" + DateUtil.getThisTime() + ".xlsx";
//获取要导出的列表 //获取要导出的列表
List<TSocialFundInfo> list = new ArrayList<>(); List<TSocialFundInfoExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
ServletOutputStream out = null; ServletOutputStream out = null;
try { try {
...@@ -115,10 +112,10 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe ...@@ -115,10 +112,10 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
// 获取实际记录 // 获取实际记录
searchVo.setLimitStart(i); searchVo.setLimitStart(i);
searchVo.setLimitEnd(CommonConstants.EXCEL_EXPORT_LIMIT); searchVo.setLimitEnd(CommonConstants.EXCEL_EXPORT_LIMIT);
list = noPageDiy(searchVo); list = export(searchVo);
if (Common.isNotNull(list)) { if (Common.isNotNull(list)) {
ExcelUtil<TSocialFundInfo> util = new ExcelUtil<>(TSocialFundInfo.class); ExcelUtil<TSocialFundInfoExportVo> util = new ExcelUtil<>(TSocialFundInfoExportVo.class);
for (TSocialFundInfo vo : list) { for (TSocialFundInfoExportVo vo : list) {
util.convertEntity(vo, null, null, null); util.convertEntity(vo, null, null, null);
} }
} }
...@@ -162,6 +159,14 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe ...@@ -162,6 +159,14 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
private List<TSocialFundInfoExportVo> export(TSocialFundInfoSearchVo searchVo) {
List<String> idList = Common.getList(searchVo.getIds());
if (Common.isNotNull(idList)) {
searchVo.setIdList(idList);
}
return baseMapper.exportList(searchVo);
}
private Long noPageCountDiy(TSocialFundInfoSearchVo searchVo) { private Long noPageCountDiy(TSocialFundInfoSearchVo searchVo) {
LambdaQueryWrapper<TSocialFundInfo> wrapper = buildQueryWrapper(searchVo); LambdaQueryWrapper<TSocialFundInfo> wrapper = buildQueryWrapper(searchVo);
List<String> idList = Common.getList(searchVo.getIds()); List<String> idList = Common.getList(searchVo.getIds());
......
...@@ -157,8 +157,110 @@ ...@@ -157,8 +157,110 @@
<result property="dispatchId" column="DISPATCH_ID"/> <result property="dispatchId" column="DISPATCH_ID"/>
</resultMap> </resultMap>
<!-- 社保公积金查询的导出专用 -->
<resultMap id="exportMap" type="com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoExportVo">
<id property="id" column="ID"/>
<result property="empName" column="EMP_NAME"/>
<result property="empIdcard" column="EMP_IDCARD"/>
<result property="empType" column="EMP_TYPE"/>
<result property="empMobile" column="EMP_MOBILE"/>
<result property="settleDomainCode" column="SETTLE_DOMAIN_CODE"/>
<result property="unitName" column="UNIT_NAME"/>
<result property="settleDomainName" column="SETTLE_DOMAIN_NAME"/>
<result property="idCardProvince" column="ID_CARD_PROVINCE"/>
<result property="idCardCity" column="ID_CARD_CITY"/>
<result property="idCardTown" column="ID_CARD_TOWN"/>
<result property="idCardAddress" column="ID_CARD_ADDRESS"/>
<result property="fileProvince" column="FILE_PROVINCE"/>
<result property="fileCity" column="FILE__CITY"/>
<result property="fileTown" column="FILE__TOWN"/>
<result property="post" column="POST"/>
<result property="tryPeriod" column="TRY_PERIOD"/>
<result property="workingHours" column="WORKING_HOURS"/>
<result property="contractName" column="CONTRACT_NAME"/>
<result property="contractSubName" column="CONTRACT_SUB_NAME"/>
<result property="contractParty" column="CONTRACT_PARTY"/>
<result property="contractType" column="CONTRACT_TYPE"/>
<result property="contractStart" column="CONTRACT_START"/>
<result property="contractEnd" column="CONTRACT_END"/>
<result property="contractTerm" column="CONTRACT_TERM"/>
<result property="educationName" column="EDUCATION_NAME"/>
<result property="recordBase" column="RECORD_BASE"/>
<result property="socialStatus" column="SOCIAL_STATUS"/>
<result property="fundStatus" column="FUND_STATUS"/>
<result property="socialStartDate" column="SOCIAL_START_DATE"/>
<result property="providentStart" column="PROVIDENT_START"/>
<result property="socialReduceDate" column="SOCIAL_REDUCE_DATE"/>
<result property="fundReduceDate" column="FUND_REDUCE_DATE"/>
<result property="unitSocialSum" column="UNIT_SOCIAL_SUM"/>
<result property="personalSocialSum" column="PERSONAL_SOCIAL_SUM"/>
<result property="unitFundSum" column="UNIT_FUND_SUM"/>
<result property="personalFundSum" column="PERSONAL_FUND_SUM"/>
<result property="allSum" column="ALL_SUM"/>
<result property="socialHouseholdName" column="SOCIAL_HOUSEHOLD_NAME"/>
<result property="socialProvince" column="SOCIAL_PROVINCE"/>
<result property="socialCity" column="SOCIAL_CITY"/>
<result property="socialTown" column="SOCIAL_TOWN"/>
<result property="pensionStart" column="PENSION_START"/>
<result property="medicalStart" column="MEDICAL_START"/>
<result property="unemployStart" column="UNEMPLOY_START"/>
<result property="workInjuryStart" column="WORK_INJURY_START"/>
<result property="birthStart" column="BIRTH_START"/>
<result property="bigailmentStart" column="BIGAILMENT_START"/>
<result property="paymentType" column="PAYMENT_TYPE"/>
<result property="unitPensionCardinal" column="UNIT_PENSION_CARDINAL"/>
<result property="unitMedicalCardinal" column="UNIT_MEDICAL_CARDINAL"/>
<result property="unitUnemploymentCardinal" column="UNIT_UNEMPLOYMENT_CARDINAL"/>
<result property="unitWorkInjuryCardinal" column="UNIT_WORK_INJURY_CARDINAL"/>
<result property="unitBirthCardinal" column="UNIT_BIRTH_CARDINAL"/>
<result property="unitBigailmentCardinal" column="UNIT_BIGAILMENT_CARDINAL"/>
<result property="unitPensionPer" column="UNIT_PENSION_PER"/>
<result property="unitMedicalPer" column="UNIT_MEDICAL_PER"/>
<result property="unitUnemploymentPer" column="UNIT_UNEMPLOYMENT_PER"/>
<result property="unitWorkUnjuryPer" column="UNIT_WORK_UNJURY_PER"/>
<result property="unitBirthPer" column="UNIT_BIRTH_PER"/>
<result property="unitBigailmentPer" column="UNIT_BIGAILMENT_PER"/>
<result property="unitPersionMoney" column="UNIT_PERSION_MONEY"/>
<result property="unitMedicalMoney" column="UNIT_MEDICAL_MONEY"/>
<result property="unitUnemploymentMoney" column="UNIT_UNEMPLOYMENT_MONEY"/>
<result property="unitInjuryMoney" column="UNIT_INJURY_MONEY"/>
<result property="unitBirthMoney" column="UNIT_BIRTH_MONEY"/>
<result property="unitBigailmentMoney" column="UNIT_BIGAILMENT_MONEY"/>
<result property="personalPensionPer" column="PERSONAL_PENSION_PER"/>
<result property="personalMedicalPer" column="PERSONAL_MEDICAL_PER"/>
<result property="personalUnemploymentPer" column="PERSONAL_UNEMPLOYMENT_PER"/>
<result property="personalBigailmentPer" column="PERSONAL_BIGAILMENT_PER"/>
<result property="personalPersionMoney" column="PERSONAL_PERSION_MONEY"/>
<result property="personalMedicalMoney" column="PERSONAL_MEDICAL_MONEY"/>
<result property="personalUnemploymentMoney" column="PERSONAL_UNEMPLOYMENT_MONEY"/>
<result property="personalBigailmentMoney" column="PERSONAL_BIGAILMENT_MONEY"/>
<result property="persionMoney" column="PERSION_MONEY"/>
<result property="medicalMoney" column="MEDICAL_MONEY"/>
<result property="unemploymentMoney" column="UNEMPLOYMENT_MONEY"/>
<result property="bigailmentMoney" column="BIGAILMENT_MONEY"/>
<result property="providentHouseholdName" column="PROVIDENT_HOUSEHOLD_NAME"/>
<result property="fundProvince" column="FUND_PROVINCE"/>
<result property="fundCity" column="FUND_CITY"/>
<result property="fundTown" column="FUND_TOWN"/>
<result property="unitProvidengCardinal" column="UNIT_PROVIDENG_CARDINAL"/>
<result property="unitProvidentPer" column="UNIT_PROVIDENT_PER"/>
<result property="personalProvidentPer" column="PERSONAL_PROVIDENT_PER"/>
<result property="unitFundSum2" column="UNIT_FUND_SUM2"/>
<result property="personalFundSum2" column="PERSONAL_FUND_SUM2"/>
<result property="fundSum" column="FUND_SUM"/>
<result property="trustRemark" column="TRUST_REMARK"/>
</resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
a.ID, a
.
ID
,
a.EMP_ID, a.EMP_ID,
a.EMP_NO, a.EMP_NO,
a.EMP_NAME, a.EMP_NAME,
...@@ -289,6 +391,12 @@ ...@@ -289,6 +391,12 @@
</sql> </sql>
<sql id="tSocialFundInfo_where"> <sql id="tSocialFundInfo_where">
<if test="tSocialFundInfo != null"> <if test="tSocialFundInfo != null">
<if test="tSocialFundInfo.idList != null">
AND a.id in
<foreach item="idStr" index="index" collection="tSocialFundInfo.idList" open="(" separator="," close=")">
#{idStr}
</foreach>
</if>
<if test="tSocialFundInfo.id != null and tSocialFundInfo.id.trim() != ''"> <if test="tSocialFundInfo.id != null and tSocialFundInfo.id.trim() != ''">
AND a.ID = #{tSocialFundInfo.id} AND a.ID = #{tSocialFundInfo.id}
</if> </if>
...@@ -674,4 +782,115 @@ ...@@ -674,4 +782,115 @@
</if> </if>
</where> </where>
</select> </select>
<!--导出-->
<select id="exportList" resultMap="exportMap">
select
a.ID,
a.EMP_NAME,
a.EMP_IDCARD,
a.EMP_TYPE,
d.EMP_MOBILE,
a.UNIT_NAME,
a.SETTLE_DOMAIN_NAME,
d.ID_CARD_PROVINCE,
d.ID_CARD_CITY,
d.ID_CARD_TOWN,
d.ID_CARD_ADDRESS,
d.FILE_PROVINCE,
d.FILE_CITY,
d.FILE_TOWN,
d.POST,
d.TRY_PERIOD,
d.WORKING_HOURS,
d.CONTRACT_NAME,
d.CONTRACT_SUB_NAME,
a.SOCIAL_HOUSEHOLD_NAME CONTRACT_PARTY,
d.CONTRACT_TYPE,
d.CONTRACT_START,
d.CONTRACT_END,
d.CONTRACT_TERM,
d.EDUCATION_NAME,
a.RECORD_BASE,
a.SOCIAL_STATUS,
a.FUND_STATUS,
a.SOCIAL_START_DATE,
a.PROVIDENT_START,
a.SOCIAL_REDUCE_DATE,
a.FUND_REDUCE_DATE,
a.UNIT_SOCIAL_SUM,
a.PERSONAL_SOCIAL_SUM,
a.UNIT_FUND_SUM,
a.PERSONAL_FUND_SUM,
ifnull(a.UNIT_SOCIAL_SUM,0) + ifnull(a.PERSONAL_SOCIAL_SUM,0) + ifnull(a.UNIT_FUND_SUM,0) + ifnull(a.PERSONAL_FUND_SUM,0) ALL_SUM,
a.SOCIAL_HOUSEHOLD_NAME,
a.SOCIAL_PROVINCE,
a.SOCIAL_CITY,
a.SOCIAL_TOWN,
a.PENSION_START,
a.MEDICAL_START,
a.UNEMPLOY_START,
a.WORK_INJURY_START,
a.BIRTH_START,
a.BIGAILMENT_START,
a.PAYMENT_TYPE,
a.UNIT_PENSION_CARDINAL,
a.UNIT_PENSION_PER,
a.PERSONAL_PENSION_PER,
a.UNIT_PERSION_MONEY,
a.PERSONAL_PERSION_MONEY,
ifnull(a.UNIT_PERSION_MONEY,0) + ifnull(a.PERSONAL_PERSION_MONEY,0) PERSION_MONEY,
a.UNIT_MEDICAL_CARDINAL,
a.UNIT_MEDICAL_PER,
a.PERSONAL_MEDICAL_PER,
a.UNIT_MEDICAL_MONEY,
a.PERSONAL_MEDICAL_MONEY,
ifnull(a.UNIT_MEDICAL_MONEY,0) + ifnull(a.PERSONAL_MEDICAL_MONEY,0) MEDICAL_MONEY,
a.UNIT_UNEMPLOYMENT_CARDINAL,
a.UNIT_UNEMPLOYMENT_PER,
a.PERSONAL_UNEMPLOYMENT_PER,
a.UNIT_UNEMPLOYMENT_MONEY,
a.PERSONAL_UNEMPLOYMENT_MONEY,
ifnull(a.UNIT_UNEMPLOYMENT_MONEY,0) + ifnull(a.PERSONAL_UNEMPLOYMENT_MONEY,0) UNEMPLOYMENT_MONEY,
a.UNIT_WORK_INJURY_CARDINAL,
a.UNIT_WORK_UNJURY_PER,
a.UNIT_INJURY_MONEY,
a.UNIT_BIRTH_CARDINAL,
a.UNIT_BIRTH_PER,
a.UNIT_BIRTH_MONEY,
a.UNIT_BIGAILMENT_CARDINAL,
a.UNIT_BIGAILMENT_PER,
a.PERSONAL_BIGAILMENT_PER,
a.UNIT_BIGAILMENT_MONEY,
a.PERSONAL_BIGAILMENT_MONEY,
ifnull(a.UNIT_BIGAILMENT_MONEY,0) + ifnull(a.PERSONAL_BIGAILMENT_MONEY,0) BIGAILMENT_MONEY,
a.PROVIDENT_HOUSEHOLD_NAME,
d.FUND_PROVINCE,
d.FUND_CITY,
d.FUND_TOWN,
a.UNIT_PROVIDENG_CARDINAL,
a.UNIT_PROVIDENT_PER,
a.PERSONAL_PROVIDENT_PER,
a.UNIT_FUND_SUM UNIT_FUND_SUM2,
a.PERSONAL_FUND_SUM PERSONAL_FUND_SUM2,
ifnull(a.UNIT_FUND_SUM,0) + ifnull(a.PERSONAL_FUND_SUM,0) FUND_SUM,
a.TRUST_REMARK
from t_social_fund_info a
left join t_dispatch_info d on a.DISPATCH_ID=d.ID
<where>
1=1
<include refid="tSocialFundInfo_where"/>
</where>
order by a.CREATE_TIME desc
<if test="tSocialFundInfo.limitStart != null">
limit #{tSocialFundInfo.limitStart},#{tSocialFundInfo.limitEnd}
</if>
</select>
</mapper> </mapper>
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