创建线程执行发布

This commit is contained in:
Mr-wang 2023-07-10 11:47:11 +08:00
parent eb6301781f
commit 0769e75e8a

View File

@ -387,10 +387,7 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute
* for (String user : sendList) { try { SendOARead(jsonObject, instanceById,
* user, "批量推送"); } catch (Exception e) { // TODO: handle exception } }
*/
new_uid = new_uid.join(",", sendList);
if (StringUtils.isNotEmpty(new_uid
)) {
new_uid = new_uid.substring(0, new_uid.length() - 1);
@ -975,11 +972,11 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute
/*
* if ("".equals(userId) || UtilString.isEmpty(userId)) { return; }
*/
if (userIds.length() == 0) {
if (resrt.length == 0) {
return;
}
jsonObject.put("userList", resrt);
jsonObject.put("userList", userIds);
String xmlStr = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"webservices.yili.weaver.com.cn\">\n"
+ " <soapenv:Header/>" + " <soapenv:Body>" + " <web:service>" + " <web:in0>"
+ "<![CDATA[" + jsonObject + "]]>" + " </web:in0>" + " </web:service>"