...
|
...
|
@@ -100,6 +100,7 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
|
orderDetailInfo.setOrderCode(order.getOrderCode());
|
|
|
orderDetailInfo.setButtons(orderStatus.getDetailButtons());
|
|
|
orderDetailInfo.setSubmitOrderTimeStr(DateUtil.formatDate(order.getCreateTime(), DateUtil.yyyy_MM_dd_HH_mm_SS));
|
|
|
orderDetailInfo.setUserAddress(addressInfo);
|
|
|
//卖家
|
|
|
orderDetailInfo.setIncome(order.getIncome().toPlainString());
|
|
|
if(Objects.nonNull(computeBo)){
|
...
|
...
|
@@ -155,14 +156,14 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
|
Integer skupStatus = sellerOrderGoods.getStatus();
|
|
|
SkupStatus orderStatus = SkupStatus.getSkupStatus(skupStatus);
|
|
|
|
|
|
BuyerOrderMeta feeMeta = somMapper.selectByMetaKey(uid, orderCode, MetaKey.SELLER_FEE);
|
|
|
SellerOrderMeta feeMeta = somMapper.selectByMetaKey(uid, skup, MetaKey.SELLER_FEE);
|
|
|
boolean metaIsPresent = Objects.nonNull(feeMeta);
|
|
|
SoldPrdComputeBo computeBo = null;
|
|
|
if(metaIsPresent){
|
|
|
SellerOrderComputeResult computeResult = JSONObject.parseObject(feeMeta.getMetaValue(), SellerOrderComputeResult.class);
|
|
|
computeBo = SellerOrderConvertor.computeResult2SoldPrdComputeBo(computeResult);
|
|
|
}
|
|
|
BuyerOrderMeta addressMeta = somMapper.selectByMetaKey(uid, orderCode, MetaKey.BACK_2_SELLER_DELIVERY_ADDRESS);
|
|
|
SellerOrderMeta addressMeta = somMapper.selectByMetaKey(uid, skup, MetaKey.BACK_2_SELLER_DELIVERY_ADDRESS);
|
|
|
AddressInfo addressInfo = JSONObject.parseObject(addressMeta.getMetaValue(), AddressInfo.class);
|
|
|
|
|
|
|
...
|
...
|
|