|
@@ -233,7 +233,7 @@ public class GoodsMgrController extends BaseApiController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (null == goods.getOriginPrice()) {
|
|
if (null == goods.getOriginPrice()) {
|
|
- goods.setOriginPrice(goodsParam.getExchangePrice());
|
|
|
|
|
|
+ goods.setOriginPrice(0);
|
|
}
|
|
}
|
|
if (null == goods.getDiscountRate()) {
|
|
if (null == goods.getDiscountRate()) {
|
|
goods.setDiscountRate(goodsParam.getDiscountRate());
|
|
goods.setDiscountRate(goodsParam.getDiscountRate());
|
|
@@ -291,7 +291,7 @@ public class GoodsMgrController extends BaseApiController {
|
|
goods.setValue(firstGoodsSku.getValue());
|
|
goods.setValue(firstGoodsSku.getValue());
|
|
goods.setCost(firstGoodsSku.getCost());
|
|
goods.setCost(firstGoodsSku.getCost());
|
|
if (null == firstGoodsSku.getOriginPrice()) {
|
|
if (null == firstGoodsSku.getOriginPrice()) {
|
|
- goods.setOriginPrice(goodsParam.getExchangePrice());
|
|
|
|
|
|
+ goods.setOriginPrice(0);
|
|
} else {
|
|
} else {
|
|
goods.setOriginPrice(firstGoodsSku.getOriginPrice());
|
|
goods.setOriginPrice(firstGoodsSku.getOriginPrice());
|
|
}
|
|
}
|