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 = "创建时间区间") */
private LocalDateTime[] createTimes; @Schema(description = "创建时间区间")
/** private LocalDateTime[] createTimes;
* @Author fxj /**
* 查询数据起 * @Author fxj
**/ * 查询数据起
@Schema(description = "查询limit 开始") **/
private int limitStart; @Schema(description = "查询limit 开始")
/** private int limitStart;
* @Author fxj /**
* 查询数据止 * @Author fxj
**/ * 查询数据止
@Schema(description = "查询limit 数据条数") **/
private int limitEnd; @Schema(description = "查询limit 数据条数")
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,7 +53,13 @@ public interface TSocialFundInfoService extends IService<TSocialFundInfo> { ...@@ -53,7 +53,13 @@ public interface TSocialFundInfoService extends IService<TSocialFundInfo> {
**/ **/
R<List<ErrorMessage>> importDiy(InputStream inputStream); R<List<ErrorMessage>> importDiy(InputStream inputStream);
void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo); /**
* @Description: 导出
* @Author: hgw
* @Date: 2022/7/26 16:45
* @return: void
**/
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());
......
...@@ -23,142 +23,244 @@ ...@@ -23,142 +23,244 @@
<mapper namespace="com.yifu.cloud.plus.v1.yifu.social.mapper.TSocialFundInfoMapper"> <mapper namespace="com.yifu.cloud.plus.v1.yifu.social.mapper.TSocialFundInfoMapper">
<resultMap id="tSocialFundInfoMap" type="com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundInfo"> <resultMap id="tSocialFundInfoMap" type="com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundInfo">
<id property="id" column="ID"/> <id property="id" column="ID"/>
<result property="empId" column="EMP_ID"/> <result property="empId" column="EMP_ID"/>
<result property="empNo" column="EMP_NO"/> <result property="empNo" column="EMP_NO"/>
<result property="empName" column="EMP_NAME"/> <result property="empName" column="EMP_NAME"/>
<result property="empIdcard" column="EMP_IDCARD"/> <result property="empIdcard" column="EMP_IDCARD"/>
<result property="empType" column="EMP_TYPE"/> <result property="empType" column="EMP_TYPE"/>
<result property="settleDomain" column="SETTLE_DOMAIN"/> <result property="settleDomain" column="SETTLE_DOMAIN"/>
<result property="settleDomainCode" column="SETTLE_DOMAIN_CODE"/> <result property="settleDomainCode" column="SETTLE_DOMAIN_CODE"/>
<result property="settleDomainName" column="SETTLE_DOMAIN_NAME"/> <result property="settleDomainName" column="SETTLE_DOMAIN_NAME"/>
<result property="unitName" column="UNIT_NAME"/> <result property="unitName" column="UNIT_NAME"/>
<result property="unitId" column="UNIT_ID"/> <result property="unitId" column="UNIT_ID"/>
<result property="settleDomainFund" column="SETTLE_DOMAIN_FUND"/> <result property="settleDomainFund" column="SETTLE_DOMAIN_FUND"/>
<result property="settleDomainCodeFund" column="SETTLE_DOMAIN_CODE_FUND"/> <result property="settleDomainCodeFund" column="SETTLE_DOMAIN_CODE_FUND"/>
<result property="settleDomainNameFund" column="SETTLE_DOMAIN_NAME_FUND"/> <result property="settleDomainNameFund" column="SETTLE_DOMAIN_NAME_FUND"/>
<result property="unitNameFund" column="UNIT_NAME_FUND"/> <result property="unitNameFund" column="UNIT_NAME_FUND"/>
<result property="unitIdFund" column="UNIT_ID_FUND"/> <result property="unitIdFund" column="UNIT_ID_FUND"/>
<result property="socialHousehold" column="SOCIAL_HOUSEHOLD"/> <result property="socialHousehold" column="SOCIAL_HOUSEHOLD"/>
<result property="socialHouseholdName" column="SOCIAL_HOUSEHOLD_NAME"/> <result property="socialHouseholdName" column="SOCIAL_HOUSEHOLD_NAME"/>
<result property="socialProvince" column="SOCIAL_PROVINCE"/> <result property="socialProvince" column="SOCIAL_PROVINCE"/>
<result property="socialCity" column="SOCIAL_CITY"/> <result property="socialCity" column="SOCIAL_CITY"/>
<result property="socialTown" column="SOCIAL_TOWN"/> <result property="socialTown" column="SOCIAL_TOWN"/>
<result property="providentHousehold" column="PROVIDENT_HOUSEHOLD"/> <result property="providentHousehold" column="PROVIDENT_HOUSEHOLD"/>
<result property="providentHouseholdName" column="PROVIDENT_HOUSEHOLD_NAME"/> <result property="providentHouseholdName" column="PROVIDENT_HOUSEHOLD_NAME"/>
<result property="fundProvince" column="FUND_PROVINCE"/> <result property="fundProvince" column="FUND_PROVINCE"/>
<result property="fundCity" column="FUND_CITY"/> <result property="fundCity" column="FUND_CITY"/>
<result property="fundTown" column="FUND_TOWN"/> <result property="fundTown" column="FUND_TOWN"/>
<result property="socialAddStatus" column="SOCIAL_ADD_STATUS"/> <result property="socialAddStatus" column="SOCIAL_ADD_STATUS"/>
<result property="fundAddStatus" column="FUND_ADD_STATUS"/> <result property="fundAddStatus" column="FUND_ADD_STATUS"/>
<result property="socialReduceStatus" column="SOCIAL_REDUCE_STATUS"/> <result property="socialReduceStatus" column="SOCIAL_REDUCE_STATUS"/>
<result property="fundReduceStatus" column="FUND_REDUCE_STATUS"/> <result property="fundReduceStatus" column="FUND_REDUCE_STATUS"/>
<result property="socialId" column="SOCIAL_ID"/> <result property="socialId" column="SOCIAL_ID"/>
<result property="fundId" column="FUND_ID"/> <result property="fundId" column="FUND_ID"/>
<result property="createBy" column="CREATE_BY"/> <result property="createBy" column="CREATE_BY"/>
<result property="updateBy" column="UPDATE_BY"/> <result property="updateBy" column="UPDATE_BY"/>
<result property="createName" column="CREATE_NAME"/> <result property="createName" column="CREATE_NAME"/>
<result property="updateTime" column="UPDATE_TIME"/> <result property="updateTime" column="UPDATE_TIME"/>
<result property="firstBuyMonthSocial" column="FIRST_BUY_MONTH_SOCIAL"/> <result property="firstBuyMonthSocial" column="FIRST_BUY_MONTH_SOCIAL"/>
<result property="unitPensionCardinal" column="UNIT_PENSION_CARDINAL"/> <result property="unitPensionCardinal" column="UNIT_PENSION_CARDINAL"/>
<result property="unitMedicalCardinal" column="UNIT_MEDICAL_CARDINAL"/> <result property="unitMedicalCardinal" column="UNIT_MEDICAL_CARDINAL"/>
<result property="unitUnemploymentCardinal" column="UNIT_UNEMPLOYMENT_CARDINAL"/> <result property="unitUnemploymentCardinal" column="UNIT_UNEMPLOYMENT_CARDINAL"/>
<result property="unitBigailmentCardinal" column="UNIT_BIGAILMENT_CARDINAL"/> <result property="unitBigailmentCardinal" column="UNIT_BIGAILMENT_CARDINAL"/>
<result property="unitWorkInjuryCardinal" column="UNIT_WORK_INJURY_CARDINAL"/> <result property="unitWorkInjuryCardinal" column="UNIT_WORK_INJURY_CARDINAL"/>
<result property="unitBirthCardinal" column="UNIT_BIRTH_CARDINAL"/> <result property="unitBirthCardinal" column="UNIT_BIRTH_CARDINAL"/>
<result property="personalPensionCardinal" column="PERSONAL_PENSION_CARDINAL"/> <result property="personalPensionCardinal" column="PERSONAL_PENSION_CARDINAL"/>
<result property="personalMedicalCardinal" column="PERSONAL_MEDICAL_CARDINAL"/> <result property="personalMedicalCardinal" column="PERSONAL_MEDICAL_CARDINAL"/>
<result property="personalBigailmentCardinal" column="PERSONAL_BIGAILMENT_CARDINAL"/> <result property="personalBigailmentCardinal" column="PERSONAL_BIGAILMENT_CARDINAL"/>
<result property="personalUnemploymentCardinal" column="PERSONAL_UNEMPLOYMENT_CARDINAL"/> <result property="personalUnemploymentCardinal" column="PERSONAL_UNEMPLOYMENT_CARDINAL"/>
<result property="unitPensionPer" column="UNIT_PENSION_PER"/> <result property="unitPensionPer" column="UNIT_PENSION_PER"/>
<result property="unitMedicalPer" column="UNIT_MEDICAL_PER"/> <result property="unitMedicalPer" column="UNIT_MEDICAL_PER"/>
<result property="unitUnemploymentPer" column="UNIT_UNEMPLOYMENT_PER"/> <result property="unitUnemploymentPer" column="UNIT_UNEMPLOYMENT_PER"/>
<result property="unitWorkUnjuryPer" column="UNIT_WORK_UNJURY_PER"/> <result property="unitWorkUnjuryPer" column="UNIT_WORK_UNJURY_PER"/>
<result property="unitBirthPer" column="UNIT_BIRTH_PER"/> <result property="unitBirthPer" column="UNIT_BIRTH_PER"/>
<result property="personalPensionPer" column="PERSONAL_PENSION_PER"/> <result property="personalPensionPer" column="PERSONAL_PENSION_PER"/>
<result property="personalMedicalPer" column="PERSONAL_MEDICAL_PER"/> <result property="personalMedicalPer" column="PERSONAL_MEDICAL_PER"/>
<result property="personalUnemploymentPer" column="PERSONAL_UNEMPLOYMENT_PER"/> <result property="personalUnemploymentPer" column="PERSONAL_UNEMPLOYMENT_PER"/>
<result property="handleStatus" column="HANDLE_STATUS"/> <result property="handleStatus" column="HANDLE_STATUS"/>
<result property="personalBigailmentPer" column="PERSONAL_BIGAILMENT_PER"/> <result property="personalBigailmentPer" column="PERSONAL_BIGAILMENT_PER"/>
<result property="unitBigailmentPer" column="UNIT_BIGAILMENT_PER"/> <result property="unitBigailmentPer" column="UNIT_BIGAILMENT_PER"/>
<result property="socialReduceDate" column="SOCIAL_REDUCE_DATE"/> <result property="socialReduceDate" column="SOCIAL_REDUCE_DATE"/>
<result property="canOverpay" column="CAN_OVERPAY"/> <result property="canOverpay" column="CAN_OVERPAY"/>
<result property="payPolicy" column="PAY_POLICY"/> <result property="payPolicy" column="PAY_POLICY"/>
<result property="overpayNumber" column="OVERPAY_NUMBER"/> <result property="overpayNumber" column="OVERPAY_NUMBER"/>
<result property="haveThisMonth" column="HAVE_THIS_MONTH"/> <result property="haveThisMonth" column="HAVE_THIS_MONTH"/>
<result property="insurancePension" column="INSURANCE_PENSION"/> <result property="insurancePension" column="INSURANCE_PENSION"/>
<result property="insuranceMedical" column="INSURANCE_MEDICAL"/> <result property="insuranceMedical" column="INSURANCE_MEDICAL"/>
<result property="insuranceUnemployment" column="INSURANCE_UNEMPLOYMENT"/> <result property="insuranceUnemployment" column="INSURANCE_UNEMPLOYMENT"/>
<result property="insuranceInjury" column="INSURANCE_INJURY"/> <result property="insuranceInjury" column="INSURANCE_INJURY"/>
<result property="insuranceBirth" column="INSURANCE_BIRTH"/> <result property="insuranceBirth" column="INSURANCE_BIRTH"/>
<result property="insuranceBigailment" column="INSURANCE_BIGAILMENT"/> <result property="insuranceBigailment" column="INSURANCE_BIGAILMENT"/>
<result property="latestCardinality" column="LATEST_CARDINALITY"/> <result property="latestCardinality" column="LATEST_CARDINALITY"/>
<result property="isIllness" column="IS_ILLNESS"/> <result property="isIllness" column="IS_ILLNESS"/>
<result property="collectType" column="COLLECT_TYPE"/> <result property="collectType" column="COLLECT_TYPE"/>
<result property="valueType" column="VALUE_TYPE"/> <result property="valueType" column="VALUE_TYPE"/>
<result property="collectMoth" column="COLLECT_MOTH"/> <result property="collectMoth" column="COLLECT_MOTH"/>
<result property="isChargePersonal" column="IS_CHARGE_PERSONAL"/> <result property="isChargePersonal" column="IS_CHARGE_PERSONAL"/>
<result property="recordBase" column="RECORD_BASE"/> <result property="recordBase" column="RECORD_BASE"/>
<result property="trustRemark" column="TRUST_REMARK"/> <result property="trustRemark" column="TRUST_REMARK"/>
<result property="paymentType" column="PAYMENT_TYPE"/> <result property="paymentType" column="PAYMENT_TYPE"/>
<result property="upperLimit" column="UPPER_LIMIT"/> <result property="upperLimit" column="UPPER_LIMIT"/>
<result property="lowerLimit" column="LOWER_LIMIT"/> <result property="lowerLimit" column="LOWER_LIMIT"/>
<result property="pensionStart" column="PENSION_START"/> <result property="pensionStart" column="PENSION_START"/>
<result property="medicalStart" column="MEDICAL_START"/> <result property="medicalStart" column="MEDICAL_START"/>
<result property="unemployStart" column="UNEMPLOY_START"/> <result property="unemployStart" column="UNEMPLOY_START"/>
<result property="workInjuryStart" column="WORK_INJURY_START"/> <result property="workInjuryStart" column="WORK_INJURY_START"/>
<result property="birthStart" column="BIRTH_START"/> <result property="birthStart" column="BIRTH_START"/>
<result property="bigailmentStart" column="BIGAILMENT_START"/> <result property="bigailmentStart" column="BIGAILMENT_START"/>
<result property="pensionHandle" column="PENSION_HANDLE"/> <result property="pensionHandle" column="PENSION_HANDLE"/>
<result property="medicalHandle" column="MEDICAL_HANDLE"/> <result property="medicalHandle" column="MEDICAL_HANDLE"/>
<result property="unemployHandle" column="UNEMPLOY_HANDLE"/> <result property="unemployHandle" column="UNEMPLOY_HANDLE"/>
<result property="workInjuryHandle" column="WORK_INJURY_HANDLE"/> <result property="workInjuryHandle" column="WORK_INJURY_HANDLE"/>
<result property="birthHandle" column="BIRTH_HANDLE"/> <result property="birthHandle" column="BIRTH_HANDLE"/>
<result property="bigailmentHandle" column="BIGAILMENT_HANDLE"/> <result property="bigailmentHandle" column="BIGAILMENT_HANDLE"/>
<result property="unitPersionMoney" column="UNIT_PERSION_MONEY"/> <result property="unitPersionMoney" column="UNIT_PERSION_MONEY"/>
<result property="unitMedicalMoney" column="UNIT_MEDICAL_MONEY"/> <result property="unitMedicalMoney" column="UNIT_MEDICAL_MONEY"/>
<result property="unitUnemploymentMoney" column="UNIT_UNEMPLOYMENT_MONEY"/> <result property="unitUnemploymentMoney" column="UNIT_UNEMPLOYMENT_MONEY"/>
<result property="unitInjuryMoney" column="UNIT_INJURY_MONEY"/> <result property="unitInjuryMoney" column="UNIT_INJURY_MONEY"/>
<result property="unitBirthMoney" column="UNIT_BIRTH_MONEY"/> <result property="unitBirthMoney" column="UNIT_BIRTH_MONEY"/>
<result property="unitBigailmentMoney" column="UNIT_BIGAILMENT_MONEY"/> <result property="unitBigailmentMoney" column="UNIT_BIGAILMENT_MONEY"/>
<result property="personalPersionMoney" column="PERSONAL_PERSION_MONEY"/> <result property="personalPersionMoney" column="PERSONAL_PERSION_MONEY"/>
<result property="personalMedicalMoney" column="PERSONAL_MEDICAL_MONEY"/> <result property="personalMedicalMoney" column="PERSONAL_MEDICAL_MONEY"/>
<result property="personalUnemploymentMoney" column="PERSONAL_UNEMPLOYMENT_MONEY"/> <result property="personalUnemploymentMoney" column="PERSONAL_UNEMPLOYMENT_MONEY"/>
<result property="personalBigailmentMoney" column="PERSONAL_BIGAILMENT_MONEY"/> <result property="personalBigailmentMoney" column="PERSONAL_BIGAILMENT_MONEY"/>
<result property="unitProvidengCardinal" column="UNIT_PROVIDENG_CARDINAL"/> <result property="unitProvidengCardinal" column="UNIT_PROVIDENG_CARDINAL"/>
<result property="personalProvidentCardinal" column="PERSONAL_PROVIDENT_CARDINAL"/> <result property="personalProvidentCardinal" column="PERSONAL_PROVIDENT_CARDINAL"/>
<result property="socialStartDate" column="SOCIAL_START_DATE"/> <result property="socialStartDate" column="SOCIAL_START_DATE"/>
<result property="unitProvidentPer" column="UNIT_PROVIDENT_PER"/> <result property="unitProvidentPer" column="UNIT_PROVIDENT_PER"/>
<result property="personalProvidentPer" column="PERSONAL_PROVIDENT_PER"/> <result property="personalProvidentPer" column="PERSONAL_PROVIDENT_PER"/>
<result property="providentStart" column="PROVIDENT_START"/> <result property="providentStart" column="PROVIDENT_START"/>
<result property="firstBuyMothFund" column="FIRST_BUY_MOTH_FUND"/> <result property="firstBuyMothFund" column="FIRST_BUY_MOTH_FUND"/>
<result property="upperLimitFund" column="UPPER_LIMIT_FUND"/> <result property="upperLimitFund" column="UPPER_LIMIT_FUND"/>
<result property="lowerLimitFund" column="LOWER_LIMIT_FUND"/> <result property="lowerLimitFund" column="LOWER_LIMIT_FUND"/>
<result property="fundPayPoint" column="FUND_PAY_POINT"/> <result property="fundPayPoint" column="FUND_PAY_POINT"/>
<result property="canOverpayFund" column="CAN_OVERPAY_FUND"/> <result property="canOverpayFund" column="CAN_OVERPAY_FUND"/>
<result property="overpayNumberFund" column="OVERPAY_NUMBER_FUND"/> <result property="overpayNumberFund" column="OVERPAY_NUMBER_FUND"/>
<result property="payPolicyFund" column="PAY_POLICY_FUND"/> <result property="payPolicyFund" column="PAY_POLICY_FUND"/>
<result property="trustRemarkFund" column="TRUST_REMARK_FUND"/> <result property="trustRemarkFund" column="TRUST_REMARK_FUND"/>
<result property="haveThisMonthFund" column="HAVE_THIS_MONTH_FUND"/> <result property="haveThisMonthFund" column="HAVE_THIS_MONTH_FUND"/>
<result property="latestCardinalityFund" column="LATEST_CARDINALITY_FUND"/> <result property="latestCardinalityFund" column="LATEST_CARDINALITY_FUND"/>
<result property="fundReduceDate" column="FUND_REDUCE_DATE"/> <result property="fundReduceDate" column="FUND_REDUCE_DATE"/>
<result property="personalFundSum" column="PERSONAL_FUND_SUM"/> <result property="personalFundSum" column="PERSONAL_FUND_SUM"/>
<result property="unitFundSum" column="UNIT_FUND_SUM"/> <result property="unitFundSum" column="UNIT_FUND_SUM"/>
<result property="unitSocialSum" column="UNIT_SOCIAL_SUM"/> <result property="unitSocialSum" column="UNIT_SOCIAL_SUM"/>
<result property="personalSocialSum" column="PERSONAL_SOCIAL_SUM"/> <result property="personalSocialSum" column="PERSONAL_SOCIAL_SUM"/>
<result property="unitInterestFee" column="UNIT_INTEREST_FEE"/> <result property="unitInterestFee" column="UNIT_INTEREST_FEE"/>
<result property="personalInterestFee" column="PERSONAL_INTEREST_FEE"/> <result property="personalInterestFee" column="PERSONAL_INTEREST_FEE"/>
<result property="socialStatus" column="SOCIAL_STATUS"/> <result property="socialStatus" column="SOCIAL_STATUS"/>
<result property="fundStatus" column="FUND_STATUS"/> <result property="fundStatus" column="FUND_STATUS"/>
<result property="dispatchId" column="DISPATCH_ID"/> <result property="dispatchId" column="DISPATCH_ID"/>
</resultMap> </resultMap>
<sql id="Base_Column_List">
a.ID, <!-- 社保公积金查询的导出专用 -->
<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">
a
.
ID
,
a.EMP_ID, a.EMP_ID,
a.EMP_NO, a.EMP_NO,
a.EMP_NAME, a.EMP_NAME,
...@@ -286,365 +388,371 @@ ...@@ -286,365 +388,371 @@
a.SOCIAL_STATUS, a.SOCIAL_STATUS,
a.FUND_STATUS, a.FUND_STATUS,
a.DISPATCH_ID a.DISPATCH_ID
</sql> </sql>
<sql id="tSocialFundInfo_where"> <sql id="tSocialFundInfo_where">
<if test="tSocialFundInfo != null"> <if test="tSocialFundInfo != null">
<if test="tSocialFundInfo.id != null and tSocialFundInfo.id.trim() != ''"> <if test="tSocialFundInfo.idList != null">
AND a.ID = #{tSocialFundInfo.id} AND a.id in
</if> <foreach item="idStr" index="index" collection="tSocialFundInfo.idList" open="(" separator="," close=")">
<if test="tSocialFundInfo.empId != null and tSocialFundInfo.empId.trim() != ''"> #{idStr}
AND a.EMP_ID = #{tSocialFundInfo.empId} </foreach>
</if> </if>
<if test="tSocialFundInfo.empNo != null and tSocialFundInfo.empNo.trim() != ''"> <if test="tSocialFundInfo.id != null and tSocialFundInfo.id.trim() != ''">
AND a.EMP_NO = #{tSocialFundInfo.empNo} AND a.ID = #{tSocialFundInfo.id}
</if> </if>
<if test="tSocialFundInfo.empName != null and tSocialFundInfo.empName.trim() != ''"> <if test="tSocialFundInfo.empId != null and tSocialFundInfo.empId.trim() != ''">
AND a.EMP_NAME = #{tSocialFundInfo.empName} AND a.EMP_ID = #{tSocialFundInfo.empId}
</if> </if>
<if test="tSocialFundInfo.empIdcard != null and tSocialFundInfo.empIdcard.trim() != ''"> <if test="tSocialFundInfo.empNo != null and tSocialFundInfo.empNo.trim() != ''">
AND a.EMP_IDCARD = #{tSocialFundInfo.empIdcard} AND a.EMP_NO = #{tSocialFundInfo.empNo}
</if> </if>
<if test="tSocialFundInfo.empType != null and tSocialFundInfo.empType.trim() != ''"> <if test="tSocialFundInfo.empName != null and tSocialFundInfo.empName.trim() != ''">
AND a.EMP_TYPE = #{tSocialFundInfo.empType} AND a.EMP_NAME = #{tSocialFundInfo.empName}
</if> </if>
<if test="tSocialFundInfo.settleDomain != null and tSocialFundInfo.settleDomain.trim() != ''"> <if test="tSocialFundInfo.empIdcard != null and tSocialFundInfo.empIdcard.trim() != ''">
AND a.SETTLE_DOMAIN = #{tSocialFundInfo.settleDomain} AND a.EMP_IDCARD = #{tSocialFundInfo.empIdcard}
</if> </if>
<if test="tSocialFundInfo.settleDomainName != null and tSocialFundInfo.settleDomainName.trim() != ''"> <if test="tSocialFundInfo.empType != null and tSocialFundInfo.empType.trim() != ''">
AND a.SETTLE_DOMAIN_NAME = #{tSocialFundInfo.settleDomainName} AND a.EMP_TYPE = #{tSocialFundInfo.empType}
</if> </if>
<if test="tSocialFundInfo.unitName != null and tSocialFundInfo.unitName.trim() != ''"> <if test="tSocialFundInfo.settleDomain != null and tSocialFundInfo.settleDomain.trim() != ''">
AND a.UNIT_NAME = #{tSocialFundInfo.unitName} AND a.SETTLE_DOMAIN = #{tSocialFundInfo.settleDomain}
</if> </if>
<if test="tSocialFundInfo.unitId != null and tSocialFundInfo.unitId.trim() != ''"> <if test="tSocialFundInfo.settleDomainName != null and tSocialFundInfo.settleDomainName.trim() != ''">
AND a.UNIT_ID = #{tSocialFundInfo.unitId} AND a.SETTLE_DOMAIN_NAME = #{tSocialFundInfo.settleDomainName}
</if> </if>
<if test="tSocialFundInfo.socialHousehold != null and tSocialFundInfo.socialHousehold.trim() != ''"> <if test="tSocialFundInfo.unitName != null and tSocialFundInfo.unitName.trim() != ''">
AND a.SOCIAL_HOUSEHOLD = #{tSocialFundInfo.socialHousehold} AND a.UNIT_NAME = #{tSocialFundInfo.unitName}
</if> </if>
<if test="tSocialFundInfo.socialHouseholdName != null and tSocialFundInfo.socialHouseholdName.trim() != ''"> <if test="tSocialFundInfo.unitId != null and tSocialFundInfo.unitId.trim() != ''">
AND a.SOCIAL_HOUSEHOLD_NAME = #{tSocialFundInfo.socialHouseholdName} AND a.UNIT_ID = #{tSocialFundInfo.unitId}
</if> </if>
<if test="tSocialFundInfo.socialProvince != null and tSocialFundInfo.socialProvince.trim() != ''"> <if test="tSocialFundInfo.socialHousehold != null and tSocialFundInfo.socialHousehold.trim() != ''">
AND a.SOCIAL_PROVINCE = #{tSocialFundInfo.socialProvince} AND a.SOCIAL_HOUSEHOLD = #{tSocialFundInfo.socialHousehold}
</if> </if>
<if test="tSocialFundInfo.socialCity != null and tSocialFundInfo.socialCity.trim() != ''"> <if test="tSocialFundInfo.socialHouseholdName != null and tSocialFundInfo.socialHouseholdName.trim() != ''">
AND a.SOCIAL_CITY = #{tSocialFundInfo.socialCity} AND a.SOCIAL_HOUSEHOLD_NAME = #{tSocialFundInfo.socialHouseholdName}
</if> </if>
<if test="tSocialFundInfo.socialTown != null and tSocialFundInfo.socialTown.trim() != ''"> <if test="tSocialFundInfo.socialProvince != null and tSocialFundInfo.socialProvince.trim() != ''">
AND a.SOCIAL_TOWN = #{tSocialFundInfo.socialTown} AND a.SOCIAL_PROVINCE = #{tSocialFundInfo.socialProvince}
</if> </if>
<if test="tSocialFundInfo.providentHousehold != null and tSocialFundInfo.providentHousehold.trim() != ''"> <if test="tSocialFundInfo.socialCity != null and tSocialFundInfo.socialCity.trim() != ''">
AND a.PROVIDENT_HOUSEHOLD = #{tSocialFundInfo.providentHousehold} AND a.SOCIAL_CITY = #{tSocialFundInfo.socialCity}
</if> </if>
<if test="tSocialFundInfo.providentHouseholdName != null and tSocialFundInfo.providentHouseholdName.trim() != ''"> <if test="tSocialFundInfo.socialTown != null and tSocialFundInfo.socialTown.trim() != ''">
AND a.PROVIDENT_HOUSEHOLD_NAME = #{tSocialFundInfo.providentHouseholdName} AND a.SOCIAL_TOWN = #{tSocialFundInfo.socialTown}
</if> </if>
<if test="tSocialFundInfo.fundProvince != null and tSocialFundInfo.fundProvince.trim() != ''"> <if test="tSocialFundInfo.providentHousehold != null and tSocialFundInfo.providentHousehold.trim() != ''">
AND a.FUND_PROVINCE = #{tSocialFundInfo.fundProvince} AND a.PROVIDENT_HOUSEHOLD = #{tSocialFundInfo.providentHousehold}
</if> </if>
<if test="tSocialFundInfo.fundCity != null and tSocialFundInfo.fundCity.trim() != ''"> <if test="tSocialFundInfo.providentHouseholdName != null and tSocialFundInfo.providentHouseholdName.trim() != ''">
AND a.FUND_CITY = #{tSocialFundInfo.fundCity} AND a.PROVIDENT_HOUSEHOLD_NAME = #{tSocialFundInfo.providentHouseholdName}
</if> </if>
<if test="tSocialFundInfo.fundTown != null and tSocialFundInfo.fundTown.trim() != ''"> <if test="tSocialFundInfo.fundProvince != null and tSocialFundInfo.fundProvince.trim() != ''">
AND a.FUND_TOWN = #{tSocialFundInfo.fundTown} AND a.FUND_PROVINCE = #{tSocialFundInfo.fundProvince}
</if> </if>
<if test="tSocialFundInfo.socialAddStatus != null and tSocialFundInfo.socialAddStatus.trim() != ''"> <if test="tSocialFundInfo.fundCity != null and tSocialFundInfo.fundCity.trim() != ''">
AND a.SOCIAL_ADD_STATUS = #{tSocialFundInfo.socialAddStatus} AND a.FUND_CITY = #{tSocialFundInfo.fundCity}
</if> </if>
<if test="tSocialFundInfo.fundAddStatus != null and tSocialFundInfo.fundAddStatus.trim() != ''"> <if test="tSocialFundInfo.fundTown != null and tSocialFundInfo.fundTown.trim() != ''">
AND a.FUND_ADD_STATUS = #{tSocialFundInfo.fundAddStatus} AND a.FUND_TOWN = #{tSocialFundInfo.fundTown}
</if> </if>
<if test="tSocialFundInfo.socialReduceStatus != null and tSocialFundInfo.socialReduceStatus.trim() != ''"> <if test="tSocialFundInfo.socialAddStatus != null and tSocialFundInfo.socialAddStatus.trim() != ''">
AND a.SOCIAL_REDUCE_STATUS = #{tSocialFundInfo.socialReduceStatus} AND a.SOCIAL_ADD_STATUS = #{tSocialFundInfo.socialAddStatus}
</if> </if>
<if test="tSocialFundInfo.fundReduceStatus != null and tSocialFundInfo.fundReduceStatus.trim() != ''"> <if test="tSocialFundInfo.fundAddStatus != null and tSocialFundInfo.fundAddStatus.trim() != ''">
AND a.FUND_REDUCE_STATUS = #{tSocialFundInfo.fundReduceStatus} AND a.FUND_ADD_STATUS = #{tSocialFundInfo.fundAddStatus}
</if> </if>
<if test="tSocialFundInfo.socialId != null and tSocialFundInfo.socialId.trim() != ''"> <if test="tSocialFundInfo.socialReduceStatus != null and tSocialFundInfo.socialReduceStatus.trim() != ''">
AND a.SOCIAL_ID = #{tSocialFundInfo.socialId} AND a.SOCIAL_REDUCE_STATUS = #{tSocialFundInfo.socialReduceStatus}
</if> </if>
<if test="tSocialFundInfo.fundId != null and tSocialFundInfo.fundId.trim() != ''"> <if test="tSocialFundInfo.fundReduceStatus != null and tSocialFundInfo.fundReduceStatus.trim() != ''">
AND a.FUND_ID = #{tSocialFundInfo.fundId} AND a.FUND_REDUCE_STATUS = #{tSocialFundInfo.fundReduceStatus}
</if> </if>
<if test="tSocialFundInfo.createBy != null and tSocialFundInfo.createBy.trim() != ''"> <if test="tSocialFundInfo.socialId != null and tSocialFundInfo.socialId.trim() != ''">
AND a.CREATE_BY = #{tSocialFundInfo.createBy} AND a.SOCIAL_ID = #{tSocialFundInfo.socialId}
</if> </if>
<if test="tSocialFundInfo.updateBy != null and tSocialFundInfo.updateBy.trim() != ''"> <if test="tSocialFundInfo.fundId != null and tSocialFundInfo.fundId.trim() != ''">
AND a.UPDATE_BY = #{tSocialFundInfo.updateBy} AND a.FUND_ID = #{tSocialFundInfo.fundId}
</if> </if>
<if test="tSocialFundInfo.createName != null and tSocialFundInfo.createName.trim() != ''"> <if test="tSocialFundInfo.createBy != null and tSocialFundInfo.createBy.trim() != ''">
AND a.CREATE_NAME = #{tSocialFundInfo.createName} AND a.CREATE_BY = #{tSocialFundInfo.createBy}
</if> </if>
<if test="tSocialFundInfo.updateTime != null"> <if test="tSocialFundInfo.updateBy != null and tSocialFundInfo.updateBy.trim() != ''">
AND a.UPDATE_TIME = #{tSocialFundInfo.updateTime} AND a.UPDATE_BY = #{tSocialFundInfo.updateBy}
</if> </if>
<if test="tSocialFundInfo.firstBuyMonthSocial != null"> <if test="tSocialFundInfo.createName != null and tSocialFundInfo.createName.trim() != ''">
AND a.FIRST_BUY_MONTH_SOCIAL = #{tSocialFundInfo.firstBuyMonthSocial} AND a.CREATE_NAME = #{tSocialFundInfo.createName}
</if> </if>
<if test="tSocialFundInfo.unitPensionCardinal != null"> <if test="tSocialFundInfo.updateTime != null">
AND a.UNIT_PENSION_CARDINAL = #{tSocialFundInfo.unitPensionCardinal} AND a.UPDATE_TIME = #{tSocialFundInfo.updateTime}
</if> </if>
<if test="tSocialFundInfo.unitMedicalCardinal != null"> <if test="tSocialFundInfo.firstBuyMonthSocial != null">
AND a.UNIT_MEDICAL_CARDINAL = #{tSocialFundInfo.unitMedicalCardinal} AND a.FIRST_BUY_MONTH_SOCIAL = #{tSocialFundInfo.firstBuyMonthSocial}
</if> </if>
<if test="tSocialFundInfo.unitUnemploymentCardinal != null"> <if test="tSocialFundInfo.unitPensionCardinal != null">
AND a.UNIT_UNEMPLOYMENT_CARDINAL = #{tSocialFundInfo.unitUnemploymentCardinal} AND a.UNIT_PENSION_CARDINAL = #{tSocialFundInfo.unitPensionCardinal}
</if> </if>
<if test="tSocialFundInfo.unitBigailmentCardinal != null"> <if test="tSocialFundInfo.unitMedicalCardinal != null">
AND a.UNIT_BIGAILMENT_CARDINAL = #{tSocialFundInfo.unitBigailmentCardinal} AND a.UNIT_MEDICAL_CARDINAL = #{tSocialFundInfo.unitMedicalCardinal}
</if> </if>
<if test="tSocialFundInfo.unitWorkInjuryCardinal != null"> <if test="tSocialFundInfo.unitUnemploymentCardinal != null">
AND a.UNIT_WORK_INJURY_CARDINAL = #{tSocialFundInfo.unitWorkInjuryCardinal} AND a.UNIT_UNEMPLOYMENT_CARDINAL = #{tSocialFundInfo.unitUnemploymentCardinal}
</if> </if>
<if test="tSocialFundInfo.unitBirthCardinal != null"> <if test="tSocialFundInfo.unitBigailmentCardinal != null">
AND a.UNIT_BIRTH_CARDINAL = #{tSocialFundInfo.unitBirthCardinal} AND a.UNIT_BIGAILMENT_CARDINAL = #{tSocialFundInfo.unitBigailmentCardinal}
</if> </if>
<if test="tSocialFundInfo.personalPensionCardinal != null"> <if test="tSocialFundInfo.unitWorkInjuryCardinal != null">
AND a.PERSONAL_PENSION_CARDINAL = #{tSocialFundInfo.personalPensionCardinal} AND a.UNIT_WORK_INJURY_CARDINAL = #{tSocialFundInfo.unitWorkInjuryCardinal}
</if> </if>
<if test="tSocialFundInfo.personalMedicalCardinal != null"> <if test="tSocialFundInfo.unitBirthCardinal != null">
AND a.PERSONAL_MEDICAL_CARDINAL = #{tSocialFundInfo.personalMedicalCardinal} AND a.UNIT_BIRTH_CARDINAL = #{tSocialFundInfo.unitBirthCardinal}
</if> </if>
<if test="tSocialFundInfo.personalBigailmentCardinal != null"> <if test="tSocialFundInfo.personalPensionCardinal != null">
AND a.PERSONAL_BIGAILMENT_CARDINAL = #{tSocialFundInfo.personalBigailmentCardinal} AND a.PERSONAL_PENSION_CARDINAL = #{tSocialFundInfo.personalPensionCardinal}
</if> </if>
<if test="tSocialFundInfo.personalUnemploymentCardinal != null"> <if test="tSocialFundInfo.personalMedicalCardinal != null">
AND a.PERSONAL_UNEMPLOYMENT_CARDINAL = #{tSocialFundInfo.personalUnemploymentCardinal} AND a.PERSONAL_MEDICAL_CARDINAL = #{tSocialFundInfo.personalMedicalCardinal}
</if> </if>
<if test="tSocialFundInfo.unitPensionPer != null"> <if test="tSocialFundInfo.personalBigailmentCardinal != null">
AND a.UNIT_PENSION_PER = #{tSocialFundInfo.unitPensionPer} AND a.PERSONAL_BIGAILMENT_CARDINAL = #{tSocialFundInfo.personalBigailmentCardinal}
</if> </if>
<if test="tSocialFundInfo.unitMedicalPer != null"> <if test="tSocialFundInfo.personalUnemploymentCardinal != null">
AND a.UNIT_MEDICAL_PER = #{tSocialFundInfo.unitMedicalPer} AND a.PERSONAL_UNEMPLOYMENT_CARDINAL = #{tSocialFundInfo.personalUnemploymentCardinal}
</if> </if>
<if test="tSocialFundInfo.unitUnemploymentPer != null"> <if test="tSocialFundInfo.unitPensionPer != null">
AND a.UNIT_UNEMPLOYMENT_PER = #{tSocialFundInfo.unitUnemploymentPer} AND a.UNIT_PENSION_PER = #{tSocialFundInfo.unitPensionPer}
</if> </if>
<if test="tSocialFundInfo.unitWorkUnjuryPer != null"> <if test="tSocialFundInfo.unitMedicalPer != null">
AND a.UNIT_WORK_UNJURY_PER = #{tSocialFundInfo.unitWorkUnjuryPer} AND a.UNIT_MEDICAL_PER = #{tSocialFundInfo.unitMedicalPer}
</if> </if>
<if test="tSocialFundInfo.unitBirthPer != null"> <if test="tSocialFundInfo.unitUnemploymentPer != null">
AND a.UNIT_BIRTH_PER = #{tSocialFundInfo.unitBirthPer} AND a.UNIT_UNEMPLOYMENT_PER = #{tSocialFundInfo.unitUnemploymentPer}
</if> </if>
<if test="tSocialFundInfo.personalPensionPer != null"> <if test="tSocialFundInfo.unitWorkUnjuryPer != null">
AND a.PERSONAL_PENSION_PER = #{tSocialFundInfo.personalPensionPer} AND a.UNIT_WORK_UNJURY_PER = #{tSocialFundInfo.unitWorkUnjuryPer}
</if> </if>
<if test="tSocialFundInfo.personalMedicalPer != null"> <if test="tSocialFundInfo.unitBirthPer != null">
AND a.PERSONAL_MEDICAL_PER = #{tSocialFundInfo.personalMedicalPer} AND a.UNIT_BIRTH_PER = #{tSocialFundInfo.unitBirthPer}
</if> </if>
<if test="tSocialFundInfo.personalUnemploymentPer != null"> <if test="tSocialFundInfo.personalPensionPer != null">
AND a.PERSONAL_UNEMPLOYMENT_PER = #{tSocialFundInfo.personalUnemploymentPer} AND a.PERSONAL_PENSION_PER = #{tSocialFundInfo.personalPensionPer}
</if> </if>
<if test="tSocialFundInfo.handleStatus != null and tSocialFundInfo.handleStatus.trim() != ''"> <if test="tSocialFundInfo.personalMedicalPer != null">
AND a.HANDLE_STATUS = #{tSocialFundInfo.handleStatus} AND a.PERSONAL_MEDICAL_PER = #{tSocialFundInfo.personalMedicalPer}
</if> </if>
<if test="tSocialFundInfo.personalBigailmentPer != null"> <if test="tSocialFundInfo.personalUnemploymentPer != null">
AND a.PERSONAL_BIGAILMENT_PER = #{tSocialFundInfo.personalBigailmentPer} AND a.PERSONAL_UNEMPLOYMENT_PER = #{tSocialFundInfo.personalUnemploymentPer}
</if> </if>
<if test="tSocialFundInfo.unitBigailmentPer != null"> <if test="tSocialFundInfo.handleStatus != null and tSocialFundInfo.handleStatus.trim() != ''">
AND a.UNIT_BIGAILMENT_PER = #{tSocialFundInfo.unitBigailmentPer} AND a.HANDLE_STATUS = #{tSocialFundInfo.handleStatus}
</if> </if>
<if test="tSocialFundInfo.socialReduceDate != null"> <if test="tSocialFundInfo.personalBigailmentPer != null">
AND a.SOCIAL_REDUCE_DATE = #{tSocialFundInfo.socialReduceDate} AND a.PERSONAL_BIGAILMENT_PER = #{tSocialFundInfo.personalBigailmentPer}
</if> </if>
<if test="tSocialFundInfo.canOverpay != null and tSocialFundInfo.canOverpay.trim() != ''"> <if test="tSocialFundInfo.unitBigailmentPer != null">
AND a.CAN_OVERPAY = #{tSocialFundInfo.canOverpay} AND a.UNIT_BIGAILMENT_PER = #{tSocialFundInfo.unitBigailmentPer}
</if> </if>
<if test="tSocialFundInfo.payPolicy != null and tSocialFundInfo.payPolicy.trim() != ''"> <if test="tSocialFundInfo.socialReduceDate != null">
AND a.PAY_POLICY = #{tSocialFundInfo.payPolicy} AND a.SOCIAL_REDUCE_DATE = #{tSocialFundInfo.socialReduceDate}
</if> </if>
<if test="tSocialFundInfo.overpayNumber != null"> <if test="tSocialFundInfo.canOverpay != null and tSocialFundInfo.canOverpay.trim() != ''">
AND a.OVERPAY_NUMBER = #{tSocialFundInfo.overpayNumber} AND a.CAN_OVERPAY = #{tSocialFundInfo.canOverpay}
</if> </if>
<if test="tSocialFundInfo.haveThisMonth != null and tSocialFundInfo.haveThisMonth.trim() != ''"> <if test="tSocialFundInfo.payPolicy != null and tSocialFundInfo.payPolicy.trim() != ''">
AND a.HAVE_THIS_MONTH = #{tSocialFundInfo.haveThisMonth} AND a.PAY_POLICY = #{tSocialFundInfo.payPolicy}
</if> </if>
<if test="tSocialFundInfo.insurancePension != null and tSocialFundInfo.insurancePension.trim() != ''"> <if test="tSocialFundInfo.overpayNumber != null">
AND a.INSURANCE_PENSION = #{tSocialFundInfo.insurancePension} AND a.OVERPAY_NUMBER = #{tSocialFundInfo.overpayNumber}
</if> </if>
<if test="tSocialFundInfo.insuranceMedical != null and tSocialFundInfo.insuranceMedical.trim() != ''"> <if test="tSocialFundInfo.haveThisMonth != null and tSocialFundInfo.haveThisMonth.trim() != ''">
AND a.INSURANCE_MEDICAL = #{tSocialFundInfo.insuranceMedical} AND a.HAVE_THIS_MONTH = #{tSocialFundInfo.haveThisMonth}
</if> </if>
<if test="tSocialFundInfo.insuranceUnemployment != null and tSocialFundInfo.insuranceUnemployment.trim() != ''"> <if test="tSocialFundInfo.insurancePension != null and tSocialFundInfo.insurancePension.trim() != ''">
AND a.INSURANCE_UNEMPLOYMENT = #{tSocialFundInfo.insuranceUnemployment} AND a.INSURANCE_PENSION = #{tSocialFundInfo.insurancePension}
</if> </if>
<if test="tSocialFundInfo.insuranceInjury != null and tSocialFundInfo.insuranceInjury.trim() != ''"> <if test="tSocialFundInfo.insuranceMedical != null and tSocialFundInfo.insuranceMedical.trim() != ''">
AND a.INSURANCE_INJURY = #{tSocialFundInfo.insuranceInjury} AND a.INSURANCE_MEDICAL = #{tSocialFundInfo.insuranceMedical}
</if> </if>
<if test="tSocialFundInfo.insuranceBirth != null and tSocialFundInfo.insuranceBirth.trim() != ''"> <if test="tSocialFundInfo.insuranceUnemployment != null and tSocialFundInfo.insuranceUnemployment.trim() != ''">
AND a.INSURANCE_BIRTH = #{tSocialFundInfo.insuranceBirth} AND a.INSURANCE_UNEMPLOYMENT = #{tSocialFundInfo.insuranceUnemployment}
</if> </if>
<if test="tSocialFundInfo.insuranceBigailment != null and tSocialFundInfo.insuranceBigailment.trim() != ''"> <if test="tSocialFundInfo.insuranceInjury != null and tSocialFundInfo.insuranceInjury.trim() != ''">
AND a.INSURANCE_BIGAILMENT = #{tSocialFundInfo.insuranceBigailment} AND a.INSURANCE_INJURY = #{tSocialFundInfo.insuranceInjury}
</if> </if>
<if test="tSocialFundInfo.latestCardinality != null and tSocialFundInfo.latestCardinality.trim() != ''"> <if test="tSocialFundInfo.insuranceBirth != null and tSocialFundInfo.insuranceBirth.trim() != ''">
AND a.LATEST_CARDINALITY = #{tSocialFundInfo.latestCardinality} AND a.INSURANCE_BIRTH = #{tSocialFundInfo.insuranceBirth}
</if> </if>
<if test="tSocialFundInfo.isIllness != null and tSocialFundInfo.isIllness.trim() != ''"> <if test="tSocialFundInfo.insuranceBigailment != null and tSocialFundInfo.insuranceBigailment.trim() != ''">
AND a.IS_ILLNESS = #{tSocialFundInfo.isIllness} AND a.INSURANCE_BIGAILMENT = #{tSocialFundInfo.insuranceBigailment}
</if> </if>
<if test="tSocialFundInfo.collectType != null and tSocialFundInfo.collectType.trim() != ''"> <if test="tSocialFundInfo.latestCardinality != null and tSocialFundInfo.latestCardinality.trim() != ''">
AND a.COLLECT_TYPE = #{tSocialFundInfo.collectType} AND a.LATEST_CARDINALITY = #{tSocialFundInfo.latestCardinality}
</if> </if>
<if test="tSocialFundInfo.valueType != null and tSocialFundInfo.valueType.trim() != ''"> <if test="tSocialFundInfo.isIllness != null and tSocialFundInfo.isIllness.trim() != ''">
AND a.VALUE_TYPE = #{tSocialFundInfo.valueType} AND a.IS_ILLNESS = #{tSocialFundInfo.isIllness}
</if> </if>
<if test="tSocialFundInfo.collectMoth != null"> <if test="tSocialFundInfo.collectType != null and tSocialFundInfo.collectType.trim() != ''">
AND a.COLLECT_MOTH = #{tSocialFundInfo.collectMoth} AND a.COLLECT_TYPE = #{tSocialFundInfo.collectType}
</if> </if>
<if test="tSocialFundInfo.isChargePersonal != null and tSocialFundInfo.isChargePersonal.trim() != ''"> <if test="tSocialFundInfo.valueType != null and tSocialFundInfo.valueType.trim() != ''">
AND a.IS_CHARGE_PERSONAL = #{tSocialFundInfo.isChargePersonal} AND a.VALUE_TYPE = #{tSocialFundInfo.valueType}
</if> </if>
<if test="tSocialFundInfo.recordBase != null and tSocialFundInfo.recordBase.trim() != ''"> <if test="tSocialFundInfo.collectMoth != null">
AND a.RECORD_BASE = #{tSocialFundInfo.recordBase} AND a.COLLECT_MOTH = #{tSocialFundInfo.collectMoth}
</if> </if>
<if test="tSocialFundInfo.trustRemark != null and tSocialFundInfo.trustRemark.trim() != ''"> <if test="tSocialFundInfo.isChargePersonal != null and tSocialFundInfo.isChargePersonal.trim() != ''">
AND a.TRUST_REMARK = #{tSocialFundInfo.trustRemark} AND a.IS_CHARGE_PERSONAL = #{tSocialFundInfo.isChargePersonal}
</if> </if>
<if test="tSocialFundInfo.paymentType != null and tSocialFundInfo.paymentType.trim() != ''"> <if test="tSocialFundInfo.recordBase != null and tSocialFundInfo.recordBase.trim() != ''">
AND a.PAYMENT_TYPE = #{tSocialFundInfo.paymentType} AND a.RECORD_BASE = #{tSocialFundInfo.recordBase}
</if> </if>
<if test="tSocialFundInfo.upperLimit != null"> <if test="tSocialFundInfo.trustRemark != null and tSocialFundInfo.trustRemark.trim() != ''">
AND a.UPPER_LIMIT = #{tSocialFundInfo.upperLimit} AND a.TRUST_REMARK = #{tSocialFundInfo.trustRemark}
</if> </if>
<if test="tSocialFundInfo.lowerLimit != null"> <if test="tSocialFundInfo.paymentType != null and tSocialFundInfo.paymentType.trim() != ''">
AND a.LOWER_LIMIT = #{tSocialFundInfo.lowerLimit} AND a.PAYMENT_TYPE = #{tSocialFundInfo.paymentType}
</if> </if>
<if test="tSocialFundInfo.pensionStart != null"> <if test="tSocialFundInfo.upperLimit != null">
AND a.PENSION_START = #{tSocialFundInfo.pensionStart} AND a.UPPER_LIMIT = #{tSocialFundInfo.upperLimit}
</if> </if>
<if test="tSocialFundInfo.medicalStart != null"> <if test="tSocialFundInfo.lowerLimit != null">
AND a.MEDICAL_START = #{tSocialFundInfo.medicalStart} AND a.LOWER_LIMIT = #{tSocialFundInfo.lowerLimit}
</if> </if>
<if test="tSocialFundInfo.unemployStart != null"> <if test="tSocialFundInfo.pensionStart != null">
AND a.UNEMPLOY_START = #{tSocialFundInfo.unemployStart} AND a.PENSION_START = #{tSocialFundInfo.pensionStart}
</if> </if>
<if test="tSocialFundInfo.workInjuryStart != null"> <if test="tSocialFundInfo.medicalStart != null">
AND a.WORK_INJURY_START = #{tSocialFundInfo.workInjuryStart} AND a.MEDICAL_START = #{tSocialFundInfo.medicalStart}
</if> </if>
<if test="tSocialFundInfo.birthStart != null"> <if test="tSocialFundInfo.unemployStart != null">
AND a.BIRTH_START = #{tSocialFundInfo.birthStart} AND a.UNEMPLOY_START = #{tSocialFundInfo.unemployStart}
</if> </if>
<if test="tSocialFundInfo.bigailmentStart != null"> <if test="tSocialFundInfo.workInjuryStart != null">
AND a.BIGAILMENT_START = #{tSocialFundInfo.bigailmentStart} AND a.WORK_INJURY_START = #{tSocialFundInfo.workInjuryStart}
</if> </if>
<if test="tSocialFundInfo.pensionHandle != null and tSocialFundInfo.pensionHandle.trim() != ''"> <if test="tSocialFundInfo.birthStart != null">
AND a.PENSION_HANDLE = #{tSocialFundInfo.pensionHandle} AND a.BIRTH_START = #{tSocialFundInfo.birthStart}
</if> </if>
<if test="tSocialFundInfo.medicalHandle != null and tSocialFundInfo.medicalHandle.trim() != ''"> <if test="tSocialFundInfo.bigailmentStart != null">
AND a.MEDICAL_HANDLE = #{tSocialFundInfo.medicalHandle} AND a.BIGAILMENT_START = #{tSocialFundInfo.bigailmentStart}
</if> </if>
<if test="tSocialFundInfo.unemployHandle != null and tSocialFundInfo.unemployHandle.trim() != ''"> <if test="tSocialFundInfo.pensionHandle != null and tSocialFundInfo.pensionHandle.trim() != ''">
AND a.UNEMPLOY_HANDLE = #{tSocialFundInfo.unemployHandle} AND a.PENSION_HANDLE = #{tSocialFundInfo.pensionHandle}
</if> </if>
<if test="tSocialFundInfo.workInjuryHandle != null and tSocialFundInfo.workInjuryHandle.trim() != ''"> <if test="tSocialFundInfo.medicalHandle != null and tSocialFundInfo.medicalHandle.trim() != ''">
AND a.WORK_INJURY_HANDLE = #{tSocialFundInfo.workInjuryHandle} AND a.MEDICAL_HANDLE = #{tSocialFundInfo.medicalHandle}
</if> </if>
<if test="tSocialFundInfo.birthHandle != null and tSocialFundInfo.birthHandle.trim() != ''"> <if test="tSocialFundInfo.unemployHandle != null and tSocialFundInfo.unemployHandle.trim() != ''">
AND a.BIRTH_HANDLE = #{tSocialFundInfo.birthHandle} AND a.UNEMPLOY_HANDLE = #{tSocialFundInfo.unemployHandle}
</if> </if>
<if test="tSocialFundInfo.bigailmentHandle != null and tSocialFundInfo.bigailmentHandle.trim() != ''"> <if test="tSocialFundInfo.workInjuryHandle != null and tSocialFundInfo.workInjuryHandle.trim() != ''">
AND a.BIGAILMENT_HANDLE = #{tSocialFundInfo.bigailmentHandle} AND a.WORK_INJURY_HANDLE = #{tSocialFundInfo.workInjuryHandle}
</if> </if>
<if test="tSocialFundInfo.unitPersionMoney != null"> <if test="tSocialFundInfo.birthHandle != null and tSocialFundInfo.birthHandle.trim() != ''">
AND a.UNIT_PERSION_MONEY = #{tSocialFundInfo.unitPersionMoney} AND a.BIRTH_HANDLE = #{tSocialFundInfo.birthHandle}
</if> </if>
<if test="tSocialFundInfo.unitMedicalMoney != null"> <if test="tSocialFundInfo.bigailmentHandle != null and tSocialFundInfo.bigailmentHandle.trim() != ''">
AND a.UNIT_MEDICAL_MONEY = #{tSocialFundInfo.unitMedicalMoney} AND a.BIGAILMENT_HANDLE = #{tSocialFundInfo.bigailmentHandle}
</if> </if>
<if test="tSocialFundInfo.unitUnemploymentMoney != null"> <if test="tSocialFundInfo.unitPersionMoney != null">
AND a.UNIT_UNEMPLOYMENT_MONEY = #{tSocialFundInfo.unitUnemploymentMoney} AND a.UNIT_PERSION_MONEY = #{tSocialFundInfo.unitPersionMoney}
</if> </if>
<if test="tSocialFundInfo.unitInjuryMoney != null"> <if test="tSocialFundInfo.unitMedicalMoney != null">
AND a.UNIT_INJURY_MONEY = #{tSocialFundInfo.unitInjuryMoney} AND a.UNIT_MEDICAL_MONEY = #{tSocialFundInfo.unitMedicalMoney}
</if> </if>
<if test="tSocialFundInfo.unitBirthMoney != null"> <if test="tSocialFundInfo.unitUnemploymentMoney != null">
AND a.UNIT_BIRTH_MONEY = #{tSocialFundInfo.unitBirthMoney} AND a.UNIT_UNEMPLOYMENT_MONEY = #{tSocialFundInfo.unitUnemploymentMoney}
</if> </if>
<if test="tSocialFundInfo.unitBigailmentMoney != null"> <if test="tSocialFundInfo.unitInjuryMoney != null">
AND a.UNIT_BIGAILMENT_MONEY = #{tSocialFundInfo.unitBigailmentMoney} AND a.UNIT_INJURY_MONEY = #{tSocialFundInfo.unitInjuryMoney}
</if> </if>
<if test="tSocialFundInfo.personalPersionMoney != null"> <if test="tSocialFundInfo.unitBirthMoney != null">
AND a.PERSONAL_PERSION_MONEY = #{tSocialFundInfo.personalPersionMoney} AND a.UNIT_BIRTH_MONEY = #{tSocialFundInfo.unitBirthMoney}
</if> </if>
<if test="tSocialFundInfo.personalMedicalMoney != null"> <if test="tSocialFundInfo.unitBigailmentMoney != null">
AND a.PERSONAL_MEDICAL_MONEY = #{tSocialFundInfo.personalMedicalMoney} AND a.UNIT_BIGAILMENT_MONEY = #{tSocialFundInfo.unitBigailmentMoney}
</if> </if>
<if test="tSocialFundInfo.personalUnemploymentMoney != null"> <if test="tSocialFundInfo.personalPersionMoney != null">
AND a.PERSONAL_UNEMPLOYMENT_MONEY = #{tSocialFundInfo.personalUnemploymentMoney} AND a.PERSONAL_PERSION_MONEY = #{tSocialFundInfo.personalPersionMoney}
</if> </if>
<if test="tSocialFundInfo.personalBigailmentMoney != null"> <if test="tSocialFundInfo.personalMedicalMoney != null">
AND a.PERSONAL_BIGAILMENT_MONEY = #{tSocialFundInfo.personalBigailmentMoney} AND a.PERSONAL_MEDICAL_MONEY = #{tSocialFundInfo.personalMedicalMoney}
</if> </if>
<if test="tSocialFundInfo.unitProvidengCardinal != null"> <if test="tSocialFundInfo.personalUnemploymentMoney != null">
AND a.UNIT_PROVIDENG_CARDINAL = #{tSocialFundInfo.unitProvidengCardinal} AND a.PERSONAL_UNEMPLOYMENT_MONEY = #{tSocialFundInfo.personalUnemploymentMoney}
</if> </if>
<if test="tSocialFundInfo.personalProvidentCardinal != null"> <if test="tSocialFundInfo.personalBigailmentMoney != null">
AND a.PERSONAL_PROVIDENT_CARDINAL = #{tSocialFundInfo.personalProvidentCardinal} AND a.PERSONAL_BIGAILMENT_MONEY = #{tSocialFundInfo.personalBigailmentMoney}
</if> </if>
<if test="tSocialFundInfo.socialStartDate != null"> <if test="tSocialFundInfo.unitProvidengCardinal != null">
AND a.SOCIAL_START_DATE = #{tSocialFundInfo.socialStartDate} AND a.UNIT_PROVIDENG_CARDINAL = #{tSocialFundInfo.unitProvidengCardinal}
</if> </if>
<if test="tSocialFundInfo.unitProvidentPer != null"> <if test="tSocialFundInfo.personalProvidentCardinal != null">
AND a.UNIT_PROVIDENT_PER = #{tSocialFundInfo.unitProvidentPer} AND a.PERSONAL_PROVIDENT_CARDINAL = #{tSocialFundInfo.personalProvidentCardinal}
</if> </if>
<if test="tSocialFundInfo.personalProvidentPer != null"> <if test="tSocialFundInfo.socialStartDate != null">
AND a.PERSONAL_PROVIDENT_PER = #{tSocialFundInfo.personalProvidentPer} AND a.SOCIAL_START_DATE = #{tSocialFundInfo.socialStartDate}
</if> </if>
<if test="tSocialFundInfo.providentStart != null"> <if test="tSocialFundInfo.unitProvidentPer != null">
AND a.PROVIDENT_START = #{tSocialFundInfo.providentStart} AND a.UNIT_PROVIDENT_PER = #{tSocialFundInfo.unitProvidentPer}
</if> </if>
<if test="tSocialFundInfo.firstBuyMothFund != null"> <if test="tSocialFundInfo.personalProvidentPer != null">
AND a.FIRST_BUY_MOTH_FUND = #{tSocialFundInfo.firstBuyMothFund} AND a.PERSONAL_PROVIDENT_PER = #{tSocialFundInfo.personalProvidentPer}
</if> </if>
<if test="tSocialFundInfo.upperLimitFund != null"> <if test="tSocialFundInfo.providentStart != null">
AND a.UPPER_LIMIT_FUND = #{tSocialFundInfo.upperLimitFund} AND a.PROVIDENT_START = #{tSocialFundInfo.providentStart}
</if> </if>
<if test="tSocialFundInfo.lowerLimitFund != null"> <if test="tSocialFundInfo.firstBuyMothFund != null">
AND a.LOWER_LIMIT_FUND = #{tSocialFundInfo.lowerLimitFund} AND a.FIRST_BUY_MOTH_FUND = #{tSocialFundInfo.firstBuyMothFund}
</if> </if>
<if test="tSocialFundInfo.fundPayPoint != null and tSocialFundInfo.fundPayPoint.trim() != ''"> <if test="tSocialFundInfo.upperLimitFund != null">
AND a.FUND_PAY_POINT = #{tSocialFundInfo.fundPayPoint} AND a.UPPER_LIMIT_FUND = #{tSocialFundInfo.upperLimitFund}
</if> </if>
<if test="tSocialFundInfo.canOverpayFund != null and tSocialFundInfo.canOverpayFund.trim() != ''"> <if test="tSocialFundInfo.lowerLimitFund != null">
AND a.CAN_OVERPAY_FUND = #{tSocialFundInfo.canOverpayFund} AND a.LOWER_LIMIT_FUND = #{tSocialFundInfo.lowerLimitFund}
</if> </if>
<if test="tSocialFundInfo.overpayNumberFund != null"> <if test="tSocialFundInfo.fundPayPoint != null and tSocialFundInfo.fundPayPoint.trim() != ''">
AND a.OVERPAY_NUMBER_FUND = #{tSocialFundInfo.overpayNumberFund} AND a.FUND_PAY_POINT = #{tSocialFundInfo.fundPayPoint}
</if> </if>
<if test="tSocialFundInfo.payPolicyFund != null and tSocialFundInfo.payPolicyFund.trim() != ''"> <if test="tSocialFundInfo.canOverpayFund != null and tSocialFundInfo.canOverpayFund.trim() != ''">
AND a.PAY_POLICY_FUND = #{tSocialFundInfo.payPolicyFund} AND a.CAN_OVERPAY_FUND = #{tSocialFundInfo.canOverpayFund}
</if> </if>
<if test="tSocialFundInfo.trustRemarkFund != null and tSocialFundInfo.trustRemarkFund.trim() != ''"> <if test="tSocialFundInfo.overpayNumberFund != null">
AND a.TRUST_REMARK_FUND = #{tSocialFundInfo.trustRemarkFund} AND a.OVERPAY_NUMBER_FUND = #{tSocialFundInfo.overpayNumberFund}
</if> </if>
<if test="tSocialFundInfo.haveThisMonthFund != null and tSocialFundInfo.haveThisMonthFund.trim() != ''"> <if test="tSocialFundInfo.payPolicyFund != null and tSocialFundInfo.payPolicyFund.trim() != ''">
AND a.HAVE_THIS_MONTH_FUND = #{tSocialFundInfo.haveThisMonthFund} AND a.PAY_POLICY_FUND = #{tSocialFundInfo.payPolicyFund}
</if> </if>
<if test="tSocialFundInfo.latestCardinalityFund != null and tSocialFundInfo.latestCardinalityFund.trim() != ''"> <if test="tSocialFundInfo.trustRemarkFund != null and tSocialFundInfo.trustRemarkFund.trim() != ''">
AND a.LATEST_CARDINALITY_FUND = #{tSocialFundInfo.latestCardinalityFund} AND a.TRUST_REMARK_FUND = #{tSocialFundInfo.trustRemarkFund}
</if> </if>
</if> <if test="tSocialFundInfo.haveThisMonthFund != null and tSocialFundInfo.haveThisMonthFund.trim() != ''">
</sql> AND a.HAVE_THIS_MONTH_FUND = #{tSocialFundInfo.haveThisMonthFund}
<!--tSocialFundInfo简单分页查询--> </if>
<select id="getTSocialFundInfoPage" resultMap="tSocialFundInfoMap"> <if test="tSocialFundInfo.latestCardinalityFund != null and tSocialFundInfo.latestCardinalityFund.trim() != ''">
SELECT AND a.LATEST_CARDINALITY_FUND = #{tSocialFundInfo.latestCardinalityFund}
<include refid="Base_Column_List"/> </if>
FROM t_social_fund_info a </if>
<where> </sql>
1=1 <!--tSocialFundInfo简单分页查询-->
<include refid="tSocialFundInfo_where"/> <select id="getTSocialFundInfoPage" resultMap="tSocialFundInfoMap">
</where> SELECT
</select> <include refid="Base_Column_List"/>
FROM t_social_fund_info a
<where>
1=1
<include refid="tSocialFundInfo_where"/>
</where>
</select>
<!--获取在用社保--> <!--获取在用社保-->
<select id="getSocialList" resultMap="tSocialFundInfoMap"> <select id="getSocialList" resultMap="tSocialFundInfoMap">
SELECT SELECT
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
FROM t_social_fund_info a FROM t_social_fund_info a
<where> <where>
a.SOCIAL_ADD_STATUS != '4' and a.SOCIAL_REDUCE_STATUS != '2' a.SOCIAL_ADD_STATUS != '4' and a.SOCIAL_REDUCE_STATUS != '2'
<if test="empIdCard != null"> <if test="empIdCard != null">
and a.EMP_IDCARD = #{empIdCard} and a.EMP_IDCARD = #{empIdCard}
</if> </if>
...@@ -654,14 +762,14 @@ ...@@ -654,14 +762,14 @@
#{item} #{item}
</foreach> </foreach>
</if> </if>
</where> </where>
</select> </select>
<!--获取在用公积金--> <!--获取在用公积金-->
<select id="getFundList" resultMap="tSocialFundInfoMap"> <select id="getFundList" resultMap="tSocialFundInfoMap">
SELECT SELECT
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
FROM t_social_fund_info a FROM t_social_fund_info a
<where> <where>
a.FUND_ADD_STATUS != '4' and a.FUND_REDUCE_STATUS != '2' a.FUND_ADD_STATUS != '4' and a.FUND_REDUCE_STATUS != '2'
<if test="empIdCard != null"> <if test="empIdCard != null">
and a.EMP_IDCARD = #{empIdCard} and a.EMP_IDCARD = #{empIdCard}
...@@ -672,6 +780,117 @@ ...@@ -672,6 +780,117 @@
#{item} #{item}
</foreach> </foreach>
</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