diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/CoEPALController.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/CoEPALController.java index 2256ad54..5f8a7ba4 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/CoEPALController.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/CoEPALController.java @@ -2899,9 +2899,9 @@ public class CoEPALController { * @return */ @Mapping("com.actionsoft.apps.coe.pal_pl_repository_designer_checkname") - public String checkCreatePalProcessLevelRepository(UserContext me,String title) { + public String checkCreatePalProcessLevelRepository(UserContext me,String title,String method) { CoeProcessLevelWeb web = new CoeProcessLevelWeb(me); - return web.checkCreatePalProcessLevelRepository(title); + return web.checkCreatePalProcessLevelRepository(title,method); } /** diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java index 9796ebf6..5c52fa32 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java @@ -8032,10 +8032,10 @@ public class CoeProcessLevelWeb extends ActionWeb { * @param title * @return */ - public String checkCreatePalProcessLevelRepository(String title){ + public String checkCreatePalProcessLevelRepository(String title,String method){ ResponseObject ro = ResponseObject.newOkResponse(); - RowMap rowMap=DBSql.getMap("SELECT * FROM APP_ACT_COE_PAL_REPOSITORY where plname=?",title); + RowMap rowMap=DBSql.getMap("SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME=? AND PLMETHODID=?",title,method); if(rowMap!=null){ ro.put("result","error"); }else{