zhouhao há 6 anos atrás
pai
commit
e5a9c724c7

+ 1 - 1
hsweb-commons/hsweb-commons-dao/hsweb-commons-dao-mybatis/src/main/java/org/hswebframework/web/dao/mybatis/mapper/TreeStructureSqlTermCustomer.java

@@ -43,7 +43,7 @@ public abstract class TreeStructureSqlTermCustomer extends AbstractSqlTermCustom
         }
         for (int i = 0; i < len; i++) {
             if (i > 0) {
-                termCondition.addSpc("and");
+                termCondition.addSpc("or");
             }
             termCondition.add("tmp.path like #{", wherePrefix, ".value[", i, "]}");
         }