Commit 94f0bfcc authored by Quxl's avatar Quxl

x

parent df07f7f4
......@@ -323,6 +323,8 @@ public class UserController {
List<Map<String, Object>> shopList = userService.queryShopList((String)customerMap.get("sCustNO"));
customerMap.put("sShopNO", shopList.get(0).get("sShopNO"));
customerMap.put("nShopID", shopList.get(0).get("nShopID"));
customerMap.put("sEmail", shopList.get(0).get("sEmail"));
customerMap.put("sShopName", shopList.get(0).get("sShopName"));
return Rjx.jsonOk().set("customer", customerMap).set("shopList", shopList).setMessage(I18NUtils.getMessage(langID, "Msg_Login_success")).toJson();
}
......
......@@ -708,6 +708,8 @@ public class UserServiceImpl implements UserService {
@Override
public void updateCustomerEmail(String custNo, String email) {
jdbcTemplate.update("update tCustomer set sEmail = ? where sCustNO = ?", email, custNo);
jdbcTemplate.update("update tShop set sEmail = ? where sCustNO = ?", email, custNo);
}
}
\ No newline at end of file
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