Commit 4d8988fd by zhangxingmin

push

parent c45e4f09
...@@ -69,7 +69,7 @@ public class ApiSpeciesSettingServiceImpl implements ApiSpeciesSettingService { ...@@ -69,7 +69,7 @@ public class ApiSpeciesSettingServiceImpl implements ApiSpeciesSettingService {
if (!CollectionUtils.isEmpty(speciesSettingList)) { if (!CollectionUtils.isEmpty(speciesSettingList)) {
// 按规格类型分组 // 按规格类型分组
Map<String, List<SpeciesSetting>> speciesSettingByType = speciesSettingList.stream() Map<String, List<SpeciesSetting>> speciesSettingByType = speciesSettingList.stream()
.collect(Collectors.groupingBy(SpeciesSetting::getSpeciesTypeBizId)); .collect(Collectors.groupingBy(SpeciesSetting::getTypeName));
// 为每个规格类型创建DTO // 为每个规格类型创建DTO
apiSpeciesTypeDtoList = speciesSettingByType.entrySet().stream().map(entry -> { apiSpeciesTypeDtoList = speciesSettingByType.entrySet().stream().map(entry -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment