add:注解掉去除#/的代码

This commit is contained in:
wxyclub
2023-07-18 09:25:19 +08:00
parent 9f906aa0eb
commit 35e95626d5
@@ -247,13 +247,13 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
head.setPASSWORD("TEST_oa201611241710");
head.setSRVLEVEL("1");
List<Object> 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");