合并分支 'dev_20230216' 到 'master'

MQ删除 的日志打印信息

查看合并请求 laws-foton-slrs/foton-wkflow-rest!17
This commit is contained in:
高嵩
2023-03-28 15:14:27 +08:00
@@ -210,12 +210,8 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
map.put("todoId",pId);
map.put("list",notifyTodoSendContexts);
net.sf.json.JSONObject jsonObject = net.sf.json.JSONObject.fromObject(map);
log.info("调用MQ数据!!!:"+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<>();
mapCtr.put("Authorization",credentials);
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);
log.info("请求发送删除接口完毕,返回响应状态:【"+sdf.format(new Date())+"");
// JSONObject jsonObject = JSONObject.parseObject(result);
@@ -251,6 +249,8 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
log.error("请求发送删除接口出现异常:"+result);
notifyTodoAppResult.setSign("1");
notifyTodoAppResult.setMassage(result);
log.info("失败当前处理的文件数据(josnSend):"+jsonSend.toString());
log.info("失败当前处理的文件数据(Object):"+object);
}else {
log.info("--------------------------成功发送 ESP 删除待办 "+object+"----------------------------");
log.info("okHttp请求发送删除接口成功结果:"+result);