|
@@ -11,6 +11,7 @@ import com.caimei365.order.model.dto.LogisticsDto;
|
|
|
import com.caimei365.order.model.po.LogisticsBatchPo;
|
|
|
import com.caimei365.order.model.po.LogisticsInformationPo;
|
|
|
import com.caimei365.order.model.po.LogisticsRecordPo;
|
|
|
+import com.caimei365.order.model.po.PayShopRecordPo;
|
|
|
import com.caimei365.order.model.vo.*;
|
|
|
import com.caimei365.order.service.RemoteCallService;
|
|
|
import com.caimei365.order.service.ShipService;
|
|
@@ -78,6 +79,26 @@ public class ShipServiceImpl implements ShipService {
|
|
|
return ResponseJson.success(pageInfo);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 供应商子订单详情
|
|
|
+ *
|
|
|
+ * @param shopOrderId 子订单Id
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public ResponseJson<Map<String, Object>> getShopOrderDetail(Integer shopOrderId) {
|
|
|
+ ShopOrderVo shopOrder = shipMapper.getShopOrder(shopOrderId);
|
|
|
+ if (null == shopOrder) {
|
|
|
+ return ResponseJson.error("子订单异常,shopOrderId:" + shopOrderId, null);
|
|
|
+ }
|
|
|
+ setShopOrderInfo(shopOrder);
|
|
|
+ Map<String, Object> map = new HashMap<>(2);
|
|
|
+ map.put("shopOrder", shopOrder);
|
|
|
+ // 结算记录
|
|
|
+ List<PayShopRecordPo> payShopRecord = shipMapper.getPayShopRecordList(shopOrderId);
|
|
|
+ map.put("payShopRecord", payShopRecord);
|
|
|
+ return ResponseJson.success(map);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 发货页面子订单数据
|
|
|
*
|