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 23d15eaf..3d1f6b2a 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/client/web/ProcessPublishWeb.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java index 656df3e9..37a4c73e 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java @@ -3030,10 +3030,10 @@ public class ProcessPublishWeb extends ActionWeb { if (UtilString.isEmpty(repositoryIds)) { return ResponseObject.newErrResponse("参数异常").toString(); } - String[] ids = repositoryIds.split(","); + JSONArray ids = (JSONArray) JSONArray.parse(repositoryIds); PALRepository repositoryDao = new PALRepository(); - for (String id : ids) { - repositoryDao.updateIsApproval(isApproval,id); + for (Object id : ids) { + repositoryDao.updateIsApproval(isApproval,(String) id); } return ResponseObject.newOkResponse().toString(); }