Commit ebc33fb2 by xiaoer.li@freemud.com

换购券提示-fix

parent 6cdd9ee7
...@@ -182,12 +182,12 @@ public class ItemServiceImpl implements ItemService { ...@@ -182,12 +182,12 @@ public class ItemServiceImpl implements ItemService {
} }
}); });
} }
if (CollectionUtils.isNotEmpty(skuIds)) { if (CollectionUtils.isEmpty(skuIds)) {
return resultMap; return resultMap;
} }
// 通过skuid查询spuid // 通过skuid查询spuid
GetSpuIdsBySkuIdsDto bySkuIdsDto = new GetSpuIdsBySkuIdsDto(); GetSpuIdsBySkuIdsDto bySkuIdsDto = new GetSpuIdsBySkuIdsDto();
bySkuIdsDto.setProductIds(pids); bySkuIdsDto.setProductIds(skuIds);
bySkuIdsDto.setPartnerId(partnerId); bySkuIdsDto.setPartnerId(partnerId);
ProductListDto productListDto = storeItemClient.getSpuIdsBySkuIds(bySkuIdsDto); ProductListDto productListDto = storeItemClient.getSpuIdsBySkuIds(bySkuIdsDto);
if (ResponseCodeConstant.RESPONSE_SUCCESS.equals(productListDto.getErrcode()) if (ResponseCodeConstant.RESPONSE_SUCCESS.equals(productListDto.getErrcode())
......
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