联特修复

This commit is contained in:
Harryxzy 2025-05-13 15:57:00 +08:00
parent 888472d5e0
commit 6cfeed52f6
1 changed files with 2 additions and 5 deletions

View File

@ -315,9 +315,6 @@ public class SalaryCbsInfoServiceImpl extends Service implements com.engine.sala
if (!userIdList.contains(Long.valueOf(user.getUID()))) {
throw new SalaryRunTimeException("无权限");
}
if (StringUtils.isNotBlank(cbsPushParam.getSalaryCbsId()) && NumberUtils.isCreatable(cbsPushParam.getSalaryCbsId())) {
cbsPushParam.setSalaryCbsIds(Collections.singletonList(Long.valueOf(cbsPushParam.getSalaryCbsId())));
}
if (CollectionUtils.isEmpty(cbsPushParam.getIds()) && CollectionUtils.isEmpty(cbsPushParam.getSalaryCbsIds())) {
throw new SalaryRunTimeException("请选择需要推送至CBS的数据");
@ -438,9 +435,9 @@ public class SalaryCbsInfoServiceImpl extends Service implements com.engine.sala
log.error("cbs推送出错1" + pushResult);
throw new SalaryRunTimeException("cbs推送出错:" + errorMsg);
}
} catch (SalaryRunTimeException e) {
} catch (Exception e) {
log.error("cbs推送出错2" + pushResult);
throw new RuntimeException("cbs推送出错:" + e);
throw new SalaryRunTimeException("cbs推送出错:" + e);
}
} else {
// 弹出提示框