Pārlūkot izejas kodu

试卷结构上传

xiaof 3 gadi atpakaļ
vecāks
revīzija
21a1db8cb1

+ 2 - 0
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/ExamPaperStructureServiceImpl.java

@@ -31,6 +31,7 @@ import com.qmth.teachcloud.common.util.ServletUtil;
 import com.qmth.teachcloud.common.util.excel.ExcelError;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Lazy;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.util.CollectionUtils;
@@ -57,6 +58,7 @@ public class ExamPaperStructureServiceImpl extends ServiceImpl<ExamPaperStructur
     ExamTaskDetailService examTaskDetailService;
 
     @Resource
+    @Lazy
     PrintCommonService printCommonService;
 
     @Autowired