Commit e9991572 authored by Quxl's avatar Quxl

x

parent 3f81052f
...@@ -605,7 +605,7 @@ public class UserServiceImpl implements UserService { ...@@ -605,7 +605,7 @@ public class UserServiceImpl implements UserService {
@Override @Override
public Map<String, Object> queryCustomerByMobile(String mobile) { public Map<String, Object> queryCustomerByMobile(String mobile) {
List<Map<String, Object>> list = jdbcTemplate.queryForList("select * from tCustomer where sMobile = ? and nTag&1 = 0", mobile); List<Map<String, Object>> list = jdbcTemplate.queryForList("select * from tCustomer where sMobile = ? or sCustNO = ? and nTag&1 = 0", mobile, mobile);
return list.size() == 0 ? null : list.get(0); return list.size() == 0 ? null : list.get(0);
} }
......
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