处理冲突

This commit is contained in:
钱涛 2025-01-22 14:41:00 +08:00
parent a5fdcc26e5
commit e398622191
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ public class OtherDeductionServiceImpl extends Service implements OtherDeduction
//税款所属期
Date declareMonth = SalaryDateUtil.stringToDate(declareMonthStr + "-01");
// 获取已经核算的数据
List<SalaryAcctEmployeePO> salaryAcctEmployees = getAddUpDeductionService(user).getAccountedEmployeeData(declareMonthStr);
List<SalaryAcctEmployeePO> salaryAcctEmployees = getAddUpDeductionService(user).getAccountedEmployeeDataByTaxYearMonth(declareMonthStr);
// 查询已有数据
List<OtherDeductionPO> list = getOtherDeductionMapper().listSome(OtherDeductionPO.builder().declareMonth(declareMonth).build());