取消社保台账重新核算限制
This commit is contained in:
parent
e3d5ca78f4
commit
ea06150dc5
|
|
@ -1551,11 +1551,11 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
public void socialSecurityBenefitsRecalculate(InsuranceAccountBatchPO param) {
|
||||
//fixme 重新核算的校验逻辑 1、先取台账对应扣缴义务人下的所有账套 2、取账套下所有核算记录 3、判断核算记录有没有使用对应月份的福利台账
|
||||
// int num = getSiAccountBiz(user).checkIfBusinessaccounting(param);
|
||||
int num = checkIfBusinessAccounting(param);
|
||||
//表示已经被核算过不能重新核算
|
||||
if (num > 0) {
|
||||
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(0, "已被薪酬核算给核算过,无法重新核算!"));
|
||||
}
|
||||
// int num = checkIfBusinessAccounting(param);
|
||||
// //表示已经被核算过不能重新核算
|
||||
// if (num > 0) {
|
||||
// throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(0, "已被薪酬核算给核算过,无法重新核算!"));
|
||||
// }
|
||||
param.setBillStatus(0);
|
||||
// getSiAccountBiz(user).updateById(param);
|
||||
updateById(param);
|
||||
|
|
|
|||
Loading…
Reference in New Issue