合并分支 'dev_20230216' 到 'master'
MQ删除 的日志打印信息 查看合并请求 laws-foton-slrs/foton-wkflow-rest!17
This commit is contained in:
+5
-5
@@ -210,12 +210,8 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
|
|||||||
map.put("todoId",pId);
|
map.put("todoId",pId);
|
||||||
map.put("list",notifyTodoSendContexts);
|
map.put("list",notifyTodoSendContexts);
|
||||||
net.sf.json.JSONObject jsonObject = net.sf.json.JSONObject.fromObject(map);
|
net.sf.json.JSONObject jsonObject = net.sf.json.JSONObject.fromObject(map);
|
||||||
|
log.info("调用MQ数据!!!:"+jsonObject.toString());
|
||||||
oaService.setTodoDeleteMq(jsonObject.toString());
|
oaService.setTodoDeleteMq(jsonObject.toString());
|
||||||
try {
|
|
||||||
setTodoDelete(jsonObject.toString());
|
|
||||||
} catch (Exception e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -244,6 +240,8 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
|
|||||||
Map<String,String> mapCtr = new TreeMap<>();
|
Map<String,String> mapCtr = new TreeMap<>();
|
||||||
mapCtr.put("Authorization",credentials);
|
mapCtr.put("Authorization",credentials);
|
||||||
log.info("处理完文件数据,开始请求发送删除接口数据:【"+sdf.format(new Date())+"】");
|
log.info("处理完文件数据,开始请求发送删除接口数据:【"+sdf.format(new Date())+"】");
|
||||||
|
log.info("当前处理的文件数据(josnSend):"+jsonSend.toString());
|
||||||
|
log.info("当前处理的文件数据(Object):"+object);
|
||||||
result = okHttpUtil.postForJson("https://fesbnew.foton.com.cn/WP_FOTON_FSOA/APP_DOC_SERVICES/Proxy_Services/TA_OA/DOC_SYC_1020_SendRemoveTodo_PS",json.toString(),mapCtr);
|
result = okHttpUtil.postForJson("https://fesbnew.foton.com.cn/WP_FOTON_FSOA/APP_DOC_SERVICES/Proxy_Services/TA_OA/DOC_SYC_1020_SendRemoveTodo_PS",json.toString(),mapCtr);
|
||||||
log.info("请求发送删除接口完毕,返回响应状态:【"+sdf.format(new Date())+"】");
|
log.info("请求发送删除接口完毕,返回响应状态:【"+sdf.format(new Date())+"】");
|
||||||
// JSONObject jsonObject = JSONObject.parseObject(result);
|
// JSONObject jsonObject = JSONObject.parseObject(result);
|
||||||
@@ -251,6 +249,8 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
|
|||||||
log.error("请求发送删除接口出现异常:"+result);
|
log.error("请求发送删除接口出现异常:"+result);
|
||||||
notifyTodoAppResult.setSign("1");
|
notifyTodoAppResult.setSign("1");
|
||||||
notifyTodoAppResult.setMassage(result);
|
notifyTodoAppResult.setMassage(result);
|
||||||
|
log.info("失败当前处理的文件数据(josnSend):"+jsonSend.toString());
|
||||||
|
log.info("失败当前处理的文件数据(Object):"+object);
|
||||||
}else {
|
}else {
|
||||||
log.info("--------------------------成功发送 ESP 删除待办 "+object+"----------------------------");
|
log.info("--------------------------成功发送 ESP 删除待办 "+object+"----------------------------");
|
||||||
log.info("okHttp请求发送删除接口成功结果:"+result);
|
log.info("okHttp请求发送删除接口成功结果:"+result);
|
||||||
|
|||||||
Reference in New Issue
Block a user