|
|
package com.yohoufo.order.service.impl;
|
|
|
|
|
|
import com.google.common.collect.Lists;
|
|
|
import com.google.common.collect.Maps;
|
|
|
import com.yohobuy.ufo.model.order.bo.ButtonShowBo;
|
|
|
import com.yohobuy.ufo.model.order.bo.GoodsInfo;
|
|
|
import com.yohobuy.ufo.model.order.bo.TimeoutBo;
|
...
|
...
|
@@ -21,7 +19,6 @@ import com.yohoufo.order.utils.BuyerOrderUtils; |
|
|
import com.yohoufo.order.utils.OrderAssist;
|
|
|
import com.yohoufo.order.utils.SellerGoodsHelper;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.apache.commons.collections.MapUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
...
|
...
|
@@ -364,13 +361,15 @@ public abstract class AbsOrderListService extends AbsOrderViewService implements |
|
|
|
|
|
SkupType skupType = SkupType.getSkupType(sellerOrderGoods.getAttributes());
|
|
|
String goodsName = sellerOrderGoods.getProductName();
|
|
|
goodsInfo.setProductName(goodsName);
|
|
|
String typeTag;
|
|
|
if (isOffline){
|
|
|
goodsName = "【门店订单】" + goodsName;
|
|
|
typeTag = "门店订单";
|
|
|
}else{
|
|
|
goodsName = SellerGoodsHelper.addFlag2GoodsNameHead(goodsName, skupType);
|
|
|
typeTag = SellerGoodsHelper.buildGoodsTypeTag(skupType);
|
|
|
}
|
|
|
goodsInfo.setTypeTag(typeTag);
|
|
|
|
|
|
goodsInfo.setProductName(goodsName);
|
|
|
goodsInfo.setGoodImg(ImageUrlAssist.getAllProductPicUrl(sellerOrderGoods.getImageUrl(), "goodsimg", "center", "d2hpdGU="));
|
|
|
goodsInfo.setSizeName(sellerOrderGoods.getSizeName());
|
|
|
goodsInfo.setGoodPrice(buyerOrderGoods.getGoodsPrice() == null ? "" :buyerOrderGoods.getGoodsPrice().toPlainString());
|
...
|
...
|
|