Browse Source

开单合理项维护

zhaops 4 years ago
parent
commit
36261ecea6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/diagbot/repository/BillManRepository.java

+ 1 - 1
src/main/java/com/diagbot/repository/BillManRepository.java

@@ -58,7 +58,7 @@ public interface BillManRepository extends Neo4jRepository<BillItemDetail,Long>
             "else n.name \n" +
             "end ) as conditionName,\n" +
             "labels(n)[0] as conditionType  \n" +
-            "order by id(r) desc",
+            "order by r.状态 desc, id(r) desc",
             countQuery = "match(m)-[r]->(n) \n" +
                     "where 1 = 1 \n" +
                     "and (m:实验室检查套餐名 or m:辅助检查名称 or m:辅助检查子项目名称 or m:医保手术和操作名称 or m:药品注册名称) \n" +