From b307e999197f4338934364dd3ab1bb139e913425 Mon Sep 17 00:00:00 2001 From: wxyclub Date: Mon, 22 Apr 2024 17:46:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20OA=E5=8F=91=E9=80=81=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E8=A1=A5=E5=8F=91=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=AD=89?= =?UTF-8?q?=E5=BE=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webService/controller/WebServiceOAController.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/ydw/bat/wkflow/business_oa/webService/controller/WebServiceOAController.java b/src/main/java/com/ydw/bat/wkflow/business_oa/webService/controller/WebServiceOAController.java index ac47b970..eef23dd5 100644 --- a/src/main/java/com/ydw/bat/wkflow/business_oa/webService/controller/WebServiceOAController.java +++ b/src/main/java/com/ydw/bat/wkflow/business_oa/webService/controller/WebServiceOAController.java @@ -105,16 +105,19 @@ public class WebServiceOAController extends BaseAction { JSONObject processNewJsonObject = jsonObject.getJSONObject("mesg"); BusProcessNew busProcessNew = JSONObject.toJavaObject(processNewJsonObject, BusProcessNew.class); webServiceOAService.sendTodo(busProcessNew); + Thread.sleep(3000); } else if ("1".equals(msgType)) { // 已办 JSONObject notifyTodoSendContextJsonObject = JSONObject.parseObject(mesg); NotifyTodoSendContext notifyTodoSendContext = JSONObject.toJavaObject(notifyTodoSendContextJsonObject, NotifyTodoSendContext.class); webServiceOAService.setTodoDone(notifyTodoSendContext); + Thread.sleep(3000); } else if ("3".equals(msgType)) { // 删除 String todoId = sendTodoLog.getTodoId(); String userId = sendTodoLog.getUserId(); webServiceOAService.deleteOAByMandatory(todoId,userId); + Thread.sleep(3000); } } return "ok";