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