浏览代码

图节点不限制个数

gaodm 5 年之前
父节点
当前提交
0811274742
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      ltkg-service/src/main/resources/mapper/KgMapper.xml

+ 0 - 1
ltkg-service/src/main/resources/mapper/KgMapper.xml

@@ -41,7 +41,6 @@
         OPTIONAL MATCH p=(m)-[]->(o) where head(Labels(m)) in ["疾病","症状","药品通用名","手术和操作","实验室检查","辅助检查"]
         OPTIONAL MATCH p=(m)-[]->(o) where head(Labels(m)) in ["疾病","症状","药品通用名","手术和操作","实验室检查","辅助检查"]
         RETURN head(Labels(n)) as sLabel,n.name as sName,Type (r) as rType, head(Labels(m)) as eLabel,m.name as eName, count(p) as pCount
         RETURN head(Labels(n)) as sLabel,n.name as sName,Type (r) as rType, head(Labels(m)) as eLabel,m.name as eName, count(p) as pCount
         ORDER BY rType
         ORDER BY rType
-        LIMIT 100
     </select>
     </select>
 
 
     <select id="getTree" resultType="java.lang.String">
     <select id="getTree" resultType="java.lang.String">