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

Commit c1b35818 authored by jiangxiulong's avatar jiangxiulong

预下单状态判断和IOS金额,总金额前端自己算

parent 9971166d
......@@ -27,14 +27,14 @@ public class GoblinPayOrderDetailsVo implements Serializable, Cloneable {
private String skuPic;
@ApiModelProperty(position = 21, value = "单品现价[20,2]")
private BigDecimal price;
@ApiModelProperty(position = 22, value = "IOS商品价格[20,2]")
private BigDecimal priceV;
@ApiModelProperty(value = "商铺名称")
private String storeName;
@ApiModelProperty(position = 22, value = "数量")
@ApiModelProperty(position = 23, value = "数量")
private Integer num;
@ApiModelProperty(position = 23, value = "总价")
private BigDecimal priceTotal;
private static final GoblinPayOrderDetailsVo obj = new GoblinPayOrderDetailsVo();
......@@ -54,6 +54,7 @@ public class GoblinPayOrderDetailsVo implements Serializable, Cloneable {
this.setSubtitle(source.getSubtitle());
this.setSkuPic(source.getSkuPic());
this.setPrice(source.getPrice());
this.setPriceV(source.getPriceV());
return this;
}
}
......@@ -84,15 +84,9 @@ public class GoblinNftOrderAppServiceImpl implements IGoblinNftOrderAppService {
@Override
public GoblinPayOrderDetailsVo payOrderDetails(String skuId) {
GoblinGoodsSkuInfoVo goodsSkuInfoVo = goblinRedisUtils.getGoodsSkuInfoVo(skuId);
if (
null != goodsSkuInfoVo && goodsSkuInfoVo.getDelFlg().equals("0") &&
goodsSkuInfoVo.getStatus().equals("3") &&
goodsSkuInfoVo.getShelvesStatus().equals("3") && goodsSkuInfoVo.getSkuAppear().equals("0") &&
goodsSkuInfoVo.getSkuType() == 1
) {
if (goblinRedisUtils.getSkuAllStatusShow(goodsSkuInfoVo)) {
GoblinPayOrderDetailsVo payOrderDetailsVo = GoblinPayOrderDetailsVo.getNew().copy(goodsSkuInfoVo);
payOrderDetailsVo.setNum(1);
payOrderDetailsVo.setPriceTotal(payOrderDetailsVo.getPrice());
GoblinStoreInfoVo storeInfoVo = goblinRedisUtils.getStoreInfoVo(goodsSkuInfoVo.getStoreId());
payOrderDetailsVo.setStoreName(storeInfoVo.getStoreName());
......
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