回滚中台相关代码 删除Json工具类报错
parent
7925ea2a61
commit
b319779e4e
|
@ -1052,7 +1052,7 @@ public class UsersController extends BaseController {
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
Map<String, String> returnMap = null;
|
Map<String, String> returnMap = new HashMap<String, String>();
|
||||||
if (pd.getString("ISPUSH").equals("1")) {
|
if (pd.getString("ISPUSH").equals("1")) {
|
||||||
|
|
||||||
// ------联通人员定位删除人员用------
|
// ------联通人员定位删除人员用------
|
||||||
|
@ -1066,9 +1066,11 @@ public class UsersController extends BaseController {
|
||||||
for (Object key : set) {
|
for (Object key : set) {
|
||||||
param.put(key.toString(),pd.getString(key.toString()));
|
param.put(key.toString(),pd.getString(key.toString()));
|
||||||
}
|
}
|
||||||
String UserDto = JSON.toJSONString(param);
|
// String UserDto = JSON.toJSONString(param);
|
||||||
String result = HttpClientUtilDoGet.sendHttpPost(tongBuUrl + "/docking/core/user/addOrUpdate", UserDto,param);
|
// String result = HttpClientUtilDoGet.sendHttpPost(tongBuUrl + "/docking/core/user/addOrUpdate", UserDto,param);
|
||||||
returnMap = (Map<String, String>) JSON.parse(result);
|
// returnMap = (Map<String, String>) JSON.parse(result);
|
||||||
|
// TODO com.alibaba.fastjson.JSONException: syntax error, pos 1 暂时不用人员中台
|
||||||
|
returnMap.put("result", "success");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pd.getString("ISPUSH").equals("0") || returnMap.get("result").equals("success")) {
|
if (pd.getString("ISPUSH").equals("0") || returnMap.get("result").equals("success")) {
|
||||||
|
@ -2502,8 +2504,11 @@ public class UsersController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<String, String> doCheck(String USERNAME, String CARD_NO, String USER_ID) throws Exception {
|
public Map<String, String> doCheck(String USERNAME, String CARD_NO, String USER_ID) throws Exception {
|
||||||
String result = HttpClientUtilDoGet.sendHttpGet(tongBuUrl + "/docking/core/user/getCheck"+"?USERNAME="+USERNAME+"&CARD_NO="+CARD_NO+"&USER_ID="+USER_ID);
|
// String result = HttpClientUtilDoGet.sendHttpGet(tongBuUrl + "/docking/core/user/getCheck"+"?USERNAME="+USERNAME+"&CARD_NO="+CARD_NO+"&USER_ID="+USER_ID);
|
||||||
Map<String, String> returnMap = (Map<String, String>) JSON.parse(result);
|
// Map<String, String> returnMap = (Map<String, String>) JSON.parse(result);
|
||||||
|
// 人员中台暂时不用
|
||||||
|
Map<String, String> returnMap = new HashMap<>();
|
||||||
|
returnMap.put("result", "success");
|
||||||
return returnMap;
|
return returnMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue