薪酬系统-福利台账导入项添加社保合计、公积金合计、其他福利合计、合计四个字段可以选择,并增加这四个字段的更新逻辑
This commit is contained in:
parent
478b9a3d16
commit
4d9b7af975
|
|
@ -779,6 +779,10 @@
|
|||
<if test="null != fundComSum and '' != fundComSum">fund_com_sum = #{fundComSum},</if>
|
||||
<if test="null != otherComJson and '' != otherComJson">other_com_json = #{otherComJson},</if>
|
||||
<if test="null != otherComSum and '' != otherComSum">other_com_sum = #{otherComSum},</if>
|
||||
<if test="null != socialSum and '' != socialSum">social_sum = #{socialSum},</if>
|
||||
<if test="null != fundSum and '' != fundSum">fund_sum = #{fundSum},</if>
|
||||
<if test="null != otherSum and '' != otherSum">other_sum = #{otherSum},</if>
|
||||
<if test="null != total and '' != total">total = #{total},</if>
|
||||
<if test="null != updateTime">update_time = #{updateTime},</if>
|
||||
|
||||
</set>
|
||||
|
|
|
|||
|
|
@ -1386,6 +1386,19 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
insuranceAccountDetailPO.setBillMonth(baseMap.get("账单月份").toString());
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("社保合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setSocialSum(baseMap.get("社保合计").toString());
|
||||
}
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("公积金合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setFundSum(baseMap.get("公积金合计").toString());
|
||||
}
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("其他福利合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setOtherSum(baseMap.get("其他福利合计").toString());
|
||||
}
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setTotal(baseMap.get("合计").toString());
|
||||
}
|
||||
|
||||
insuranceAccountDetailPO.setUpdateTime(new Date());
|
||||
|
||||
return insuranceAccountDetailPO;
|
||||
|
|
|
|||
|
|
@ -100,6 +100,12 @@ public class SalaryFormulaWrapper extends Service {
|
|||
welfareList.add(insuranceAcctDetailImportFieldDTO);
|
||||
|
||||
}
|
||||
|
||||
welfareList.add(new InsuranceAcctDetailImportFieldDTO("社保合计"));
|
||||
welfareList.add(new InsuranceAcctDetailImportFieldDTO("公积金合计"));
|
||||
welfareList.add(new InsuranceAcctDetailImportFieldDTO("其他福利合计"));
|
||||
welfareList.add(new InsuranceAcctDetailImportFieldDTO("合计"));
|
||||
|
||||
return welfareList;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue