Преглед на файлове

Merge remote-tracking branch 'origin/master'

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

+ 4 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -24,11 +24,13 @@ import com.ym.mec.im.ImFeignService;
 import com.ym.mec.thirdparty.message.MessageSenderPluginContext;
 import com.ym.mec.util.collection.MapUtil;
 import com.ym.mec.util.date.DateUtil;
+
 import org.apache.commons.lang3.StringUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Lazy;
 import org.springframework.scheduling.annotation.Async;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Isolation;
@@ -52,6 +54,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 	@Autowired
 	private ClassGroupTeacherMapperDao classGroupTeacherMapperDao;
 	@Autowired
+	@Lazy
 	private CourseScheduleService courseScheduleService;
 	@Autowired
 	private CourseScheduleDao courseScheduleDao;
@@ -86,6 +89,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
     @Autowired
 	private SubjectDao subjectDao;
     @Autowired
+    @Lazy
 	private CourseScheduleTeacherSalaryService courseScheduleTeacherSalaryService;
     @Autowired
 	private CourseScheduleStudentPaymentService courseScheduleStudentPaymentService;