This commit is contained in:
Jerry Yan 2024-12-16 15:12:35 +08:00
parent 3c99ff16c6
commit 37e6f29a33
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class OrderRespVO {
* 微信openId * 微信openId
*/ */
@ApiModelProperty("微信openId") @ApiModelProperty("微信openId")
private Long openId; private String openId;
/** /**
* 价格 * 价格
*/ */

View File

@ -103,6 +103,9 @@ public class OrderServiceImpl implements OrderService {
/* 成片的时候子订单只会有一个,素材的时候 子订单多个且价格与子订单数量无关,只与子订单商品对应景区定义的价格相同*/ /* 成片的时候子订单只会有一个,素材的时候 子订单多个且价格与子订单数量无关,只与子订单商品对应景区定义的价格相同*/
List<GoodsDetailVO> goodsItemList = order.getGoodsItemList(); List<GoodsDetailVO> goodsItemList = order.getGoodsItemList();
GoodsDetailVO goodsDetailVO = goodsItemList.get(NumberConstant.ZERO); GoodsDetailVO goodsDetailVO = goodsItemList.get(NumberConstant.ZERO);
if (order.getGoodsType() == null) {
order.setGoodsType(goodsDetailVO.getGoodsType());
}
GoodsPriceQueryReq goodsPriceQueryReq = new GoodsPriceQueryReq(); GoodsPriceQueryReq goodsPriceQueryReq = new GoodsPriceQueryReq();
goodsPriceQueryReq.setGoodsId(goodsDetailVO.getGoodsId()); goodsPriceQueryReq.setGoodsId(goodsDetailVO.getGoodsId());
goodsPriceQueryReq.setGoodsType(order.getGoodsType()); goodsPriceQueryReq.setGoodsType(order.getGoodsType());