循环依赖
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user