/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email:
* CreateTime: 202403/02
* Description: 暂无
***********************************************************************/
using System.Collections.Generic;
using System.Threading.Tasks;
using CoreCms.Net.Model.Entities;
using CoreCms.Net.Model.ViewModels.UI;
namespace CoreCms.Net.IServices
{
///
/// 发货单表 服务工厂接口
///
public interface ICoreCmsBillDeliveryServices : IBaseServices
{
///
/// 批量发货,可以支持多个订单合并发货,单个订单拆分发货等。
///
/// 英文逗号分隔的订单号
/// 物流公司编码
/// 物流单号
/// 发货明细
/// 店铺收货地址
/// 收货人姓名
/// 收货人电话
/// 省市区id
/// 收货地址
/// 发货描述
/// 第三方对接物流编码
///
Task BatchShip(string[] orderId, string logiCode, string logiNo, Dictionary items,
int storeId = 0, string shipName = "", string shipMobile = "", int shipAreaId = 0, string shipAddress = "",
string memo = "", string deliveryCompanyId = "", int? sendDistributionID = null);
///
/// 发货,单个订单发货
///
/// 英文逗号分隔的订单号
/// 物流公司编码
/// 物流单号
/// 发货明细
/// 店铺收货地址
/// 收货人姓名
/// 收货人电话
/// 省市区id
/// 收货地址
/// 发货描述
/// 第三方对接物流编码
///
Task Ship(string orderId, string logiCode, string logiNo, Dictionary items,
int storeId = 0, string shipName = "", string shipMobile = "", int shipAreaId = 0, string shipAddress = "",
string memo = "", string deliveryCompanyId = "", int? sendDistributionID = null);
///
/// 物流信息查询根据快递编码和单号查询(快递100)未使用
///
/// 查询的快递公司的编码, 一律用小写字母(如:yuantong)
/// 查询的快递单号, 单号的最大长度是32个字符
///
Task GetLogistic(string code, string no);
///
/// 发货单统计7天统计
///
///
Task> Statistics();
}
}