From 35e95626d5fe6322110f4a89be8c91a77ff87476 Mon Sep 17 00:00:00 2001 From: wxyclub Date: Tue, 18 Jul 2023 09:25:19 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=B3=A8=E8=A7=A3=E6=8E=89=E5=8E=BB?= =?UTF-8?q?=E9=99=A4`#/`=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WebServiceOAServiceImpl.java | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/ydw/bat/wkflow/business_oa/webService/service/impl/WebServiceOAServiceImpl.java b/src/main/java/com/ydw/bat/wkflow/business_oa/webService/service/impl/WebServiceOAServiceImpl.java index cba403da..5586d2bf 100644 --- a/src/main/java/com/ydw/bat/wkflow/business_oa/webService/service/impl/WebServiceOAServiceImpl.java +++ b/src/main/java/com/ydw/bat/wkflow/business_oa/webService/service/impl/WebServiceOAServiceImpl.java @@ -247,13 +247,13 @@ public class WebServiceOAServiceImpl implements WebServiceOAService { head.setPASSWORD("TEST_oa201611241710"); head.setSRVLEVEL("1"); List list = new ArrayList<>(); - notifyTodoSendContexts.forEach(each -> { - if (each.getLink()!= null){ - if (each.getLink().contains("#/")){ - each.setLink(each.getLink().replaceAll("#/","")); - } - } - }); +// notifyTodoSendContexts.forEach(each -> { +// if (each.getLink()!= null){ +// if (each.getLink().contains("#/")){ +// each.setLink(each.getLink().replaceAll("#/","")); +// } +// } +// }); list.addAll(notifyTodoSendContexts); jsonSend.setHEAD(head); jsonSend.setLIST(list); @@ -318,11 +318,11 @@ public class WebServiceOAServiceImpl implements WebServiceOAService { @Override @Async public NotifyTodoAppResult setTodoDone(NotifyTodoSendContext notifyTodoSendContext) throws Exception{ - if (notifyTodoSendContext.getLink()!= null){ - if (notifyTodoSendContext.getLink().contains("#/")){ - notifyTodoSendContext.setLink(notifyTodoSendContext.getLink().replaceAll("#/","")); - } - } +// if (notifyTodoSendContext.getLink()!= null){ +// if (notifyTodoSendContext.getLink().contains("#/")){ +// notifyTodoSendContext.setLink(notifyTodoSendContext.getLink().replaceAll("#/","")); +// } +// } NotifyTodoAppResult notifyTodoAppResult = new NotifyTodoAppResult(); String result = ""; SimpleDateFormat sdf=new SimpleDateFormat("yyy-MM-dd HH:mm:ss"); @@ -371,11 +371,11 @@ public class WebServiceOAServiceImpl implements WebServiceOAService { @Override @Async public NotifyTodoAppResult sendTodo(BusProcessNew busProcessNew) throws Exception{ - if (busProcessNew.getLink()!= null){ - if (busProcessNew.getLink().contains("#/")){ - busProcessNew.setLink(busProcessNew.getLink().replaceAll("#/","")); - } - } +// if (busProcessNew.getLink()!= null){ +// if (busProcessNew.getLink().contains("#/")){ +// busProcessNew.setLink(busProcessNew.getLink().replaceAll("#/","")); +// } +// } NotifyTodoAppResult notifyTodoAppResult = new NotifyTodoAppResult(); String result = ""; SimpleDateFormat sdf=new SimpleDateFormat("yyy-MM-dd HH:mm:ss");