Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TCM
tcm-system
Commits
18eb1b3c
Commit
18eb1b3c
authored
May 09, 2019
by
zjy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ceddbea2
372221d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
readme.md
readme.md
+8
-0
No files found.
readme.md
0 → 100644
View file @
18eb1b3c
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment