|
@@ -613,14 +613,7 @@ public class ConceptInfoFacade extends ConceptInfoServiceImpl {
|
|
HasStaticKnowledgeVO hasStaticKnowledgeVO = new HasStaticKnowledgeVO();
|
|
HasStaticKnowledgeVO hasStaticKnowledgeVO = new HasStaticKnowledgeVO();
|
|
hasStaticKnowledgeVO.setName(conceptInfoVO.getName());
|
|
hasStaticKnowledgeVO.setName(conceptInfoVO.getName());
|
|
hasStaticKnowledgeVO.setType(typeName);
|
|
hasStaticKnowledgeVO.setType(typeName);
|
|
- Integer hasInfo = 0;
|
|
|
|
- for (ConceptDetailVO conceptDetailVO : conceptInfoVO.getDetails()) {
|
|
|
|
- if (!conceptDetailVO.getContentType().equals("4")){
|
|
|
|
- hasInfo = 1;
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- hasStaticKnowledgeVO.setHasInfo(hasInfo);
|
|
|
|
|
|
+ hasStaticKnowledgeVO.setHasInfo(1);
|
|
RespDTO<Boolean> respDTO = cdssCoreClient.updateHasInfoStatus(hasStaticKnowledgeVO);
|
|
RespDTO<Boolean> respDTO = cdssCoreClient.updateHasInfoStatus(hasStaticKnowledgeVO);
|
|
//更新失败
|
|
//更新失败
|
|
if (RespDTOUtil.respIsNG(respDTO)) {
|
|
if (RespDTOUtil.respIsNG(respDTO)) {
|