|
|
@@ -995,6 +995,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
|
if (CollectionUtils.isNotEmpty(users)) {
|
|
|
throw new CustomException("通过手机号获取用户信息失败");
|
|
|
}
|
|
|
+ log.info("用户信息:{}",JSONArray.toJSONString(users));
|
|
|
//获取用户订单商品信息
|
|
|
List<UserGoodsListVo> voList = new ArrayList<>();
|
|
|
users.forEach(item -> {
|
|
|
@@ -1005,6 +1006,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
|
if (CollectionUtils.isEmpty(voList)) {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
+ log.info("用户订单商品信息:{}",JSONArray.toJSONString(voList));
|
|
|
voList.forEach(goodsVo -> {
|
|
|
User user = users.stream().filter(x -> x.getTenantId().equals(goodsVo.getTenantId())).findFirst().orElse(null);
|
|
|
//已学和未学
|
|
|
@@ -1072,7 +1074,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
|
}
|
|
|
|
|
|
});
|
|
|
-
|
|
|
+ log.info("返回结果:{}",JSONArray.toJSONString(voList));
|
|
|
return voList;
|
|
|
}
|
|
|
|