薪酬系统-福利台账,退差数据不参与薪资核算

This commit is contained in:
sy 2022-11-22 10:26:34 +08:00
parent 7c299e6199
commit d7a4b30185
2 changed files with 3 additions and 1 deletions

View File

@ -284,7 +284,7 @@
t.fund_per_json,t.fund_com_json,t.other_per_json,
t.other_com_json,t.social_per_sum,t.social_com_sum,
t.fund_per_sum,t.fund_com_sum,t.other_per_sum,
t.other_com_sum,t.per_sum,t.com_sum
t.other_com_sum,t.per_sum,t.com_sum,t.payment_status
FROM
hrsa_bill_detail t
WHERE t.delete_type = 0

View File

@ -889,6 +889,8 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
public List<InsuranceAccountDetailPO> queryList(String billMonth, Long taxAgentId, List<Long> employeeIds) {
List<InsuranceAccountDetailPO> insuranceAccountDetailPOS = getInsuranceAccountDetailMapper().queryList(billMonth, taxAgentId, employeeIds);
//退差数据不参与薪资核算
insuranceAccountDetailPOS = insuranceAccountDetailPOS.stream().filter(f -> f.getPaymentStatus().equals(PaymentStatusEnum.COMMON.getValue()) || f.getPaymentStatus().equals(PaymentStatusEnum.REPAIR.getValue())).collect(Collectors.toList());
List<InsuranceAccountDetailPO> list = buildNewInsuranceDetailPOS(insuranceAccountDetailPOS);
// InsuranceAccountDetailPOEncrypt.decryptInsuranceAccountDetailPOList(list);
return list;