支持文件排序
This commit is contained in:
parent
422377c19c
commit
57b0556cff
@ -694,6 +694,9 @@ public class Report1Gener {
|
|||||||
//支持文件
|
//支持文件
|
||||||
JSONArray support_files = new JSONArray(); //组织职责Table
|
JSONArray support_files = new JSONArray(); //组织职责Table
|
||||||
List<DesignerShapeRelationModel> relationList = DesignerShapeRelationCache.getListByAttrId(repositoryModel.getId(), "", "support_files");
|
List<DesignerShapeRelationModel> relationList = DesignerShapeRelationCache.getListByAttrId(repositoryModel.getId(), "", "support_files");
|
||||||
|
|
||||||
|
relationList.sort(Comparator.comparing(DesignerShapeRelationModel::getRelationShapeText));
|
||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
for (DesignerShapeRelationModel relation : relationList) {
|
for (DesignerShapeRelationModel relation : relationList) {
|
||||||
String relationFileId = relation.getRelationFileId();// 支持或相关文件的ID
|
String relationFileId = relation.getRelationFileId();// 支持或相关文件的ID
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user