Commit d6fe724a authored by Quxl's avatar Quxl

x

parent b517aa1a
...@@ -776,6 +776,7 @@ public class UserServiceImpl implements UserService { ...@@ -776,6 +776,7 @@ public class UserServiceImpl implements UserService {
+ "sm.dCreateDate, " + "sm.dCreateDate, "
+ "sm.sOpenID, " + "sm.sOpenID, "
+ "sm.sBindOpenID, " + "sm.sBindOpenID, "
+ "sm.sPlugid, "
+ "case when sm.sBankTypeID is not null then sm.sBankTypeID else o.sBankTypeID end sBankTypeID, " + "case when sm.sBankTypeID is not null then sm.sBankTypeID else o.sBankTypeID end sBankTypeID, "
+ "case when sm.sBankType is not null then sm.sBankType else o.sBankType end sBankType, " + "case when sm.sBankType is not null then sm.sBankType else o.sBankType end sBankType, "
+ "case when sm.sBankAccountNO is not null then sm.sBankAccountNO else o.sBankAccountNO end sBankAccountNO, " + "case when sm.sBankAccountNO is not null then sm.sBankAccountNO else o.sBankAccountNO end sBankAccountNO, "
...@@ -814,6 +815,10 @@ public class UserServiceImpl implements UserService { ...@@ -814,6 +815,10 @@ public class UserServiceImpl implements UserService {
ResultMutil result = jdbcTemplate.executeMutil(sql, orgNo, openId, mobile, name); ResultMutil result = jdbcTemplate.executeMutil(sql, orgNo, openId, mobile, name);
List<List<Map<String, Object>>> datas = result.getDatas(); List<List<Map<String, Object>>> datas = result.getDatas();
List<Map<String, Object>> sList = datas.get(0); List<Map<String, Object>> sList = datas.get(0);
List<Map<String, Object>> shopList = datas.get(3);
if(shopList.size() == 0) {
throw new XException("该账号暂未绑定门店");
}
Map<String, Object> sMap = sList.get(0); Map<String, Object> sMap = sList.get(0);
Object Status = sMap.get("Status"); Object Status = sMap.get("Status");
Object ErrorMsg = sMap.get("ErrorMsg"); Object ErrorMsg = sMap.get("ErrorMsg");
......
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