新建角色图创建到角色模型文件夹中

This commit is contained in:
zhal 2022-07-31 15:52:57 +08:00
parent 58c664ef8e
commit ffe331dd2c

View File

@ -8411,6 +8411,15 @@ public class CoeProcessLevelWeb extends ActionWeb {
data.add(0,methodId);
data.add(1,uuid);
//判断如果methodID为角色图则创建到对应角色模型文件夹中
if(methodId.equals("org.role")){
RowMap rowMaprole=DBSql.getMap("SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME='角色模型' and PLCATEGORY='org'");
if(rowMaprole!=null){
parentId=rowMaprole.getString("ID");
}
}
Timestamp nowTime = new Timestamp(System.currentTimeMillis());
PALRepositoryModelImpl model = CoeProcessLevelUtil.createPALRepositoryModel(id, plRid, wsId, plname + titleName,
"", 1, parentId, category, true, 1,