更新文件属性架构数据代码提交
This commit is contained in:
parent
bea55677ce
commit
f8f90e8765
@ -11301,6 +11301,10 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
// 权限处理
|
||||
CoeCooperationAPIManager.getInstance().updateCooperationPermByRepositoryMove(_uc, sourceList, targetModel.getVersionId());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
@ -11334,7 +11338,6 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
L2 = UtilString.isEmpty(tmp) ? "/" : subName(name);
|
||||
}
|
||||
if (i == 3) {
|
||||
System.out.println("xxxxxxxxxx");
|
||||
System.out.println(tmp==null);
|
||||
L3 = UtilString.isEmpty(tmp) ? "/" : subName(name);
|
||||
}
|
||||
@ -11371,21 +11374,25 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PALRepositoryPropertyDao propertyDao = new PALRepositoryPropertyDao();
|
||||
//遍历source并设置这四个的属性值
|
||||
for (PALRepositoryModel palRepositoryModel : sourceList) {
|
||||
String id = palRepositoryModel.getId();
|
||||
if (L1 != null) {
|
||||
DBSql.update(String.format(updateSql, L1.trim(), id, "Process_Architecture_L1"));
|
||||
//DBSql.update(String.format(updateSql, L1.trim(), id, "Process_Architecture_L1"));
|
||||
propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L1", L1.trim());
|
||||
}
|
||||
if (L2 != null) {
|
||||
DBSql.update(String.format(updateSql, L2.trim(), id, "Process_Architecture_L2"));
|
||||
//DBSql.update(String.format(updateSql, L2.trim(), id, "Process_Architecture_L2"));
|
||||
propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L2", L2.trim());
|
||||
}
|
||||
if (L3 != null) {
|
||||
DBSql.update(String.format(updateSql, L3.trim(), id, "Process_Architecture_L3"));
|
||||
//DBSql.update(String.format(updateSql, L3.trim(), id, "Process_Architecture_L3"));
|
||||
propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L3", L3.trim());
|
||||
}
|
||||
if (L4 != null) {
|
||||
DBSql.update(String.format(updateSql, L4.trim(), id, "Process_Architecture_L4"));
|
||||
//DBSql.update(String.format(updateSql, L4.trim(), id, "Process_Architecture_L4"));
|
||||
propertyDao.updatePropertyByPropertyId(id, "Process_Architecture_L4", L4.trim());
|
||||
}
|
||||
/**
|
||||
* 查看改流程是否关联流程绩效
|
||||
@ -11396,6 +11403,10 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
copyAttribute(id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public String subName(String name) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user