Commit 8836389b authored by hongguangwu's avatar hongguangwu

MVP1.7.15-招行卡

parent 672dd516
......@@ -149,9 +149,10 @@ public class ZhaoHangServiceImpl extends ServiceImpl<EkpSocialInfoMapper, EkpSoc
JSONObject jsonObject = JSON.parseObject(dataResultList);
String success = jsonObject.getString("success");
String message = jsonObject.getString("message");
String msgCode = jsonObject.getString("msgCode");
String sumPage = jsonObject.getString("sumPage");
JSONArray dataArray = jsonObject.getJSONArray("object");
if (!"true".equals(success)) {
if (!"true".equals(success) || !"0000".equals(msgCode)) {
return R.failed(message);
}
int sumPageNum = 1;
......@@ -195,10 +196,13 @@ public class ZhaoHangServiceImpl extends ServiceImpl<EkpSocialInfoMapper, EkpSoc
jsonObject = JSON.parseObject(dataResultList);
success = jsonObject.getString("success");
if ("true".equals(success)) {
dataArray = jsonObject.getJSONArray("object");
this.doSetZhaoHangInfoCore(dataArray, ekpId);
message = jsonObject.getString("message");
msgCode = jsonObject.getString("msgCode");
if (!"true".equals(success) || !"0000".equals(msgCode)) {
return R.failed(message);
}
dataArray = jsonObject.getJSONArray("object");
this.doSetZhaoHangInfoCore(dataArray, ekpId);
}
}
return R.ok();
......
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