记得上下班打卡 | git大法好,push需谨慎

Commit 07744857 authored by jiangxiulong's avatar jiangxiulong

增加商铺名称

parent 20d74a74
...@@ -27,6 +27,10 @@ public class GoblinPayOrderDetailsVo implements Serializable, Cloneable { ...@@ -27,6 +27,10 @@ public class GoblinPayOrderDetailsVo implements Serializable, Cloneable {
private String skuPic; private String skuPic;
@ApiModelProperty(position = 21, value = "单品现价[20,2]") @ApiModelProperty(position = 21, value = "单品现价[20,2]")
private BigDecimal price; private BigDecimal price;
@ApiModelProperty(value = "商铺名称")
private String storeName;
@ApiModelProperty(position = 22, value = "数量") @ApiModelProperty(position = 22, value = "数量")
private Integer num; private Integer num;
@ApiModelProperty(position = 23, value = "总价") @ApiModelProperty(position = 23, value = "总价")
......
...@@ -93,6 +93,9 @@ public class GoblinNftOrderAppServiceImpl implements IGoblinNftOrderAppService { ...@@ -93,6 +93,9 @@ public class GoblinNftOrderAppServiceImpl implements IGoblinNftOrderAppService {
GoblinPayOrderDetailsVo payOrderDetailsVo = GoblinPayOrderDetailsVo.getNew().copy(goodsSkuInfoVo); GoblinPayOrderDetailsVo payOrderDetailsVo = GoblinPayOrderDetailsVo.getNew().copy(goodsSkuInfoVo);
payOrderDetailsVo.setNum(1); payOrderDetailsVo.setNum(1);
payOrderDetailsVo.setPriceTotal(payOrderDetailsVo.getPrice()); payOrderDetailsVo.setPriceTotal(payOrderDetailsVo.getPrice());
GoblinStoreInfoVo storeInfoVo = goblinRedisUtils.getStoreInfoVo(goodsSkuInfoVo.getStoreId());
payOrderDetailsVo.setStoreName(storeInfoVo.getStoreName());
return payOrderDetailsVo; return payOrderDetailsVo;
} else { } else {
return null; return null;
......
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