修改手册排序问题

This commit is contained in:
zhal 2022-11-02 14:06:14 +08:00
parent b8f90fd4fa
commit 422377c19c
2 changed files with 4 additions and 0 deletions

View File

@ -493,6 +493,10 @@ public class Report1Gener {
//支持文件
JSONArray supportfiles = new JSONArray(); //组织职责Table
List<DesignerShapeRelationModel> relationList = DesignerShapeRelationCache.getListByAttrId(repositoryModel.getId(), "", "support_files");
relationList.sort(Comparator.comparing(DesignerShapeRelationModel::getRelationShapeText));
int index = 0;
for (DesignerShapeRelationModel relation : relationList) {
String relationFileId = relation.getRelationFileId();// 支持或相关文件的ID