|
@@ -486,6 +486,8 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
|
|
|
if (tabsWithKeyword.isEmpty()) {
|
|
|
return tabsWithoutKeyword;
|
|
|
}
|
|
|
+ //对带有关键字的数据按照特定顺序排序
|
|
|
+ tabsWithKeyword.sort(Comparator.comparing(AppWbsTreeContractVO::getNodeName));
|
|
|
//将带有关键字的数据插入到对应表名后面
|
|
|
List<AppWbsTreeContractVO> sortedTabs = new ArrayList<>();
|
|
|
for (AppWbsTreeContractVO tabWithoutKeyword : tabsWithoutKeyword) {
|