获取文件属性异常问题

This commit is contained in:
zhal 2022-11-22 00:24:05 +08:00
parent aa5fc98a1f
commit 04aca728a7
2 changed files with 1 additions and 1 deletions

View File

@ -2159,7 +2159,7 @@ public class CoeProcessLevelUtil {
List<PALMethodAttributeGroupModel> groups = methodModel.getGroup();
// PALRepositoryPropertyDao dao = new PALRepositoryPropertyDao();
// List<PALRepositoryPropertyModel> propertys = dao.getPropertysByPlid(plModel.getId(), null);
List<PALRepositoryPropertyModel> propertys = PALRepositoryPropertyCache.getPropertyByPropertyId(plModel.getId());
List<PALRepositoryPropertyModel> propertys = PALRepositoryPropertyCache.getPropertyByPlId(plModel.getId());
// 排序
propertys.sort((p1, p2) -> (sortAttrMap.containsKey(p1.getPropertyId()) ? sortAttrMap.get(p1.getPropertyId()) : 0) - (sortAttrMap.containsKey(p2.getPropertyId()) ? sortAttrMap.get(p2.getPropertyId()) : 0));