Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d4ab0c4a
authored
Jul 06, 2020
by
zhangchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改造拼接参数方式解决隐式转换导致索引失效问题
parent
2243ab22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/ctrip/fun/golf/dao/order/OrderDao.java
src/main/java/com/ctrip/fun/golf/dao/order/OrderDao.java
View file @
d4ab0c4a
...
...
@@ -1085,7 +1085,7 @@ public class OrderDao extends GenericHibernateDao<Order, Integer> {
}
public
Order
getOrderByOutTradeId
(
String
outTradeId
)
{
String
hsql
=
"from Order t where t.outTradeId=
"
+
outTradeId
;
String
hsql
=
"from Order t where t.outTradeId=
'"
+
outTradeId
+
"'"
;
return
this
.
get
(
hsql
);
}
...
...
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