流程发布变更显示规则修改
This commit is contained in:
parent
b679781397
commit
309bceadd6
@ -2403,15 +2403,18 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
wsId = team.getWsId();
|
||||
}
|
||||
List<PALRepositoryModel> orglist = dao.getPublishedRepositoryList(wsId);
|
||||
|
||||
List<PALRepositoryModel> list1 = new ArrayList<PALRepositoryModel>();
|
||||
List<String> vsersionIdList = new ArrayList<String>();
|
||||
for (PALRepositoryModel palRepositoryModel : orglist) {
|
||||
String versionId = palRepositoryModel.getVersionId();
|
||||
List<PALRepositoryModel> temp = PALRepositoryCache.getByVersionId(wsId,versionId);
|
||||
for (PALRepositoryModel repositoryModel : temp) {
|
||||
if(!repositoryModel.isPublish()&&!repositoryModel.isStop()) {
|
||||
|
||||
list1.add(palRepositoryModel);
|
||||
if(!vsersionIdList.contains(versionId)) {
|
||||
list1.add(palRepositoryModel);
|
||||
vsersionIdList.add(versionId);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2450,8 +2453,8 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
String versionId = parseObject.getString("versionId");
|
||||
String sql = "SELECT PLNAME FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLVERSIONID = '"+versionId+"' and ISPUBLISH = '0' and ISSTOP = '0' ";
|
||||
String newName = DBSql.getString(sql);
|
||||
parseObject.remove("name");
|
||||
parseObject.put("name", newName);
|
||||
parseObject.replace("name", newName);
|
||||
parseObject.replace("isParent", "true");
|
||||
}
|
||||
treeData2.add(parseObject);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user