赵士淞
2023-01-11 abfbc977544052d42a1fd76097edf61c50bdcb7a
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/SalaryTask.java
@@ -4,6 +4,7 @@
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.modules.attendance.service.AttendanceService;
import me.zhengjie.modules.attendance.service.dto.AttendanceQueryCriteria;
import me.zhengjie.modules.constant.Constant;
import me.zhengjie.modules.salary.domain.Salary;
import me.zhengjie.modules.salary.service.SalaryService;
import me.zhengjie.modules.salary.service.dto.SalaryQueryCriteria;
@@ -100,6 +101,8 @@
        Salary salary = new Salary();
        salary.setUserId(userId);
        salary.setSalaryYearMonth(new Timestamp(cal.getTime().getTime()));
        salary.setPublicityStatus(Constant.PUBLICITY_STATUS_NOT);
        salary.setApproveStatus(Constant.APPROVE_STATUS_UNRECOGNIZED);
        // 获取用户级别工资
        salary = getUserLevelWage(userId, targetYearMonth, salary);
        // 获取用户级别保险