fix: E采通获取标准信息接口修正
This commit is contained in:
+1
@@ -785,6 +785,7 @@ public class SrmsApiServiceImpl implements SrmsApiService {
|
||||
// 根据所有零部件分类码获取相关联的标准
|
||||
LambdaQueryWrapper<LawsPartStandard> partStandardQueryWrapper = new LambdaQueryWrapper<>();
|
||||
partStandardQueryWrapper.in(LawsPartStandard::getPartCategoryNum, partNumList);
|
||||
this.syncPartStandard();
|
||||
List<LawsPartStandard> partStandardList = lawsPartStandardService.list(partStandardQueryWrapper);
|
||||
Set<String> standardIdSet = partStandardList.stream().map(LawsPartStandard::getStandardId).collect(Collectors.toSet());
|
||||
|
||||
|
||||
+2
-2
@@ -307,8 +307,8 @@ public class LawsBindPartServiceImpl extends ServiceImpl<LawsBindPartMapper, Law
|
||||
}
|
||||
// 需要对所有拆分信息按照文件类型排序
|
||||
sarFileSplitInfoEOS.sort((file1, file2) -> {
|
||||
Integer order1 = orderMap.get(file1.getFileType());
|
||||
Integer order2 = orderMap.get(file2.getFileType());
|
||||
Integer order1 = orderMap.get(file1.getFileType()) != null ? orderMap.get(file1.getFileType()) : Integer.valueOf(99);
|
||||
Integer order2 = orderMap.get(file2.getFileType()) != null ? orderMap.get(file2.getFileType()) : Integer.valueOf(99);
|
||||
return Integer.compare(order1, order2);
|
||||
});
|
||||
standard.setInfoId(sarFileSplitInfoEOS.get(0).getId());
|
||||
|
||||
Reference in New Issue
Block a user