福利台账解密问题
This commit is contained in:
parent
d36fb221cc
commit
e306b6754d
|
|
@ -440,7 +440,7 @@ public class SIAccountBiz extends Service{
|
|||
insuranceAccountDetailPO.setFundPaymentBaseString(fundPO.getFundPaymentBaseString());
|
||||
if ((NonPaymentEnum.YES.getValue() == fundPO.getNonPayment() || fundPO.getNonPayment() == null) && fundPO.getFundSchemeId() != null) {
|
||||
List<InsuranceSchemeDetailPO> detailPOS = MapperProxyFactory.getProxy(InsuranceSchemeDetailMapper.class).queryListBySchemeId(fundPO.getFundSchemeId());
|
||||
InsuranceSchemeDetailPOEncrypt.encryptList(detailPOS);
|
||||
InsuranceSchemeDetailPOEncrypt.decryptList(detailPOS);
|
||||
//方案中包含的需要缴纳社保的个人福利
|
||||
Map<Long, InsuranceSchemeDetailPO> fundperson = detailPOS.stream()
|
||||
.filter(item -> IsPaymentEnum.YES.getValue() == item.getIsPayment() && item.getPaymentScope() == PaymentScopeEnum.SCOPE_PERSON.getValue())
|
||||
|
|
@ -1319,11 +1319,9 @@ public class SIAccountBiz extends Service{
|
|||
//开始归档数据
|
||||
InsuranceAccountBatchPO insuranceAccountBatchPO = MapperProxyFactory.getProxy(InsuranceAccountBatchMapper.class).getByBillStatus(billMonth,BillStatusEnum.NOT_ARCHIVED.getValue());
|
||||
SiAccountEncrypt.decryptInsuranceAccountBatch(insuranceAccountBatchPO);
|
||||
insuranceAccountBatchPO = SiAccountEncrypt.decryptInsuranceAccountBatch(insuranceAccountBatchPO);
|
||||
SalaryAssert.notNull(insuranceAccountBatchPO, SalaryI18nUtil.getI18nLabel( 100503, "月份账单不存在"));
|
||||
SalaryAssert.isFalse(insuranceAccountBatchPO.getBillStatus() == BillStatusEnum.ARCHIVED.getValue(), SalaryI18nUtil.getI18nLabel( 100504, "月份账单已归档"));
|
||||
insuranceAccountBatchPO.setBillStatus(BillStatusEnum.ARCHIVED.getValue());
|
||||
insuranceAccountBatchPO = SiAccountEncrypt.encryptInsuranceAccountBatch(insuranceAccountBatchPO);
|
||||
SiAccountEncrypt.encryptInsuranceAccountBatch(insuranceAccountBatchPO);
|
||||
MapperProxyFactory.getProxy(InsuranceAccountBatchMapper.class).updateById(insuranceAccountBatchPO);
|
||||
//日志记录
|
||||
|
|
|
|||
|
|
@ -516,7 +516,7 @@ public class SIArchivesBiz {
|
|||
.welfareType(paramReq.getWelfareType().getValue())
|
||||
.employeeId(param.getEmployeeId())
|
||||
.build();
|
||||
InsuranceArchivesFundSchemePOEncrypt.decryptItem(insuranceArchivesFundSchemePO);
|
||||
InsuranceArchivesFundSchemePOEncrypt.encryptItem(insuranceArchivesFundSchemePO);
|
||||
fundSchemeMapper.batchSave(Collections.singletonList(insuranceArchivesFundSchemePO));
|
||||
sqlSession.commit();
|
||||
}finally {
|
||||
|
|
|
|||
Loading…
Reference in New Issue