Commit 01a384e3 authored by shenxin's avatar shenxin

省一体化营山推送

parent acdd451e
......@@ -78,6 +78,10 @@ public class ApplyAndAcceptInformationTaskImpl implements ITaskExcuteService {
CallRecordEntity recordEntity = new CallRecordEntity();
try {
post = HttpUtil.post(extCache.getAcceptAdress(), JSONObject.toJSONString(dataMap));
if(StringUtils.isEmpty(post)){
e.setIsSuccess("0");
return e;
}
ifResultInfo = JSONObject.parseObject(JSONObject.parseObject(post).getString("ifResultInfo"));
log.info("响应值" + ifResultInfo);
if ("200".equals(ifResultInfo.getString("code"))) {
......
......@@ -113,6 +113,10 @@ public class DecideInformationTaskImpl implements ITaskExcuteService {
extCache.setSysCode(e.getSystemCode());
extCache = arameterService.find(extCache).get(0);
post = HttpUtil.post(extCache.getDecideAdress(), JSONObject.toJSONString(dataMap));
if(StringUtils.isEmpty(post)){
e.setIsSuccess("0");
return e;
}
ifResultInfo = JSONObject.parseObject(JSONObject.parseObject(post).getString("ifResultInfo"));
log.info("响应值" + ifResultInfo);
if ("200".equals(ifResultInfo.getString("code"))) {
......
......@@ -114,7 +114,10 @@ public class ReviewInformationTaskImpl implements ITaskExcuteService {
extCache.setSysCode(e.getSystemCode());
extCache = arameterService.find(extCache).get(0);
post = HttpUtil.post(extCache.getReviewAdress(), JSONObject.toJSONString(dataMap));
log.info("响应值" + JSONObject.parseObject(post));
if(StringUtils.isEmpty(post)){
e.setIsSuccess("0");
return e;
}
ifResultInfo = JSONObject.parseObject(JSONObject.parseObject(post).getString("ifResultInfo"));
log.info("响应值" + ifResultInfo);
if ("200".equals(ifResultInfo.getString("code"))) {
......
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