yonge vor 3 Jahren
Ursprung
Commit
fd94cd25ed

+ 2 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/OrganizationServiceImpl.java

@@ -11,6 +11,7 @@ import java.util.stream.Collectors;
 
 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;
 
@@ -55,6 +56,7 @@ public class OrganizationServiceImpl extends BaseServiceImpl<Integer, Organizati
 	@Autowired
 	private SysEmployeePositionService employeePositionService;
 	@Autowired
+    @Lazy
 	private ContractService contractService;
 	@Autowired
 	private TenantInfoDao tenantInfoDao;