...
|
...
|
@@ -17,6 +17,7 @@ import com.yohoufo.dal.order.*; |
|
|
import com.yohoufo.dal.order.model.*;
|
|
|
import com.yohoufo.order.common.*;
|
|
|
import com.yohoufo.order.constants.MetaKey;
|
|
|
import com.yohoufo.order.convert.GoodsInfoConvertor;
|
|
|
import com.yohoufo.order.convert.SellerOrderConvertor;
|
|
|
import com.yohoufo.order.model.AddressInfo;
|
|
|
import com.yohoufo.order.model.dto.SellerOrderComputeResult;
|
...
|
...
|
@@ -232,16 +233,7 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
|
* @return
|
|
|
*/
|
|
|
private GoodsInfo getGoodsInfo(SellerOrderGoods sellerOrderGoods) {
|
|
|
GoodsInfo goodsInfo = new GoodsInfo();
|
|
|
goodsInfo.setSkup(sellerOrderGoods.getId());
|
|
|
goodsInfo.setProductName(sellerOrderGoods.getProductName());
|
|
|
goodsInfo.setColorName(sellerOrderGoods.getColorName());
|
|
|
goodsInfo.setSizeName(sellerOrderGoods.getSizeName());
|
|
|
goodsInfo.setGoodImg(ImageUrlAssist.getAllProductPicUrl(sellerOrderGoods.getImageUrl(), "goodsimg", "center", "d2hpdGU="));
|
|
|
goodsInfo.setGoodPrice(sellerOrderGoods.getGoodsPrice().toPlainString());
|
|
|
goodsInfo.setProductId(sellerOrderGoods.getProductId());
|
|
|
goodsInfo.setStorageId(sellerOrderGoods.getStorageId());
|
|
|
return goodsInfo;
|
|
|
return GoodsInfoConvertor.SellerOrderGoods2GoodsInfo(sellerOrderGoods);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|