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
8e935a5a
authored
Nov 15, 2018
by
Huang Linyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hibernate 不支持位运算
parent
47104d9b
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/user/ActiveCustomerDao.java
src/main/java/com/ctrip/fun/golf/dao/user/ActiveCustomerDao.java
View file @
8e935a5a
...
...
@@ -151,7 +151,7 @@ public class ActiveCustomerDao extends GenericHibernateDao<ActiveCustomer, Integ
public
ActiveCustomer
findByProductMobile
(
String
customerMobile
,
String
productName
)
{
String
hql
=
"from ActiveCustomer where productName =:productName and customerMobile = :customerMobile and auditState
&128<>
128"
;
String
hql
=
"from ActiveCustomer where productName =:productName and customerMobile = :customerMobile and auditState
<
128"
;
Query
query
=
this
.
getSession
().
createQuery
(
hql
);
query
.
setString
(
"productName"
,
productName
);
query
.
setString
(
"customerMobile"
,
customerMobile
);
...
...
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