循环依赖
This commit is contained in:
@@ -13,6 +13,7 @@ import com.yunhai.bschclassmanage.utils.RedisConstants;
|
|||||||
import com.yunhai.bschclassmanage.utils.RedisUtil;
|
import com.yunhai.bschclassmanage.utils.RedisUtil;
|
||||||
import com.yunhai.platform.utils.exception.DException;
|
import com.yunhai.platform.utils.exception.DException;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Lazy;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
@@ -25,6 +26,7 @@ public class BaseSchsystemGradeService implements IBaseSchsystemGradeService {
|
|||||||
private BaseSchsystemGradeRepository baseSchsystemGradeRepository;
|
private BaseSchsystemGradeRepository baseSchsystemGradeRepository;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@Lazy
|
||||||
private ISchBinSchsystemService schBinSchsystemService;
|
private ISchBinSchsystemService schBinSchsystemService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public class ComSchTreeService implements IComSchTreeService {
|
|||||||
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@Lazy
|
||||||
private ISchBinSchsystemService schBinSchsystemService;
|
private ISchBinSchsystemService schBinSchsystemService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Reference in New Issue
Block a user