Commit 8e935a5a by Huang Linyu

hibernate 不支持位运算

parent 47104d9b
......@@ -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);
......
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 sign in to comment