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

Commit ba61e24f authored by 胡佳晨's avatar 胡佳晨

修改 价格bug

parent 8028cdec
......@@ -41,7 +41,7 @@ public class GoblinMixAppDetailsVo implements Serializable, Cloneable {
private Integer whiteType;
@ApiModelProperty(position = 20, value = "配置详情")
private List<GoblinMixDetailsItemVo> item;
@ApiModelProperty(position = 22, value = "状态[6-活动中|7-停用|9-等待开始|10-活动结束]")
@ApiModelProperty(position = 22, value = "状态[6-活动中|7-停用|8-售罄|9-等待开始|10-活动结束]")
private Integer status;
@ApiModelProperty(position = 24, value = "IOS支付方式[0-第三方支付|1-苹果支付]")
private Integer payType;
......
......@@ -172,8 +172,8 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
BigDecimal sellPrice = BigDecimal.ZERO;
for (GoblinMixDetailsItemParam itemParam : itemParams) {
GoblinMixDetailsItemVo itemVo = GoblinMixDetailsItemVo.getNew().copyByInsert(itemParam);
sellPrice.add(itemVo.getPrice());
price.add(itemVo.getSkuPrice());
sellPrice= sellPrice.add(itemVo.getPrice());
price = price.add(itemVo.getSkuPrice());
itemList.add(itemVo);
goblinMixDetails.add(new Object[]{
mixId, itemVo.getPosition(), itemVo.getSpuId(), itemVo.getSkuId(), itemVo.getPrice(), itemVo.getPriceV(),
......
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