Commit 3246c22c authored by Quxl's avatar Quxl

x

parent 382615d0
......@@ -553,7 +553,7 @@ public class UserServiceImpl implements UserService {
jdbcTemplate.setDialect(new SqlServerDialect());
TCustomer tcustomer = jdbcTemplate.queryForBean(sql, TCustomer.class, openId);
String shopSql = "SELECT * FROM tShop WHERE nTag&1=0 and sCustNO =? ";
List<TShop> shops = jdbcTemplate.queryForBeans(shopSql, TShop.class, openId);
List<TShop> shops = jdbcTemplate.queryForBeans(shopSql, TShop.class, tcustomer.getsCustNO());
tcustomer.settShops(shops);
return tcustomer;
} catch (Exception e) {
......
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