架构默认值处理/PAL打包
This commit is contained in:
parent
6ea0e5615c
commit
cf2b9ade2f
Binary file not shown.
@ -8236,21 +8236,19 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
|
||||
|
||||
// 一级架构默认值处理
|
||||
int index=1;
|
||||
if(repositoryPathData.size()>0){
|
||||
for(int i=1;i<repositoryPathData.size();i++){
|
||||
|
||||
String name1=((JSONObject) repositoryPathData.get(i)).getString("name");
|
||||
if(repositoryPathData.get(i)!=""){
|
||||
if(UtilString.isNotEmpty(name1)){
|
||||
|
||||
String str1=name1.substring(0, name1.lastIndexOf(".")+1);
|
||||
String str2=name1.substring(str1.length()+1, name1.length());
|
||||
|
||||
propertyDao.updatePropertyByPropertyId(model.getId(), "Process_Architecture_L"+index, str2.trim());
|
||||
index++;
|
||||
}
|
||||
//设置三级架构,如果没有填充值为/
|
||||
for(int i=1;i<=3;i++){
|
||||
String str2;
|
||||
if(i<=repositoryPathData.size()-1){
|
||||
String name1=((JSONObject) repositoryPathData.get(i)).getString("name");
|
||||
String str1=name1.substring(0, name1.lastIndexOf(".")+1);
|
||||
str2=name1.substring(str1.length()+1, name1.length());
|
||||
}else{
|
||||
str2="/";
|
||||
}
|
||||
propertyDao.updatePropertyByPropertyId(model.getId(), "Process_Architecture_L"+i,str2.trim());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user