|
|
|
@ -275,7 +275,7 @@ public class TrunklineAdvanceDetailServiceImpl extends BaseServiceImpl<Trunkline
|
|
|
|
|
public Map<String, String> findPackageCodeByCodes(Set<String> orderPackageCodes) { |
|
|
|
|
List<Map<String, String>> packageCodeByCodes = baseMapper.findPackageCodeByCodes(orderPackageCodes); |
|
|
|
|
if(CollUtil.isNotEmpty(packageCodeByCodes)){ |
|
|
|
|
return packageCodeByCodes.stream().collect(Collectors.toMap(map -> map.get("code"), map -> map.get("id"))); |
|
|
|
|
return packageCodeByCodes.stream().collect(Collectors.toMap(map -> map.get("code"), map -> String.valueOf(map.get("id")))); |
|
|
|
|
} |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|