Commit 0d998ed0 authored by huyuchen's avatar huyuchen

优化修改

parent e839d12b
...@@ -19,9 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.social.entity; ...@@ -19,9 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.social.entity;
import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle; import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
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.mybatis.base.BaseEntity; import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
...@@ -654,6 +652,15 @@ public class TPaymentInfo extends BaseEntity { ...@@ -654,6 +652,15 @@ public class TPaymentInfo extends BaseEntity {
@ExcelProperty("支出信息付款状态") @ExcelProperty("支出信息付款状态")
private String payCollectFlag; private String payCollectFlag;
/**
* 二级指标归属
*/
@ExcelAttribute(name = "二级指标归属", maxLength = 50)
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("二级指标归属")
@Schema(description = "二级指标归属")
private String secondIndicatorBelong ;
/** /**
* EKP的 是否BPO: 是 否 * EKP的 是否BPO: 是 否
*/ */
......
...@@ -88,6 +88,15 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable { ...@@ -88,6 +88,15 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable {
@ExcelProperty("项目编码" ) @ExcelProperty("项目编码" )
private String settleDomainCode; private String settleDomainCode;
/**
* 二级指标归属
*/
@ExcelAttribute(name = "二级指标归属", maxLength = 50)
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("二级指标归属")
@Schema(description = "二级指标归属")
private String secondIndicatorBelong ;
/** /**
* 社保户 * 社保户
*/ */
......
...@@ -402,4 +402,13 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable { ...@@ -402,4 +402,13 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable {
@Schema(description = "分组键") @Schema(description = "分组键")
private String keyGroup; private String keyGroup;
/**
* 二级指标归属
*/
@ExcelAttribute(name = "二级指标归属", maxLength = 50)
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("二级指标归属")
@Schema(description = "二级指标归属")
private String secondIndicatorBelong ;
} }
...@@ -1351,6 +1351,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -1351,6 +1351,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
continue; continue;
} }
paymentInfo.setBpoFlag(domain.getBpoFlag()); paymentInfo.setBpoFlag(domain.getBpoFlag());
paymentInfo.setSecondIndicatorBelong(domain.getSecondIndicatorBelong());
paymentInfo.setSettleDomainId(socialInfo.getSettleDomain()); paymentInfo.setSettleDomainId(socialInfo.getSettleDomain());
paymentInfo.setSettleDomainName(socialInfo.getSettleDomainName()); paymentInfo.setSettleDomainName(socialInfo.getSettleDomainName());
paymentInfo.setSettleDomainCode(socialInfo.getSettleDomainCode()); paymentInfo.setSettleDomainCode(socialInfo.getSettleDomainCode());
...@@ -1377,6 +1378,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -1377,6 +1378,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
continue; continue;
} }
paymentInfo.setSettleDomainName(domain.getDepartName()); paymentInfo.setSettleDomainName(domain.getDepartName());
paymentInfo.setSecondIndicatorBelong(domain.getSecondIndicatorBelong());
paymentInfo.setUnitId(domain.getCustomerId()); paymentInfo.setUnitId(domain.getCustomerId());
paymentInfo.setUnitName(domain.getCustomerName()); paymentInfo.setUnitName(domain.getCustomerName());
paymentInfo.setBpoFlag(domain.getBpoFlag()); paymentInfo.setBpoFlag(domain.getBpoFlag());
...@@ -1863,6 +1865,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -1863,6 +1865,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
} }
paymentInfo.setBpoFlag(domain.getBpoFlag()); paymentInfo.setBpoFlag(domain.getBpoFlag());
paymentInfo.setSettleDomainId(fund.getSettleDomainFund()); paymentInfo.setSettleDomainId(fund.getSettleDomainFund());
paymentInfo.setSecondIndicatorBelong(domain.getSecondIndicatorBelong());
paymentInfo.setSettleDomainName(fund.getSettleDomainNameFund()); paymentInfo.setSettleDomainName(fund.getSettleDomainNameFund());
paymentInfo.setSettleDomainCode(fund.getSettleDomainCodeFund()); paymentInfo.setSettleDomainCode(fund.getSettleDomainCodeFund());
paymentInfo.setUnitId(fund.getUnitIdFund()); paymentInfo.setUnitId(fund.getUnitIdFund());
...@@ -1888,6 +1891,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -1888,6 +1891,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
continue; continue;
} }
paymentInfo.setSettleDomainName(domain.getDepartName()); paymentInfo.setSettleDomainName(domain.getDepartName());
paymentInfo.setSecondIndicatorBelong(domain.getSecondIndicatorBelong());
paymentInfo.setUnitId(domain.getCustomerId()); paymentInfo.setUnitId(domain.getCustomerId());
paymentInfo.setUnitName(domain.getCustomerName()); paymentInfo.setUnitName(domain.getCustomerName());
paymentInfo.setBpoFlag(domain.getBpoFlag()); paymentInfo.setBpoFlag(domain.getBpoFlag());
...@@ -2545,6 +2549,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -2545,6 +2549,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
continue; continue;
} }
payExists.setBpoFlag(domain.getBpoFlag()); payExists.setBpoFlag(domain.getBpoFlag());
payExists.setSecondIndicatorBelong(domain.getSecondIndicatorBelong());
payExists.setSettleDomainId(socialInfo.getSettleDomain()); payExists.setSettleDomainId(socialInfo.getSettleDomain());
payExists.setSettleDomainCode(Common.isNotNull(socialInfo.getSettleDomainCode()) ? socialInfo.getSettleDomainCode(): ""); payExists.setSettleDomainCode(Common.isNotNull(socialInfo.getSettleDomainCode()) ? socialInfo.getSettleDomainCode(): "");
payExists.setUnitId(Common.isNotNull(socialInfo.getUnitId()) ? socialInfo.getUnitId(): ""); payExists.setUnitId(Common.isNotNull(socialInfo.getUnitId()) ? socialInfo.getUnitId(): "");
...@@ -2571,6 +2576,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -2571,6 +2576,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
} }
payExists.setSettleDomainId(tSocialInfo.getSettleDomain()); payExists.setSettleDomainId(tSocialInfo.getSettleDomain());
payExists.setSettleDomainCode(tSocialInfo.getSettleDomainCode()); payExists.setSettleDomainCode(tSocialInfo.getSettleDomainCode());
payExists.setSecondIndicatorBelong(domain.getSecondIndicatorBelong());
payExists.setSettleDomainName(domain.getDepartName()); payExists.setSettleDomainName(domain.getDepartName());
payExists.setUnitId(domain.getCustomerId()); payExists.setUnitId(domain.getCustomerId());
payExists.setUnitName(domain.getCustomerName()); payExists.setUnitName(domain.getCustomerName());
......
...@@ -105,6 +105,7 @@ ...@@ -105,6 +105,7 @@
<result property="paySettleFlag" column="PAY_SETTLE_FLAG"/> <result property="paySettleFlag" column="PAY_SETTLE_FLAG"/>
<result property="payCollectFlag" column="PAY_COLLECT_FLAG"/> <result property="payCollectFlag" column="PAY_COLLECT_FLAG"/>
<result property="bpoFlag" column="BPO_FLAG"/> <result property="bpoFlag" column="BPO_FLAG"/>
<result property="secondIndicatorBelong" column="SECOND_INDICATOR_BELONG"/>
</resultMap> </resultMap>
<resultMap id="tPaymentInfoSumMap" type="com.yifu.cloud.plus.v1.yifu.social.vo.TPaymentInfoExportVo"> <resultMap id="tPaymentInfoSumMap" type="com.yifu.cloud.plus.v1.yifu.social.vo.TPaymentInfoExportVo">
<result property="empName" column="EMP_NAME"/> <result property="empName" column="EMP_NAME"/>
...@@ -300,6 +301,7 @@ ...@@ -300,6 +301,7 @@
<result property="unitSocialFundSum" column="UNIT_SOCIAL_FUND_SUM"/> <result property="unitSocialFundSum" column="UNIT_SOCIAL_FUND_SUM"/>
<result property="socialFundPersonalSum" column="SOCIAL_FUND_PERSONAL_SUM"/> <result property="socialFundPersonalSum" column="SOCIAL_FUND_PERSONAL_SUM"/>
<result property="keyGroup" column="keyGroup"/> <result property="keyGroup" column="keyGroup"/>
<result property="secondIndicatorBelong" column="SECOND_INDICATOR_BELONG"/>
</resultMap> </resultMap>
<resultMap id="tPaymentInfoNewExportMap" type="com.yifu.cloud.plus.v1.yifu.social.vo.TPaymentInfoNewExportVo"> <resultMap id="tPaymentInfoNewExportMap" type="com.yifu.cloud.plus.v1.yifu.social.vo.TPaymentInfoNewExportVo">
...@@ -348,6 +350,7 @@ ...@@ -348,6 +350,7 @@
<result property="personalProidentSet" column="PERSONAL_PROIDENT_SET"/> <result property="personalProidentSet" column="PERSONAL_PROIDENT_SET"/>
<result property="personalProvidentSum" column="PERSONAL_PROVIDENT_SUM"/> <result property="personalProvidentSum" column="PERSONAL_PROVIDENT_SUM"/>
<result property="keyGroup" column="keyGroup"/> <result property="keyGroup" column="keyGroup"/>
<result property="secondIndicatorBelong" column="SECOND_INDICATOR_BELONG"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
a.ID, a.ID,
...@@ -850,6 +853,9 @@ ...@@ -850,6 +853,9 @@
<if test="tPaymentInfo.providentHousehold != null and tPaymentInfo.providentHousehold.trim() != ''"> <if test="tPaymentInfo.providentHousehold != null and tPaymentInfo.providentHousehold.trim() != ''">
AND c.PROVIDENT_HOUSEHOLD = #{tPaymentInfo.providentHousehold} AND c.PROVIDENT_HOUSEHOLD = #{tPaymentInfo.providentHousehold}
</if> </if>
<if test="tPaymentInfo.secondIndicatorBelong != null and tPaymentInfo.secondIndicatorBelong.trim() != ''">
AND c.SECOND_INDICATOR_BELONG = #{tPaymentInfo.secondIndicatorBelong}
</if>
</if> </if>
</if> </if>
</sql> </sql>
...@@ -869,6 +875,9 @@ ...@@ -869,6 +875,9 @@
<if test="tPaymentInfo.socialPayMonth != null and tPaymentInfo.socialPayMonth.trim() != ''"> <if test="tPaymentInfo.socialPayMonth != null and tPaymentInfo.socialPayMonth.trim() != ''">
AND k.SOCIAL_PAY_MONTH = #{tPaymentInfo.socialPayMonth} AND k.SOCIAL_PAY_MONTH = #{tPaymentInfo.socialPayMonth}
</if> </if>
<if test="tPaymentInfo.secondIndicatorBelong != null and tPaymentInfo.secondIndicatorBelong.trim() != ''">
AND k.SECOND_INDICATOR_BELONG = #{tPaymentInfo.secondIndicatorBelong}
</if>
</if> </if>
</if> </if>
</sql> </sql>
...@@ -1159,6 +1168,7 @@ ...@@ -1159,6 +1168,7 @@
c.EMP_NAME, c.EMP_NAME,
c.UNIT_NAME, c.UNIT_NAME,
c.SETTLE_DOMAIN_NAME, c.SETTLE_DOMAIN_NAME,
c.SECOND_INDICATOR_BELONG,
c.SOCIAL_HOUSEHOLD, c.SOCIAL_HOUSEHOLD,
c.SOCIAL_PAY_ADDR, c.SOCIAL_PAY_ADDR,
c.SOCIAL_PAY_MONTH, c.SOCIAL_PAY_MONTH,
...@@ -1175,6 +1185,7 @@ ...@@ -1175,6 +1185,7 @@
w.EMP_NAME, w.EMP_NAME,
w.UNIT_NAME, w.UNIT_NAME,
w.SETTLE_DOMAIN_NAME, w.SETTLE_DOMAIN_NAME,
w.SECOND_INDICATOR_BELONG,
w.SOCIAL_HOUSEHOLD, w.SOCIAL_HOUSEHOLD,
w.SOCIAL_PAY_ADDR, w.SOCIAL_PAY_ADDR,
w.SOCIAL_PAY_MONTH, w.SOCIAL_PAY_MONTH,
...@@ -1191,6 +1202,7 @@ ...@@ -1191,6 +1202,7 @@
a.EMP_IDCARD, a.EMP_IDCARD,
a.UNIT_NAME, a.UNIT_NAME,
a.SETTLE_DOMAIN_NAME, a.SETTLE_DOMAIN_NAME,
a.SECOND_INDICATOR_BELONG,
a.SOCIAL_HOUSEHOLD, a.SOCIAL_HOUSEHOLD,
a.SOCIAL_PAY_ADDR, a.SOCIAL_PAY_ADDR,
a.SOCIAL_PAY_MONTH, a.SOCIAL_PAY_MONTH,
...@@ -1214,6 +1226,7 @@ ...@@ -1214,6 +1226,7 @@
a.EMP_IDCARD, a.EMP_IDCARD,
a.UNIT_NAME, a.UNIT_NAME,
a.SETTLE_DOMAIN_NAME, a.SETTLE_DOMAIN_NAME,
a.SECOND_INDICATOR_BELONG,
a.SOCIAL_HOUSEHOLD, a.SOCIAL_HOUSEHOLD,
a.SOCIAL_PAY_ADDR, a.SOCIAL_PAY_ADDR,
a.PROVIDENT_PAY_MONTH as SOCIAL_PAY_MONTH, a.PROVIDENT_PAY_MONTH as SOCIAL_PAY_MONTH,
...@@ -1245,6 +1258,7 @@ ...@@ -1245,6 +1258,7 @@
k.EMP_NAME, k.EMP_NAME,
k.UNIT_NAME, k.UNIT_NAME,
k.SETTLE_DOMAIN_NAME, k.SETTLE_DOMAIN_NAME,
k.SECOND_INDICATOR_BELONG,
k.SOCIAL_HOUSEHOLD, k.SOCIAL_HOUSEHOLD,
k.SOCIAL_SECURITY_NO, k.SOCIAL_SECURITY_NO,
k.SOCIAL_PAY_ADDR, k.SOCIAL_PAY_ADDR,
...@@ -1294,6 +1308,7 @@ ...@@ -1294,6 +1308,7 @@
w.EMP_NAME, w.EMP_NAME,
w.UNIT_NAME, w.UNIT_NAME,
w.SETTLE_DOMAIN_NAME, w.SETTLE_DOMAIN_NAME,
w.SECOND_INDICATOR_BELONG,
w.SOCIAL_HOUSEHOLD, w.SOCIAL_HOUSEHOLD,
MAX( w.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO, MAX( w.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO,
w.SOCIAL_PAY_ADDR, w.SOCIAL_PAY_ADDR,
...@@ -1343,6 +1358,7 @@ ...@@ -1343,6 +1358,7 @@
a.EMP_IDCARD, a.EMP_IDCARD,
a.UNIT_NAME, a.UNIT_NAME,
a.SETTLE_DOMAIN_NAME, a.SETTLE_DOMAIN_NAME,
a.SECOND_INDICATOR_BELONG,
a.SOCIAL_HOUSEHOLD, a.SOCIAL_HOUSEHOLD,
MAX( a.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO, MAX( a.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO,
a.SOCIAL_PAY_ADDR, a.SOCIAL_PAY_ADDR,
...@@ -1397,6 +1413,7 @@ ...@@ -1397,6 +1413,7 @@
a.EMP_IDCARD, a.EMP_IDCARD,
a.UNIT_NAME, a.UNIT_NAME,
a.SETTLE_DOMAIN_NAME, a.SETTLE_DOMAIN_NAME,
a.SECOND_INDICATOR_BELONG,
a.SOCIAL_HOUSEHOLD, a.SOCIAL_HOUSEHOLD,
a.SOCIAL_SECURITY_NO, a.SOCIAL_SECURITY_NO,
a.SOCIAL_PAY_ADDR, a.SOCIAL_PAY_ADDR,
...@@ -1498,6 +1515,7 @@ ...@@ -1498,6 +1515,7 @@
c.EMP_NAME, c.EMP_NAME,
c.UNIT_NAME, c.UNIT_NAME,
c.SETTLE_DOMAIN_CODE, c.SETTLE_DOMAIN_CODE,
c.SECOND_INDICATOR_BELONG,
c.SETTLE_DOMAIN_NAME, c.SETTLE_DOMAIN_NAME,
c.SOCIAL_HOUSEHOLD, c.SOCIAL_HOUSEHOLD,
c.SOCIAL_SECURITY_NO, c.SOCIAL_SECURITY_NO,
...@@ -1545,6 +1563,7 @@ ...@@ -1545,6 +1563,7 @@
w.EMP_NAME, w.EMP_NAME,
w.UNIT_NAME, w.UNIT_NAME,
w.SETTLE_DOMAIN_CODE, w.SETTLE_DOMAIN_CODE,
w.SECOND_INDICATOR_BELONG,
w.SETTLE_DOMAIN_NAME, w.SETTLE_DOMAIN_NAME,
w.SOCIAL_HOUSEHOLD, w.SOCIAL_HOUSEHOLD,
MAX( w.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO, MAX( w.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO,
...@@ -1592,6 +1611,7 @@ ...@@ -1592,6 +1611,7 @@
a.EMP_IDCARD, a.EMP_IDCARD,
a.UNIT_NAME, a.UNIT_NAME,
a.SETTLE_DOMAIN_CODE, a.SETTLE_DOMAIN_CODE,
a.SECOND_INDICATOR_BELONG,
a.SETTLE_DOMAIN_NAME, a.SETTLE_DOMAIN_NAME,
a.SOCIAL_HOUSEHOLD, a.SOCIAL_HOUSEHOLD,
MAX( a.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO, MAX( a.SOCIAL_SECURITY_NO ) AS SOCIAL_SECURITY_NO,
...@@ -1646,6 +1666,7 @@ ...@@ -1646,6 +1666,7 @@
a.EMP_IDCARD, a.EMP_IDCARD,
a.UNIT_NAME, a.UNIT_NAME,
a.SETTLE_DOMAIN_CODE, a.SETTLE_DOMAIN_CODE,
a.SECOND_INDICATOR_BELONG,
a.SETTLE_DOMAIN_NAME, a.SETTLE_DOMAIN_NAME,
a.SOCIAL_HOUSEHOLD, a.SOCIAL_HOUSEHOLD,
a.SOCIAL_SECURITY_NO, a.SOCIAL_SECURITY_NO,
......
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