|
@@ -1176,7 +1176,7 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
|
|
|
List<AppWbsTreeContractVO> voList = new ArrayList<>();
|
|
|
List<TableFile> files2 = tableFileService.list(new LambdaQueryWrapper<TableFile>()
|
|
|
.eq(TableFile::getTabId,primaryKeyId)
|
|
|
- .eq(TableFile::getClassify,classify));
|
|
|
+ .eq(TableFile::getClassify,classify).orderByAsc(TableFile::getSort));
|
|
|
if (vos != null && vos.size() > 0) {
|
|
|
List<Long> list = vos.stream().map(AppWbsTreeContractVO::getPKeyId).collect(Collectors.toList());
|
|
|
List<TableFile> files = tableFileService.getAllFileByIds(list,classify);
|