This commit is contained in:
2024-08-15 08:59:17 +08:00
parent 2057c691f0
commit fd6904218a
2 changed files with 2 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ public class EmpSalaryService extends BaseService<EmpSalaryEntity, EmpSalaryRepo
salary.update(salaryEntity);
stopWatch.stop();
salaries.add(salaryEntity);
// salaries.add(salaryEntity);
}
// 保存到数据库

View File

@@ -288,7 +288,7 @@ public class EmpSalaryItemService
throw new BizException("无效的公式: " + item.getName());
}
variables.removeAll(Arrays.asList("salary", "emp", "stdMap", "batch"));
variables.removeAll(Arrays.asList("salary", "emp", "stdMap", "batch", "this"));
Collection<String> unknownVariables = CollectionUtils.removeAll(variables, dependOn);