This commit is contained in:
gaojiabao
2023-03-29 11:46:49 +08:00
parent 178a3f0897
commit b00474e16d
@@ -205,13 +205,15 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
notifyTodoSendContext.setTargets(jsonLoginName.toJSONString());
notifyTodoSendContext.setUserId(busProcessNew.getUserId());
notifyTodoSendContexts.add(notifyTodoSendContext);
//每次调用进行循环
Map<String,Object> ObjectMap = new TreeMap<>();
map.put("todoId",pId);
map.put("list",notifyTodoSendContexts);
net.sf.json.JSONObject jsonObject = net.sf.json.JSONObject.fromObject(ObjectMap);
log.info("调用MQ数据!!!:"+jsonObject.toString());
oaService.setTodoDeleteMq(jsonObject.toString());
});
Map<String,Object> map = new TreeMap<>();
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());
}
}