Commit b79d53bf authored by wangyangyang's avatar wangyangyang

调整项目群查询

parent f8a90857
......@@ -39,7 +39,7 @@ import org.springframework.data.domain.PageImpl;
**/
@Slf4j
@Service(ExtProgramServiceImpl.BEAN_NAME)
@DexCacheConfig(cacheClazz=ExtProgramVO.class,close=false,cacheType= DexCacheTypeEnum.FULL_DATA,server=true)
@DexCacheConfig(cacheClazz = ExtProgramVO.class, close = false, cacheType = DexCacheTypeEnum.FULL_DATA, server = true)
public class ExtProgramServiceImpl<V extends ExtProgramVO> implements ExtProgramService<V> {
......@@ -71,11 +71,11 @@ public class ExtProgramServiceImpl<V extends ExtProgramVO> implements ExtProgram
List<DxContextProjectVO> children = extDxContextService.getSingleChild(targetId);
//深度查询查不出来,以下方法查询也是有问题
// DxContextVO target = extDxContextService.getContextVoById(targetId);
DxContextVO target = (DxContextVO) extDxContextService.search(SearchUtil.buildQuery("id", SearchItem.Operator.EQ, targetId)).getContent().get(0);
// DxContextVO target = (DxContextVO) extDxContextService.search(SearchUtil.buildQuery("id", SearchItem.Operator.EQ, targetId)).getContent().get(0);
// DxContextVO target = (DxContextVO) contextProjectServiceShadow.get(targetId);
target.setChildren(children);
linkVO.setTarget(target);
// linkVO.getTarget().setChildren(children);
// target.setChildren(children);
// linkVO.setTarget(target);
linkVO.getTarget().setChildren(children);
}
v.setExtProgramProjectLinks(content);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment