福利发待办整改
This commit is contained in:
@@ -233,7 +233,7 @@ public class SchoolOaTodoServiceImpl implements SchoolOaTodoService {
|
|||||||
userList.add(receiverBody);
|
userList.add(receiverBody);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 学校OA批量接口的公共流程字段在根节点,接收人差异字段仅放在userList中。
|
// 学校OA批量接口的公共流程字段在根节点;服务端实际按文档示例中的 userlList(user 后多一个小写 l)读取接收人数组。
|
||||||
JSONObject body = new JSONObject();
|
JSONObject body = new JSONObject();
|
||||||
body.set("flowTypeName", todoParam.getFlowTypeName());
|
body.set("flowTypeName", todoParam.getFlowTypeName());
|
||||||
body.set("flowId", todoParam.getFlowId());
|
body.set("flowId", todoParam.getFlowId());
|
||||||
@@ -244,7 +244,7 @@ public class SchoolOaTodoServiceImpl implements SchoolOaTodoService {
|
|||||||
body.set("creatorTime", todoParam.getCreatorTime());
|
body.set("creatorTime", todoParam.getCreatorTime());
|
||||||
body.set("startPcPreviewUrl", todoParam.getStartPcPreviewUrl());
|
body.set("startPcPreviewUrl", todoParam.getStartPcPreviewUrl());
|
||||||
body.set("startAppPreviewUrl", todoParam.getStartAppPreviewUrl());
|
body.set("startAppPreviewUrl", todoParam.getStartAppPreviewUrl());
|
||||||
body.set("userList", userList);
|
body.set("userlList", userList);
|
||||||
|
|
||||||
String batchInsertUrl = requireConfig("school-oa.todo.batch-insert-url");
|
String batchInsertUrl = requireConfig("school-oa.todo.batch-insert-url");
|
||||||
String responseBody = sendTodoRequest(batchInsertUrl, body, "学校OA批量待办创建失败", "学校OA批量待办创建异常");
|
String responseBody = sendTodoRequest(batchInsertUrl, body, "学校OA批量待办创建失败", "学校OA批量待办创建异常");
|
||||||
|
|||||||
Reference in New Issue
Block a user