Commit 372221d2 authored by Administrator's avatar Administrator

122131

parent be033bdb
# SQL语句没有空格
"where 1=1"后面增加空格改成"where 1=1 ",要不然后面的and会导致错误
``` java
Table.add(CHECK_VALID,"select count(a.id) from pd_authority a where 1=1")
.add("name","and a.name = ?")
.add("url","and a.url = ?")
.add("id","and a.id <> ?");
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment