社保台账:
1、批量新建核算记录并核算。 2、批量归档 3、批量重新核算 薪资核算: 1、批量新建核算记录并核算。 2、批量归档 3、批量重新核算 工资单: 1、批量发放 2、批量撤回 申报表: 1、批量申报
This commit is contained in:
parent
2767114bfb
commit
f224916aac
|
|
@ -6817,11 +6817,12 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
|
||||
@Override
|
||||
public void batDelete(AccountBatParam batParam) {
|
||||
List<Long> paymentOrganizations = batParam.getPaymentOrganizations();
|
||||
for (Long paymentOrganization : paymentOrganizations) {
|
||||
List<Long> ids = batParam.getIds();
|
||||
for (Long id : ids) {
|
||||
InsuranceAccountBatchPO po = getInsuranceAccountBatchMapper().getById(id);
|
||||
AccountParam param = AccountParam.builder()
|
||||
.billMonth(batParam.getBillMonth())
|
||||
.paymentOrganization(paymentOrganization)
|
||||
.billMonth(po.getBillMonth())
|
||||
.paymentOrganization(po.getPaymentOrganization())
|
||||
.build();
|
||||
delete(param);
|
||||
}
|
||||
|
|
@ -6829,11 +6830,12 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
|
||||
@Override
|
||||
public void batFile(AccountBatParam batParam) {
|
||||
List<Long> paymentOrganizations = batParam.getPaymentOrganizations();
|
||||
for (Long paymentOrganization : paymentOrganizations) {
|
||||
List<Long> ids = batParam.getIds();
|
||||
for (Long id : ids) {
|
||||
InsuranceAccountBatchPO po = getInsuranceAccountBatchMapper().getById(id);
|
||||
AccountParam param = AccountParam.builder()
|
||||
.billMonth(batParam.getBillMonth())
|
||||
.paymentOrganization(paymentOrganization)
|
||||
.billMonth(po.getBillMonth())
|
||||
.paymentOrganization(po.getPaymentOrganization())
|
||||
.build();
|
||||
file(param);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue