Commit b420e7e3 authored by hongguangwu's avatar hongguangwu

缴费库精度丢失

parent 3c96e062
package com.yifu.cloud.plus.v1.yifu.social.util;
import com.alibaba.excel.converters.Converter;
import com.alibaba.excel.converters.ReadConverterContext;
import com.alibaba.excel.enums.CellDataTypeEnum;
import com.alibaba.excel.metadata.GlobalConfiguration;
import com.alibaba.excel.metadata.data.ReadCellData;
import com.alibaba.excel.metadata.data.WriteCellData;
import com.alibaba.excel.metadata.property.ExcelContentProperty;
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
/**
* @author hgw
* @description easyExcel金额转换类
* @date 2022-11-15 11:29:08
*/
public class BigDecimalConverter implements Converter<BigDecimal> {
@Override
public Class<BigDecimal> supportJavaTypeKey() {
return BigDecimal.class;
}
@Override
public CellDataTypeEnum supportExcelTypeKey() {
return CellDataTypeEnum.STRING;
}
/**
* 这里读的时候会调用
* @return
*/
@Override
public BigDecimal convertToJavaData(ReadConverterContext<?> context) {
BigDecimal value = context.getReadCellData().getNumberValue();
if (null == value) {
if (null != context.getReadCellData().getStringValue()) {
value = new BigDecimal(context.getReadCellData().getStringValue());
} else {
return null;
}
}
return value.setScale(2, BigDecimal.ROUND_HALF_UP);
}
@Override
public BigDecimal convertToJavaData(ReadCellData cellData, ExcelContentProperty contentProperty
, GlobalConfiguration globalConfiguration) {
return new BigDecimal(cellData.getStringValue()).round(new MathContext(10, RoundingMode.HALF_UP));
}
@Override
public WriteCellData<String> convertToExcelData(BigDecimal value, ExcelContentProperty contentProperty
,GlobalConfiguration globalConfiguration) {
return new WriteCellData<>(String.valueOf(value));
}
}
......@@ -4,6 +4,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex;
import com.yifu.cloud.plus.v1.yifu.social.util.BigDecimalConverter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
......@@ -26,7 +27,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "员工姓名", maxLength = 20,isNotEmpty = true)
@Schema(description = "员工姓名")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工姓名")
@ExcelProperty(value = "员工姓名")
private String empName;
/**
* 员工编码
......@@ -35,7 +36,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "员工编码", maxLength = 32)
@Schema(description = "员工编码")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工编码")
@ExcelProperty(value = "员工编码")
private String empNo;
/**
* 员工ID
......@@ -44,7 +45,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "员工ID", maxLength = 32)
@Schema(description = "员工ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工ID")
@ExcelProperty(value = "员工ID")
private String empId;
/**
* 员工身份证
......@@ -53,7 +54,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "身份证号", isNotEmpty = true, maxLength = 100,errorInfo = "身份证字段不可为空!")
@Schema(description = "身份证号")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("身份证号")
@ExcelProperty(value = "身份证号")
private String empIdcard;
/**
* 社保编号
......@@ -62,7 +63,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保编号", maxLength = 20)
@Schema(description = "社保编号")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保编号")
@ExcelProperty(value = "社保编号")
private String socialSecurityNo;
/**
* 社保缴纳地
......@@ -71,7 +72,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地", isNotEmpty = true, errorInfo = "社保缴纳地不可为空", maxLength = 50)
@Schema(description = "社保缴纳地")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地")
@ExcelProperty(value = "社保缴纳地")
private String socialPayAddr;
/**
......@@ -81,7 +82,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地-省", maxLength = 32, isDataId = true, isArea = true, parentField = "")
@Schema(description = "社保缴纳地-省")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地-省")
@ExcelProperty(value = "社保缴纳地-省")
private Integer socialProvince;
/**
* 社保缴纳地-市
......@@ -90,7 +91,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地-市", maxLength = 32, isDataId = true, isArea = true, parentField = "socialProvince")
@Schema(description = "社保缴纳地-市")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地-市")
@ExcelProperty(value = "社保缴纳地-市")
private Integer socialCity;
/**
* 社保缴纳地-县
......@@ -99,7 +100,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地-县", maxLength = 32, isDataId = true, isArea = true, parentField = "socialCity")
@Schema(description = "社保缴纳地-县")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地-县")
@ExcelProperty(value = "社保缴纳地-县")
private Integer socialTown;
/**
* 社保缴纳月份
......@@ -107,7 +108,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳月份", isNotEmpty = true, errorInfo = "社保缴纳月份不可为空", maxLength = 6, min = 6, isInteger = true)
@Schema(description = "社保缴纳月份")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳月份")
@ExcelProperty(value = "社保缴纳月份")
private String socialPayMonth;
/**
* 社保生成月份
......@@ -116,7 +117,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保生成月份", isNotEmpty = true, errorInfo = "社保生成月份不可为空", maxLength = 6, min = 6,isInteger = true)
@Schema(description = "社保生成月份")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保生成月份")
@ExcelProperty(value = "社保生成月份")
private String socialCreateMonth;
/**
......@@ -125,7 +126,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "参保险种")
@Schema(description = "参保险种")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("参保险种")
@ExcelProperty(value = "参保险种")
private String riskType;
/**
* 个人缴费基数
......@@ -133,16 +134,16 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人缴费基数", isFloat = true,max = "999999999.99")
@Schema(description = "个人缴费基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人缴费基数")
private BigDecimal personalSet;
@ExcelProperty(value = "个人缴费基数", converter = BigDecimalConverter.class)
private BigDecimal personalSet;
/**
* 单位缴费基数
*/
@ExcelAttribute(name = "单位缴费基数", isFloat = true,max = "999999999.99")
@Schema(description = "单位缴费基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位缴费基数")
private BigDecimal unitSet;
@ExcelProperty(value = "单位缴费基数", converter = BigDecimalConverter.class)
private BigDecimal unitSet;
/**
* 个人缴费额
......@@ -150,16 +151,16 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人缴费额", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description = "个人缴费额")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人缴费额")
private BigDecimal personalMoney;
@ExcelProperty(value = "个人缴费额", converter = BigDecimalConverter.class)
private BigDecimal personalMoney;
/**
* 单位缴费额
*/
@ExcelAttribute(name = "单位缴费额", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description = "单位缴费额")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位缴费额")
private BigDecimal unitMoney;
@ExcelProperty(value = "单位缴费额", converter = BigDecimalConverter.class)
private BigDecimal unitMoney;
/**
* 医保基数
......@@ -167,24 +168,24 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "医保基数", isFloat = true,max = "999999999.99")
@Schema(description = "医保基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("医保基数")
private BigDecimal medicalSet;
@ExcelProperty(value = "医保基数", converter = BigDecimalConverter.class)
private BigDecimal medicalSet;
/**
* 医保单位缴费
*/
@ExcelAttribute(name = "医保单位缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description = "医保单位缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("医保单位缴费")
private BigDecimal unitMedicalMoney;
@ExcelProperty(value = "医保单位缴费", converter = BigDecimalConverter.class)
private BigDecimal unitMedicalMoney;
/**
* 医保个人缴费
*/
@ExcelAttribute(name = "医保个人缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description = "医保个人缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("医保个人缴费")
private BigDecimal personalMedicalMoney;
@ExcelProperty(value = "医保个人缴费", converter = BigDecimalConverter.class)
private BigDecimal personalMedicalMoney;
/**
* 单位医疗救助金 (对应单位大病)
......@@ -192,8 +193,8 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位医疗救助金", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description = "单位医疗救助金")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位医疗救助金")
private BigDecimal unitBigailmentMoney;
@ExcelProperty(value = "单位医疗救助金", converter = BigDecimalConverter.class)
private BigDecimal unitBigailmentMoney;
/**
* 个人医疗救助金 (对应个人大病)
......@@ -201,8 +202,8 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人医疗救助金", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description = "个人医疗救助金")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人医疗救助金")
private BigDecimal personalBigailmentMoney;
@ExcelProperty(value = "个人医疗救助金", converter = BigDecimalConverter.class)
private BigDecimal personalBigailmentMoney;
/**
* 社保ID
......@@ -211,7 +212,7 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保ID", maxLength = 32, isDataId = true)
@Schema(description = "社保ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保ID")
@ExcelProperty(value = "社保ID")
private String socialId;
/**
......@@ -221,6 +222,6 @@ public class TPaymentHeFeiVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金ID", maxLength = 32, isDataId = true)
@Schema(description = "公积金ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金ID")
@ExcelProperty(value = "公积金ID")
private String fundId;
}
......@@ -22,6 +22,7 @@ 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.vo.RowIndex;
import com.yifu.cloud.plus.v1.yifu.social.util.BigDecimalConverter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
......@@ -47,7 +48,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "主键", maxLength = 32)
@Schema(description = "主键")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("主键")
@ExcelProperty(value = "主键")
private String id;
/**
* 员工姓名
......@@ -56,7 +57,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "员工姓名", maxLength = 20,isNotEmpty = true)
@Schema(description = "员工姓名")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工姓名")
@ExcelProperty(value = "员工姓名")
private String empName;
/**
* 员工编码
......@@ -65,7 +66,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "员工编码", maxLength = 32)
@Schema(description = "员工编码")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工编码")
@ExcelProperty(value = "员工编码")
private String empNo;
/**
* 员工ID
......@@ -75,7 +76,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "员工ID", maxLength = 32)
@Schema(description = "员工ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工ID")
@ExcelProperty(value = "员工ID")
private String empId;
/**
* 身份证号
......@@ -84,7 +85,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "身份证号", maxLength = 20, isNotEmpty = true,errorInfo = "身份证字段不可为空!")
@Schema(description = "身份证号")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("身份证号")
@ExcelProperty(value = "身份证号")
private String empIdcard;
/**
* 项目id
......@@ -92,7 +93,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "项目id")
@Schema(description ="项目id")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("项目id")
@ExcelProperty(value = "项目id")
private String settleDomainId;
/**
......@@ -101,7 +102,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "项目名称", maxLength = 50)
@Schema(description ="项目名称")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("项目名称")
@ExcelProperty(value = "项目名称")
private String settleDomainName;
/**
......@@ -110,7 +111,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "项目编码", maxLength = 50)
@Schema(description = "项目编码" )
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("项目编码" )
@ExcelProperty(value = "项目编码" )
private String settleDomainCode;
/**
* 客户名称
......@@ -118,7 +119,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "客户名称", maxLength = 50)
@Schema(description ="客户名称")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("客户名称")
@ExcelProperty(value = "客户名称")
private String unitName;
/**
......@@ -127,7 +128,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "客户Id" )
@Schema(description ="客户Id")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("客户Id")
@ExcelProperty(value = "客户Id")
private String unitId;
/**
* 社保户
......@@ -136,7 +137,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保户", maxLength = 32)
@Schema(description = "社保户")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保户")
@ExcelProperty(value = "社保户")
private String socialHousehold;
/**
* 社保编号
......@@ -145,7 +146,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保编号", maxLength = 20)
@Schema(description = "社保编号")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保编号")
@ExcelProperty(value = "社保编号")
private String socialSecurityNo;
/**
* 社保缴纳地
......@@ -154,7 +155,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地", maxLength = 50)
@Schema(description = "社保缴纳地")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地")
@ExcelProperty(value = "社保缴纳地")
private String socialPayAddr;
/**
* 社保缴纳月份
......@@ -162,7 +163,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳月份", maxLength = 6, min = 6,isInteger = true)
@Schema(description = "社保缴纳月份")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳月份")
@ExcelProperty(value = "社保缴纳月份")
private String socialPayMonth;
/**
* 社保生成月份
......@@ -170,7 +171,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保生成月份", maxLength = 6, min = 6,isInteger = true)
@Schema(description = "社保生成月份")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保生成月份")
@ExcelProperty(value = "社保生成月份")
private String socialCreateMonth;
/**
* 锁定状态 0 未锁定 1 锁定
......@@ -179,7 +180,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "锁定状态 0 未锁定 1 锁定", maxLength = 1)
@Schema(description = "锁定状态 0 未锁定 1 锁定")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("锁定状态 0 未锁定 1 锁定")
@ExcelProperty(value = "锁定状态 0 未锁定 1 锁定")
private String lockStatus;
/**
* 总合计
......@@ -187,7 +188,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "总合计")
@Schema(description = "总合计")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("总合计")
@ExcelProperty(value = "总合计", converter = BigDecimalConverter.class)
private BigDecimal sumAll;
/**
* 公积金缴纳月份
......@@ -195,7 +196,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金缴纳月份", maxLength = 6, min = 6,isInteger = true)
@Schema(description = "公积金缴纳月份")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金缴纳月份")
@ExcelProperty(value = "公积金缴纳月份")
private String providentPayMonth;
/**
* 公积金生成月份
......@@ -203,7 +204,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金生成月份", maxLength = 6, min = 6,isInteger = true)
@Schema(description = "公积金生成月份")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金生成月份")
@ExcelProperty(value = "公积金生成月份")
private String providentCreateMonth;
/**
* 公积金户
......@@ -212,7 +213,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金户", maxLength = 32)
@Schema(description = "公积金户")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金户")
@ExcelProperty(value = "公积金户")
private String providentHousehold;
/**
* 公积金缴纳地
......@@ -221,7 +222,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金缴纳地", maxLength = 50)
@Schema(description = "公积金缴纳地")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金缴纳地")
@ExcelProperty(value = "公积金缴纳地")
private String providentPayAddr;
/**
* 公积金缴纳地-省
......@@ -230,7 +231,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金缴纳地-省", maxLength = 32)
@Schema(description = "公积金缴纳地-省")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金缴纳地-省")
@ExcelProperty(value = "公积金缴纳地-省")
private String fundProvince;
/**
* 公积金缴纳地-市
......@@ -239,7 +240,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金缴纳地-市", maxLength = 32)
@Schema(description = "公积金缴纳地-市")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金缴纳地-市")
@ExcelProperty(value = "公积金缴纳地-市")
private String fundCity;
/**
* 公积金缴纳地-县
......@@ -248,7 +249,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金缴纳地-县", maxLength = 32)
@Schema(description = "公积金缴纳地-县")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金缴纳地-县")
@ExcelProperty(value = "公积金缴纳地-县")
private String fundTown;
/**
* 社保缴纳地-省
......@@ -257,7 +258,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地-省", maxLength = 32)
@Schema(description = "社保缴纳地-省")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地-省")
@ExcelProperty(value = "社保缴纳地-省")
private String socialProvince;
/**
* 社保缴纳地-市
......@@ -266,7 +267,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地-市", maxLength = 32)
@Schema(description = "社保缴纳地-市")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地-市")
@ExcelProperty(value = "社保缴纳地-市")
private String socialCity;
/**
* 社保缴纳地-县
......@@ -275,7 +276,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保缴纳地-县", maxLength = 32)
@Schema(description = "社保缴纳地-县")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地-县")
@ExcelProperty(value = "社保缴纳地-县")
private String socialTown;
/**
* 社保ID
......@@ -284,7 +285,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保ID", maxLength = 32)
@Schema(description = "社保ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保ID")
@ExcelProperty(value = "社保ID")
private String socialId;
/**
* 公积金ID
......@@ -293,7 +294,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金ID", maxLength = 32)
@Schema(description = "公积金ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金ID")
@ExcelProperty(value = "公积金ID")
private String fundId;
/**
* 社保合计
......@@ -301,7 +302,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "社保合计")
@Schema(description = "社保合计")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保合计")
@ExcelProperty(value = "社保合计", converter = BigDecimalConverter.class)
private BigDecimal socialSum;
/**
* 单位社保合计
......@@ -309,7 +310,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位社保合计")
@Schema(description = "单位社保合计")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位社保合计")
@ExcelProperty(value = "单位社保合计", converter = BigDecimalConverter.class)
private BigDecimal unitSocialSum;
/**
* 个人社保合计
......@@ -317,7 +318,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人社保合计")
@Schema(description = "个人社保合计")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人社保合计")
@ExcelProperty(value = "个人社保合计", converter = BigDecimalConverter.class)
private BigDecimal socialSecurityPersonalSum;
/**
* 公积金总合计
......@@ -325,7 +326,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金总合计")
@Schema(description = "公积金总合计")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金总合计")
@ExcelProperty(value = "公积金总合计", converter = BigDecimalConverter.class)
private BigDecimal providentSum;
/**
* 就职班组
......@@ -334,7 +335,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "就职班组", maxLength = 50)
@Schema(description = "就职班组")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("就职班组")
@ExcelProperty(value = "就职班组")
private String inauguralTeam;
/**
* 排序字段
......@@ -343,7 +344,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "排序字段", maxLength = 32)
@Schema(description = "排序字段")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("排序字段")
@ExcelProperty(value = "排序字段")
private String sortTime;
/**
* 单位补缴利息
......@@ -351,7 +352,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位补缴利息", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="单位补缴利息")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位补缴利息")
@ExcelProperty(value = "单位补缴利息", converter = BigDecimalConverter.class)
private BigDecimal companyAccrual;
/**
* 个人补缴利息
......@@ -359,7 +360,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人补缴利息", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="个人补缴利息")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人补缴利息")
@ExcelProperty(value = "个人补缴利息", converter = BigDecimalConverter.class)
private BigDecimal personalAccrual;
/**
* 养老基数
......@@ -367,7 +368,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "养老基数", isFloat = true,max = "999999999.99")
@Schema(description ="养老基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("养老基数")
@ExcelProperty(value = "养老基数", converter = BigDecimalConverter.class)
private BigDecimal unitPensionSet;
/**
* 医保基数
......@@ -375,7 +376,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "医保基数", isFloat = true,max = "999999999.99")
@Schema(description ="医保基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("医保基数")
@ExcelProperty(value = "医保基数", converter = BigDecimalConverter.class)
private BigDecimal unitMedicalSet;
/**
* 失业基数
......@@ -383,7 +384,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "失业基数", isFloat = true,max = "999999999.99")
@Schema(description ="失业基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("失业基数")
@ExcelProperty(value = "失业基数", converter = BigDecimalConverter.class)
private BigDecimal unitUnemploymentSet;
/**
* 工伤基数
......@@ -391,7 +392,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "工伤基数", isFloat = true,max = "999999999.99")
@Schema(description ="工伤基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("工伤基数")
@ExcelProperty(value = "工伤基数", converter = BigDecimalConverter.class)
private BigDecimal unitInjurySet;
/**
* 生育基数
......@@ -399,7 +400,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "生育基数", isFloat = true,max = "999999999.99")
@Schema(description ="生育基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("生育基数")
@ExcelProperty(value = "生育基数", converter = BigDecimalConverter.class)
private BigDecimal unitBirthSet;
/**
* 单位养老比例
......@@ -407,7 +408,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位养老比例")
@Schema(description ="单位养老比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位养老比例")
@ExcelProperty(value = "单位养老比例", converter = BigDecimalConverter.class)
private BigDecimal unitPensionPer;
/**
* 单位医疗比例
......@@ -415,7 +416,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位医疗比例")
@Schema(description ="单位医疗比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位医疗比例")
@ExcelProperty(value = "单位医疗比例", converter = BigDecimalConverter.class)
private BigDecimal unitMedicalPer;
/**
* 单位失业比例
......@@ -423,7 +424,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位失业比例")
@Schema(description ="单位失业比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位失业比例")
@ExcelProperty(value = "单位失业比例", converter = BigDecimalConverter.class)
private BigDecimal unitUnemploymentPer;
/**
* 单位工伤比例
......@@ -431,7 +432,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位工伤比例")
@Schema(description ="单位工伤比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位工伤比例")
@ExcelProperty(value = "单位工伤比例", converter = BigDecimalConverter.class)
private BigDecimal unitInjuryPer;
/**
* 单位生育比例
......@@ -439,7 +440,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位生育比例")
@Schema(description ="单位生育比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位生育比例")
@ExcelProperty(value = "单位生育比例", converter = BigDecimalConverter.class)
private BigDecimal unitBirthPer;
/**
* 个人养老比例
......@@ -447,7 +448,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人养老比例")
@Schema(description ="个人养老比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人养老比例")
@ExcelProperty(value = "个人养老比例", converter = BigDecimalConverter.class)
private BigDecimal personalPensionPer;
/**
* 个人医疗比例
......@@ -455,7 +456,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人医疗比例")
@Schema(description ="个人医疗比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人医疗比例")
@ExcelProperty(value = "个人医疗比例", converter = BigDecimalConverter.class)
private BigDecimal personalMedicalPer;
/**
* 个人失业比例
......@@ -463,7 +464,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人失业比例")
@Schema(description ="个人失业比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人失业比例")
@ExcelProperty(value = "个人失业比例", converter = BigDecimalConverter.class)
private BigDecimal personalUnemploymentPer;
/**
* 单位大病比例
......@@ -471,7 +472,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位大病比例")
@Schema(description ="单位大病比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位大病比例")
@ExcelProperty(value = "单位大病比例", converter = BigDecimalConverter.class)
private BigDecimal unitBigailmentPer;
/**
* 个人大病比例
......@@ -479,7 +480,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人大病比例")
@Schema(description ="个人大病比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人大病比例")
@ExcelProperty(value = "个人大病比例", converter = BigDecimalConverter.class)
private BigDecimal personalBigailmentPer;
/**
* 养老单位缴费
......@@ -487,7 +488,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "养老单位缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="养老单位缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("养老单位缴费")
@ExcelProperty(value = "养老单位缴费", converter = BigDecimalConverter.class)
private BigDecimal unitPensionMoney;
/**
* 医保单位缴费
......@@ -495,7 +496,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "医保单位缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="医保单位缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("医保单位缴费")
@ExcelProperty(value = "医保单位缴费", converter = BigDecimalConverter.class)
private BigDecimal unitMedicalMoney;
/**
* 失业单位缴费
......@@ -503,7 +504,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "失业单位缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="失业单位缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("失业单位缴费")
@ExcelProperty(value = "失业单位缴费", converter = BigDecimalConverter.class)
private BigDecimal unitUnemploymentMoney;
/**
* 工伤缴费
......@@ -511,7 +512,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "工伤缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="工伤缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("工伤缴费")
@ExcelProperty(value = "工伤缴费", converter = BigDecimalConverter.class)
private BigDecimal unitInjuryMoney;
/**
* 生育缴费
......@@ -519,7 +520,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "生育缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="生育缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("生育缴费")
@ExcelProperty(value = "生育缴费", converter = BigDecimalConverter.class)
private BigDecimal unitBirthMoney;
/**
* 单位医疗救助金
......@@ -527,7 +528,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "单位医疗救助金", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="单位医疗救助金")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("单位医疗救助金")
@ExcelProperty(value = "单位医疗救助金", converter = BigDecimalConverter.class)
private BigDecimal unitBigmailmentMoney;
/**
* 养老个人缴费
......@@ -535,7 +536,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "养老个人缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="养老个人缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("养老个人缴费")
@ExcelProperty(value = "养老个人缴费", converter = BigDecimalConverter.class)
private BigDecimal personalPensionMoney;
/**
* 医保个人缴费
......@@ -543,7 +544,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "医保个人缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="医保个人缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("医保个人缴费")
@ExcelProperty(value = "医保个人缴费", converter = BigDecimalConverter.class)
private BigDecimal personalMedicalMoney;
/**
* 失业个人缴费
......@@ -551,7 +552,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "失业个人缴费", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="失业个人缴费")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("失业个人缴费")
@ExcelProperty(value = "失业个人缴费", converter = BigDecimalConverter.class)
private BigDecimal personalUnemploymentMoney;
/**
* 个人医疗救助金
......@@ -559,7 +560,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人医疗救助金", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="个人医疗救助金")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人医疗救助金")
@ExcelProperty(value = "个人医疗救助金", converter = BigDecimalConverter.class)
private BigDecimal personalBigmailmentMoney;
/**
* 公积金编号
......@@ -568,7 +569,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金编号", maxLength = 20 )
@Schema(description ="公积金编号")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金编号")
@ExcelProperty(value = "公积金编号")
private String providentNo;
/**
* 公积金单边基数
......@@ -576,7 +577,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金单边基数", isFloat = true,max = "999999999.99")
@Schema(description ="公积金单边基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金单边基数")
@ExcelProperty(value = "公积金单边基数", converter = BigDecimalConverter.class)
private BigDecimal unitProvidentSet;
/**
* 公积金单边比例
......@@ -584,7 +585,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金单边比例", isFloat = true,max = "100.00")
@Schema(description ="公积金单边比例")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金单边比例")
@ExcelProperty(value = "公积金单边比例", converter = BigDecimalConverter.class)
private BigDecimal providentPercent;
/**
* 公积金单边金额
......@@ -592,7 +593,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "公积金单边金额", isFloat = true,max = "999999999.99", min= -999999999)
@Schema(description ="公积金单边金额")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("公积金单边金额")
@ExcelProperty(value = "公积金单边金额", converter = BigDecimalConverter.class)
private BigDecimal unitProvidentSum;
/**
* 个人公积金基数
......@@ -600,7 +601,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人公积金基数", isFloat = true,max = "999999999.99")
@Schema(description ="个人公积金基数")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人公积金基数")
@ExcelProperty(value = "个人公积金基数", converter = BigDecimalConverter.class)
private BigDecimal personalProidentSet;
/**
* 个人公积金费用
......@@ -608,7 +609,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "个人公积金费用")
@Schema(description ="个人公积金费用")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("个人公积金费用")
@ExcelProperty(value = "个人公积金费用", converter = BigDecimalConverter.class)
private BigDecimal personalProvidentSum;
/**
* 创建者
......@@ -617,7 +618,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "创建者", maxLength = 64)
@Schema(description = "创建者")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("创建者")
@ExcelProperty(value = "创建者")
private String createBy;
/**
* 更新人
......@@ -626,7 +627,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "更新人", maxLength = 64)
@Schema(description = "更新人")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("更新人")
@ExcelProperty(value = "更新人")
private String updateBy;
/**
* 创建人姓名
......@@ -635,7 +636,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "创建人姓名", maxLength = 32)
@Schema(description = "创建人姓名")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("创建人姓名")
@ExcelProperty(value = "创建人姓名")
private String createName;
/**
* 创建时间
......@@ -643,7 +644,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "创建时间", isDate = true)
@Schema(description = "创建时间")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("创建时间")
@ExcelProperty(value = "创建时间")
private Date createTime;
/**
* 更新时间
......@@ -651,7 +652,7 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "更新时间", isDate = true)
@Schema(description = "更新时间")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("更新时间")
@ExcelProperty(value = "更新时间")
private Date updateTime;
}
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