OA删除
This commit is contained in:
+8
-6
@@ -205,13 +205,15 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
|
|||||||
notifyTodoSendContext.setTargets(jsonLoginName.toJSONString());
|
notifyTodoSendContext.setTargets(jsonLoginName.toJSONString());
|
||||||
notifyTodoSendContext.setUserId(busProcessNew.getUserId());
|
notifyTodoSendContext.setUserId(busProcessNew.getUserId());
|
||||||
notifyTodoSendContexts.add(notifyTodoSendContext);
|
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());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user