using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ys.Core.Common; using djy.Model; using djy.Paas.Model; namespace djy.Paas.IService { /// /// 报关接口和阿里云合作 /// public interface IBaoguanService:IsBase { #region api 接口 /// /// Email发送 gid filename /// /// /// ReturnResult EmailSend(ApiFromDto Dto); /// /// 条件查询报关单数据 /// /// /// /// Task> GetBaoguanOrderList(tb_BaoGuanOrderList Dto, ApiFromDto apiFrom); /// ///绑定报关客户关系 /// /// /// Task> BindClient(ClientLinkInfoDto dto); /// ///根据箱型编号获取箱型数据 /// /// /// Task>> GetContainerList(List ContNoList); #endregion /// /// 生成阿里云报关Token /// /// /// Task> AliyunBaoguanToken(User Dto); /// ///阿里云反馈 /// /// /// Task> AliBack(ApiFromDto Dto); /// /// 阿里用户离职 /// /// /// Task> AliUserQuit(string UserId); /// /// 阿里报关 消息查询 /// /// Task> AliBaoguanrationlist(); /// ///阿里报关消费 /// /// 要消费的ali消息Id /// Task> AliBaodanActionConsume(List MsIdList); /// /// 自动根据阿里海关数据解出报关订单数据 /// /// Task> AutoRunBaoguanOrder(); /// /// 账单数据校验审核 /// /// /// Task> OrderCheck(tb_BaoGuanOrderList Dto); /// /// 执行杂项 /// /// ReturnResult Run(); /// /// 解析单一报关数据 /// /// ReturnResult RunOrderPsrse(); /// /// 将通过open提送上来的单一窗口数据解析到BaoguanOrder /// /// ReturnResult RunOpenDanyiParseToOrder(); /// /// 报关自动接收数据生成同步报关单数据job /// /// Task> AutoAllibonBaoguanJob(ApiFromDto UserDto); /// /// 读取接收报关企业推送msg消息 读取后自动将状态修改为已经读取下次读取将跳过 /// /// /// ReturnResult> ReadCompanyPushMsg(Guid? CompanyGid); /// /// 处理自动扣费 /// void ProcCustFee(); } }