艾志人员信息报送bugfix

This commit is contained in:
Harryxzy 2024-07-04 14:19:11 +08:00
parent 7359904509
commit 7de7e8b84c
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ public class EmployeeDeclareRefresh {
// || Objects.equals(salaryArchive.getRunStatus(), SalaryArchiveStatusEnum.STOP_FROM_SUSPEND.getValue()))) {
// 校验 末次发薪日期+1 是否等于或早于当前税款所属期
if (salaryArchive != null && salaryArchive.getLastPayDate() != null &&
(!SalaryDateUtil.localDate2YearMonth(salaryArchive.getLastPayDate()).plusMonths(1)
.isAfter(SalaryDateUtil.localDate2YearMonth(dto.getTaxCycle())) )) {
(SalaryDateUtil.localDate2YearMonth(salaryArchive.getLastPayDate()).plusMonths(1)
.equals(SalaryDateUtil.localDate2YearMonth(dto.getTaxCycle())) )) {
employeeDeclare.setDeclareStatus(DeclareStatusEnum.NOT_DECLARE.getValue());
employeeDeclare.setEmploymentStatus(EmploymentStatusEnum.ABNORMAL.getValue());
employeeDeclare.setDismissDate(salaryArchive.getLastPayDate());