Commit be637eea by 刘鹏飞

加些日志

parent ff3b4f1a
...@@ -68,7 +68,6 @@ public class CocoCouponRelationServiceImpl implements CouponRelationService { ...@@ -68,7 +68,6 @@ public class CocoCouponRelationServiceImpl implements CouponRelationService {
QueryOrdersResponseDto.DataBean.OrderBean orderBean, QueryOrdersResponseDto.DataBean.OrderBean orderBean,
CouponReqType couponReqType) { CouponReqType couponReqType) {
log.info("coco订单核销优惠券,开始");
log.info("coco订单核销优惠券,orderBean:{}",JSONObject.toJSONString(orderBean)); log.info("coco订单核销优惠券,orderBean:{}",JSONObject.toJSONString(orderBean));
// 订单商品信息 // 订单商品信息
...@@ -97,6 +96,8 @@ public class CocoCouponRelationServiceImpl implements CouponRelationService { ...@@ -97,6 +96,8 @@ public class CocoCouponRelationServiceImpl implements CouponRelationService {
} }
} }
log.info("coco订单核销优惠券,productMap:{}",JSONObject.toJSONString(productMap));
// 根据活动号分组,没有活动号的直接筛选掉 // 根据活动号分组,没有活动号的直接筛选掉
Map<String,List<OrderSettlementResp>> orderSettlementMap = orderSettlementList.stream().filter(os -> StringUtils.isNotEmpty(os.getExternalObjectId())) Map<String,List<OrderSettlementResp>> orderSettlementMap = orderSettlementList.stream().filter(os -> StringUtils.isNotEmpty(os.getExternalObjectId()))
.collect(Collectors.groupingBy(OrderSettlementResp::getExternalObjectId)); .collect(Collectors.groupingBy(OrderSettlementResp::getExternalObjectId));
......
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