路径空格问题
This commit is contained in:
parent
0d29684ecb
commit
4d8384704b
Binary file not shown.
@ -84,7 +84,7 @@ public class ArisXmlHandleWeb {
|
||||
path.add(groupMap.get(modelParent).getName());
|
||||
getPath(path, groupMap.get(modelParent).getPid());
|
||||
}
|
||||
modelModel.setModelPath(StringUtils.join(path, "\\"));
|
||||
modelModel.setModelPath(StringUtils.join(path, "\\").replace(" ", ""));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -417,7 +417,7 @@ public class ArisXmlImportRun {
|
||||
propertyModels = propertyModels.stream().filter(item -> Constant.METHOD_ARIS_URL.equals(item.getPropertyId())).collect(Collectors.toList());
|
||||
Map<String, String> map = new HashMap<>();
|
||||
for (PALRepositoryPropertyModel prop : propertyModels) {
|
||||
map.put(prop.getPlId(), prop.getPropertyValue());
|
||||
map.put(prop.getPlId(), prop.getPropertyValue().replace(" ", ""));// 去除空格
|
||||
}
|
||||
for (PALRepositoryModel model : list) {
|
||||
if (map.containsKey(model.getId())) {
|
||||
@ -1361,7 +1361,7 @@ public class ArisXmlImportRun {
|
||||
Timestamp nowTime = new Timestamp(System.currentTimeMillis());
|
||||
|
||||
PALRepositoryModelImpl model = CoeProcessLevelUtil.createPALRepositoryModel(id, UUIDGener.getUUID(), wsId, arisModel.getName(), "", orderIndex, parentId, "org", true, 1,
|
||||
id, false, "org.role", "0", 1, null, null, uc.getUID(), uc.getUID(), nowTime, null, null, null, null,
|
||||
id, false, "org.role", "0", 1, null, null, uc.getUID(), uc.getUID(), nowTime, null, palModel.getId(), null, null,
|
||||
null, null, null, null, null, -1);
|
||||
coeProcessLevel.insert(model);
|
||||
LogUtil.appendLog(Constant.LOG_END + "创建与ARIS流程同名的角色图[" + arisModel.getName() + "][" + model.getId() + "]", simpleLogFile, fullLogFile);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user