|
@@ -34,7 +34,7 @@ public interface BillManRepository extends Neo4jRepository<BillItemDetail,Long>
|
|
|
"end ) \n" +
|
|
|
"else 1 = 1 " +
|
|
|
"end ) \n" +
|
|
|
- "and (case {relationStatus} is not null and {relationStatus} <> '' when true then r.状态 = {relationStatus} else 1 = 1 end ) \n" +
|
|
|
+ "and (case {relationStatus} is not null when true then r.状态 = {relationStatus} else 1 = 1 end ) \n" +
|
|
|
"and type(r) contains('禁忌') \n" +
|
|
|
"and m.状态=1 \n" +
|
|
|
"and n.状态=1 \n" +
|
|
@@ -74,7 +74,7 @@ public interface BillManRepository extends Neo4jRepository<BillItemDetail,Long>
|
|
|
"end ) \n" +
|
|
|
"else 1 = 1 " +
|
|
|
"end ) \n" +
|
|
|
- "and (case {relationStatus} is not null and {relationStatus} <> '' when true then r.状态 = {relationStatus} else 1 = 1 end ) \n" +
|
|
|
+ "and (case {relationStatus} is not null when true then r.状态 = {relationStatus} else 1 = 1 end ) \n" +
|
|
|
"and type(r) contains('禁忌') \n" +
|
|
|
"and m.状态=1 \n" +
|
|
|
"and n.状态=1 \n" +
|
|
@@ -82,7 +82,7 @@ public interface BillManRepository extends Neo4jRepository<BillItemDetail,Long>
|
|
|
Page<BillItem> getPage(@Param("labels") List<String> labels,
|
|
|
@Param("conceptName") String conceptName,
|
|
|
@Param("conditionName") String conditionName,
|
|
|
- @Param("relationStatus") String relationStatus,
|
|
|
+ @Param("relationStatus") Integer relationStatus,
|
|
|
Pageable pageable);
|
|
|
|
|
|
@Query("match (m)-[r]->(n) " +
|