定时同步组织代码
This commit is contained in:
parent
2ba17f768b
commit
0ead494ffe
@ -2906,6 +2906,12 @@ public class CoEPALController {
|
||||
return web.saveCreatePalProcessLevelRepositoryDesigner(wsId, teamId, category, method, parentId, container,securityLevel,name);
|
||||
}
|
||||
|
||||
@Mapping("com.actionsoft.apps.coe.getArchitecturePath")
|
||||
public String getArchitecturePath(UserContext me, String parentId) {
|
||||
CoeProcessLevelWeb web = new CoeProcessLevelWeb(me);
|
||||
return web.getArchitecturePath(parentId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验重名功能
|
||||
* @param me
|
||||
|
||||
@ -8006,8 +8006,6 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
@ -8117,26 +8115,29 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
CoEOpLogAPI.auditOkOp(_uc, CoEOpLogConst.MODULE_CATEGORY_REPOSITORY, CoEOpLogConst.OP_CREATE, CoEOpLogConst.INFO_REPOSITORY_CREATE);
|
||||
}
|
||||
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
/***************************************************获取当前文件位置 byzhaolei**********************************************/
|
||||
|
||||
|
||||
public String getArchitecturePath(String parentId){
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
JSONArray repositoryPathData = CoeProcessLevelUtil.getRepositoryPath(parentId);
|
||||
// 获取当前文件路径
|
||||
StringBuffer sb = new StringBuffer();
|
||||
if(repositoryPathData.size()>0){
|
||||
for(int i=0;i<repositoryPathData.size();i++){
|
||||
String name2=((JSONObject) repositoryPathData.get(i)).getString("name");
|
||||
sb.append(name2).append("\\");
|
||||
String name=((JSONObject) repositoryPathData.get(i)).getString("name");
|
||||
sb.append(name).append("\\");
|
||||
}
|
||||
}
|
||||
|
||||
String keywordStr = sb.deleteCharAt(sb.length() - 1).toString();//去掉最后一个逗号
|
||||
ro.put("repositoryPathData",keywordStr);
|
||||
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*校验是否存在重复标题
|
||||
* @param title
|
||||
|
||||
Loading…
Reference in New Issue
Block a user