可删除报送成功人员

This commit is contained in:
钱涛 2024-03-08 11:34:50 +08:00
parent 73df953ae5
commit 9415dd8e71
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ public class EmployeeDeclareServiceImpl extends Service implements EmployeeDecla
}
boolean declareSuccess = employeeDeclares.stream().anyMatch(e -> Objects.equals(e.getSuccessfullyDeclared(), 1));
if (declareSuccess) {
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(156467, "报送成功过的人员不允许删除"));
// throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(156467, "报送成功过的人员不允许删除"));
}
getEmployeeDeclareMapper().deleteByIds(ids, new Date());
// 记录日志