Commit 078275dc by zhouhaibao

[+]策略中心新增学习进度

1 parent d5dcc1d4
...@@ -214,7 +214,7 @@ public class MerchantAnalysisController { ...@@ -214,7 +214,7 @@ public class MerchantAnalysisController {
List<MerchantDetailResponse> responses = strategyDetailService.findMerchantDetail( List<MerchantDetailResponse> responses = strategyDetailService.findMerchantDetail(
collect, request.getBusinessType()+ ""); collect, request.getBusinessType()+ "");
for (StoreItemResponse itemResponse : result) { for (StoreItemResponse itemResponse : result) {
MerchantDetailResponse merchantDetailResponse = responses.stream().filter(detailResponse -> detailResponse.getMerchantNo().equals(itemResponse.getMerchantNo())).findFirst().orElse(null); MerchantDetailResponse merchantDetailResponse = responses.stream().filter(detailResponse -> (detailResponse.getMerchantNo()+"").equals(itemResponse.getMerchantNo())).findFirst().orElse(null);
if (merchantDetailResponse != null) { if (merchantDetailResponse != null) {
itemResponse.setMainBrands(merchantDetailResponse.getCarBrandResponses().stream().map(CarBrandDTO::getLabel).collect( itemResponse.setMainBrands(merchantDetailResponse.getCarBrandResponses().stream().map(CarBrandDTO::getLabel).collect(
Collectors.joining("/"))); Collectors.joining("/")));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!