Explorar o código

修复where错误

zhouhao %!s(int64=5) %!d(string=hai) anos
pai
achega
4cf4365960

+ 1 - 1
hsweb-commons/hsweb-commons-api/src/main/java/org/hswebframework/web/api/crud/entity/QueryParamEntity.java

@@ -163,7 +163,7 @@ public class QueryParamEntity extends QueryParam {
      */
     public void setWhere(String where) {
         this.where = where;
-        setTerms(TermExpressionParser.parse(termExpression));
+        setTerms(TermExpressionParser.parse(where));
     }
 
     @Override