Commit 11898222 by huluobin

update 美甲师作品

parent f152f3e5
......@@ -192,13 +192,12 @@ public class CareerCmdServiceImpl implements CareerCmdService {
List<PurchaseSku> purchaseSkuList = purchaseSkuMapper.listByProduceIds(baseProducePage.getRecords().stream().map(BaseProduce::getId).collect(Collectors.toList()));
Map<Integer, List<PurchaseSku>> map = purchaseSkuList.stream()
.collect(Collectors.groupingBy(PurchaseSku::getProduceId));
Map<Integer, List<PurchaseSku>> map = purchaseSkuList.stream().collect(Collectors.groupingBy(PurchaseSku::getProduceId));
baseProducePage.getRecords().forEach(baseProduce -> {
List<PurchaseSku> list = map.get(baseProduce.getId());
if (ListUtil.isNotEmpty(list)) {
baseProduce.setPurchaseSkuList(purchaseSkuList);
baseProduce.setPurchaseSkuList(list);
}
});
......
spring:
profiles:
active: prod
active: pre
servlet:
#文件上传最大容量
multipart:
......
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