循环依赖

This commit is contained in:
2026-08-20 00:50:11 +08:00
parent be754dc22c
commit 14244729ee
2 changed files with 3 additions and 0 deletions
@@ -13,6 +13,7 @@ import com.yunhai.bschclassmanage.utils.RedisConstants;
import com.yunhai.bschclassmanage.utils.RedisUtil;
import com.yunhai.platform.utils.exception.DException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import java.util.*;
@@ -25,6 +26,7 @@ public class BaseSchsystemGradeService implements IBaseSchsystemGradeService {
private BaseSchsystemGradeRepository baseSchsystemGradeRepository;
@Autowired
@Lazy
private ISchBinSchsystemService schBinSchsystemService;
@Autowired
@@ -30,6 +30,7 @@ public class ComSchTreeService implements IComSchTreeService {
@Autowired
@Lazy
private ISchBinSchsystemService schBinSchsystemService;
@Autowired