Joburgess преди 4 години
родител
ревизия
e69155ec41
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/CourseScheduleTeacherSalaryServiceImpl.java

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/CourseScheduleTeacherSalaryServiceImpl.java

@@ -2042,7 +2042,7 @@ public class CourseScheduleTeacherSalaryServiceImpl extends BaseServiceImpl<Long
         SysConfig attendanceRangeConfig = sysConfigService.findByParamName(SysConfigService.ATTENDANCE_RANGE_VIP);
         double attendanceRange = 0;
         if(Objects.nonNull(sysConfig)){
-            attendanceRange = Double.valueOf(sysConfig.getParanValue());
+            attendanceRange = Double.valueOf(attendanceRangeConfig.getParanValue());
         }
         teacherSalaryOverview.setAttendanceRange(attendanceRange);