架构默认值处理/PAL打包

This commit is contained in:
zhal 2022-08-31 09:59:59 +08:00
parent 6ea0e5615c
commit cf2b9ade2f
2 changed files with 10 additions and 12 deletions

View File

@ -8236,21 +8236,19 @@ public class CoeProcessLevelWeb extends ActionWeb {
// 一级架构默认值处理 // 一级架构默认值处理
int index=1;
if(repositoryPathData.size()>0){ if(repositoryPathData.size()>0){
for(int i=1;i<repositoryPathData.size();i++){
String name1=((JSONObject) repositoryPathData.get(i)).getString("name"); //设置三级架构如果没有填充值为/
if(repositoryPathData.get(i)!=""){ for(int i=1;i<=3;i++){
if(UtilString.isNotEmpty(name1)){ String str2;
if(i<=repositoryPathData.size()-1){
String str1=name1.substring(0, name1.lastIndexOf(".")+1); String name1=((JSONObject) repositoryPathData.get(i)).getString("name");
String str2=name1.substring(str1.length()+1, name1.length()); String str1=name1.substring(0, name1.lastIndexOf(".")+1);
str2=name1.substring(str1.length()+1, name1.length());
propertyDao.updatePropertyByPropertyId(model.getId(), "Process_Architecture_L"+index, str2.trim()); }else{
index++; str2="/";
}
} }
propertyDao.updatePropertyByPropertyId(model.getId(), "Process_Architecture_L"+i,str2.trim());
} }
} }