|
@@ -347,14 +347,14 @@ public class SalaryAttendanceController {
|
|
|
String type = salaryAttendance.getType();
|
|
|
String yearWithMonth = salaryAttendance.getYearWithMonth();
|
|
|
|
|
|
- if(type.equals("考勤表")
|
|
|
- && (yearWithMonth.equals("2024-01")
|
|
|
- || yearWithMonth.equals("2024-02")
|
|
|
- || yearWithMonth.equals("2024-03")
|
|
|
- || yearWithMonth.equals("2024-04")
|
|
|
- || yearWithMonth.equals("2024-05"))){
|
|
|
- return Result.error("2024-01至2024-05为初始数据,请勿操作!!");
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
if(StringUtils.isEmpty(salaryAttendance.getId()) || "false".equals(salaryAttendance.getId())){
|
|
|
QueryWrapper<SalaryAttendance> queryWrapper = new QueryWrapper<>();
|