diff --git a/com.actionsoft.apps.coe.pal.publisher/lib/com.actionsoft.apps.coe.pal.publisher.jar b/com.actionsoft.apps.coe.pal.publisher/lib/com.actionsoft.apps.coe.pal.publisher.jar index 4352874a..5d8acc63 100644 Binary files a/com.actionsoft.apps.coe.pal.publisher/lib/com.actionsoft.apps.coe.pal.publisher.jar and b/com.actionsoft.apps.coe.pal.publisher/lib/com.actionsoft.apps.coe.pal.publisher.jar differ diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent_new.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent_new.java index 554c5252..d0f1b392 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent_new.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/pubEvent/ProcessEndAfterEvent_new.java @@ -282,8 +282,7 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute new_uid = new_uid.join(",", sendList); long startTimes = System.currentTimeMillis(); String[] users = new_uid.split(","); - /*for (String uid: - users) { + for (String uid: users) { BO bo = new BO(); bo.set("USER_ID",uid); bo.set("PROCESSID",processExecutionContext.getProcessInstance().getId()); @@ -292,7 +291,7 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute bo.set("PROCESS_TITLE",bo_act_coe_publish1.getString("PROCESS_TITLE")); bo.set("PUBLISH_DATE",sdf.format(endTime)); SDK.getBOAPI().createDataBO("BO_EU__OA_MONITOR",bo,UserContext.fromUID(ta.getTarget())); - }*/ + } System.out.println("new_uid>>>>>>>>>>>>>>"+users.length); long startTime = System.currentTimeMillis(); @@ -318,7 +317,7 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute /** * 创建线程发送待阅数据 */ - //course(list,startTime,jsonObject,processExecutionContext,sendList); + course(list,startTime,jsonObject,processExecutionContext,sendList); //System.out.println("发送人员数据>>>>>>>>>>>>>>"+list); }else { int size = users.length/length; @@ -337,7 +336,7 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute /** * 创建线程发送待阅数据 */ - //course(list,startTime,jsonObject,processExecutionContext,sendList); + course(list,startTime,jsonObject,processExecutionContext,sendList); //System.out.println("发送人员数据>>>>>>>>>>>>>>"+list); } @@ -761,7 +760,7 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute //创建文件 ResponseObject ro = appAPI.callASLP(appAPI.getAppContext(sourceAppId), aslp, params); System.out.println("流程手册的存入=================" + ro); - createIndexByFile(processExecutionContext,"1","2",dcContext.getFilePath(),new JSONObject()); + //createIndexByFile(processExecutionContext,"1","2",dcContext.getFilePath(),new JSONObject()); } } @@ -800,7 +799,7 @@ public class ProcessEndAfterEvent_new extends ExecuteListener implements Execute paramss.put("dc", dcContexts); AppAPI appAPIs = SDK.getAppAPI(); ResponseObject ros = appAPIs.callASLP(appAPIs.getAppContext(sourceAppId), aslp, paramss); - createIndexByFile(processExecutionContext,"1","2",dcContexts.getFilePath(),new JSONObject()); + //createIndexByFile(processExecutionContext,"1","2",dcContexts.getFilePath(),new JSONObject()); } } }