| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- using Muchinfo.MTPClient.Data;
- using Muchinfo.MTPClient.Data.Enums;
- using Muchinfo.MTPClient.Data.Model;
- using Muchinfo.MTPClient.Data.Model.Account;
- using Muchinfo.MTPClient.Data.Model.Delivery;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- namespace Muchinfo.MTPClient.IService
- {
- /// <summary>
- /// 交收
- /// </summary>
- public interface IDeliveryService
- {
-
- /// <summary>
- /// 下交割申报单
- /// </summary>
- /// <param name="entrustOrder">交割内容</param>
- /// <param name="successAction">成功回应</param>
- /// <param name="errorAction">失败回应</param>
- void DeliveryApplyOrder(DeliveryOrderReqModel deliveryOrder, Action<DeliveryOrderRspModel> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询交收单
- /// </summary>
- /// <param name="AccountId">账号</param>
- /// <param name="strarTime">开始时间</param>
- /// <param name="endTime">结束时间</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryHolders(ulong AccountId, DateTime strarTime, DateTime endTime,
- Action<List<DryHoldDetail>> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询交收单详情
- /// </summary>
- /// <param name="DeliveryId">交割单</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryHoldersMoreDetail(uint DeliveryId, Action<List<DeliveryDetailWR>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询提货详情
- /// </summary>
- /// <param name="STOREOUTID">出库单ID</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryTakeGoodsMoreDetail(long STOREOUTID, Action<List<WarehouseRecieptModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// /查询交收申报单
- /// </summary>
- /// <param name="AccountId">账号</param>
- /// <param name="strarTime">开始时间</param>
- /// <param name="endTime">结束时间</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryEntrustOrders(ulong AccountId, DateTime strarTime, DateTime endTime,
- Action<List<DeliveryEntrustOrder>> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 仓单查询
- /// </summary>
- /// <param name="accountId"></param>
- /// <param name="strarTime"></param>
- /// <param name="endTime"></param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryWarehouseOrders(SearchWarehouseOrdersType warehouseType, string WRCode, ulong accountId, DateTime strarTime, DateTime endTime,
- Action<List<DeliveryWarehouse>> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 点选配对-仓单配对查询【停用-改用接口调用】
- /// </summary>
- /// <param name="DeliveryGoodsId"></param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryMatchOrders(uint DeliveryGoodsId, Action<List<DeliveryMatchModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 提交仓单配对
- /// </summary>
- /// <param name="entrustOrder">配对仓单内容</param>
- /// <param name="successAction">成功回应</param>
- /// <param name="errorAction">失败回应</param>
- void SubmitDeliveryMatchOrder(DeliveryOrderMatchReqModel deliveryMatchOrder, Action<DeliveryOrderMatchRspModel> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询提货仓单
- /// </summary>
- /// <param name="AccountId">账号</param>
- /// <param name="strarTime">开始时间</param>
- /// <param name="endTime">结束时间</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryTakaDeliveryGoodsOrders(ulong AccountId, DateTime strarTime, DateTime endTime,
- Action<List<TakaDeliveryGoodsQueryModel>> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 提货申请-查询
- /// </summary>
- /// <param name="accountId"></param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryTakaDeliveryGoodsOrdersAppy(ulong accountId, Action<List<TakaDeliveryGoodsApplyModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 交易商品-交割关系表-配置信息
- /// </summary>
- /// <param name="goodId"></param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryGoodsRelationConfig(uint goodId, Action<List<DeliveryConfig>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 交易商品-交割规则查询
- /// </summary>
- /// <param name="deliveryGoodsId"></param>
- /// <param name="ruleId"></param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryRule(uint deliveryGoodsId,uint ruleId, Action<List<DeliveryRuleModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 提交提货申请
- /// </summary>
- /// <param name="OutStoreReqModel">提货申请内容</param>
- /// <param name="successAction">成功回应</param>
- /// <param name="errorAction">失败回应</param>
- void SubmitOutStoreReq(OutStoreReqModel reqModel, Action<OutStoreRspModel> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 确认-交收现货付款请求
- /// </summary>
- /// <param name="ReceiveConfirmReqModel">确认收货内容</param>
- /// <param name="successAction">成功回应</param>
- /// <param name="errorAction">失败回应</param>
- void SubmitReceiveConfirmReq(ReceiveConfirmReqModel reqModel, Action<ReceiveConfirmRspModel> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询配对仓单请求
- /// </summary>
- /// <param name="ReceiveConfirmReqModel">查询配对仓单内容</param>
- /// <param name="successAction">成功回应</param>
- /// <param name="errorAction">失败回应</param>
- void SearchMatchWarehouseReq(WrPairReqModel reqModel, Action<WrPairRspModel> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询交割关系表LIST
- /// </summary>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryGoodsDeliveryRelationList(Action<List<GoodsDeliveryRelationModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询P+X交割商品信息
- /// </summary>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryRelationPAndXGoodsInfoList(Action<List<RelationPAndXGoodsInfoModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// /查询交收申报单
- /// </summary>
- /// <param name="AccountId">账号</param>
- /// <param name="strarTime">开始时间</param>
- /// <param name="endTime">结束时间</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryComplete(ulong AccountId, DateTime strarTime, DateTime endTime,
- Action<List<DeliveryCompleteModel>> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 申报点选仓单查询MTP2.0
- /// </summary>
- /// <param name="accountId"></param>
- /// <param name="deliveryGoodsId"></param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryWhRecieptInfo(ulong accountId, uint deliveryGoodsId, Action<List<DeliveryWhRecieptInfo>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 交割提货个人信息查询请求
- /// </summary>
- /// <param name="DepositPersonalInfoReqModel">交割提货个人信息查询请求内容</param>
- /// <param name="successAction">成功回应</param>
- /// <param name="errorAction">失败回应</param>
- void SearchDepositPersonalInfoReq(DepositPersonalInfoReqModel reqModel, Action<DepositPersonalInfoRspModel> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 仓单变更流水查询
- /// </summary>
- /// <param name="ChangeOperator">变更操作人</param>
- /// <param name="WRCode">仓单号</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void SearchWRChangeFlow(uint ChangeOperator, string WRCode, Action<List<WRChangeFlowModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询履约计划明细
- /// </summary>
- /// <param name="accountId">变更操作人</param>
- /// <param name="PlanId">履约计划id</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void SearchDeliveryPerformDetailPlan(long PlanId,bool isHistory, Action<List<DeliveryPerformDetailPlanModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 交割关系配置查询
- /// </summary>
- /// <param name="RELATIONID">交割关系id</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void SearchRelationPerformConfig(long Relationid, Action<List<RelationperformConfigModel>> successAction, Action<ErrorEntity> errorAction);
- /// <summary>
- /// 查询账号持仓商品的仓单
- /// </summary>
- /// <param name="accountId">账号ID</param>
- /// <param name="deliveryGoodsId">商品id</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryWarehouseOrders(ulong accountId, uint deliveryGoodsId,
- Action<List<DeliveryWarehouse>> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 通过 仓单Id查询仓单
- /// </summary>
- /// <param name="wrid">账号ID</param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryWarehouseOrders(uint wrid,
- Action<List<DeliveryWarehouse>> successAction,
- Action<ErrorEntity> errorAction);
- /// <summary>
- /// 交割申报查询
- /// </summary>
- /// <param name="statement"></param>
- /// <param name="queryCommonParams"></param>
- /// <param name="successAction"></param>
- /// <param name="errorAction"></param>
- void QueryDeliveryDeclareByCapitalAccount(string statement, List<QueryCommonParam> queryCommonParams,
- Action<List<DeliveryEntrustOrder>> successAction, Action<ErrorEntity> errorAction);
- void QueryDryOrdersByCapitalAccount(string statement, List<QueryCommonParam> queryCommonParams,
- Action<List<DryHoldDetail>> successAction, Action<ErrorEntity> errorAction);
- void QueryDeliveryWarehouseOrdersNew(uint goodsId, uint deliveryGoodsId,uint tradeProperty,
- Action<DeliveryWRRspModel> successAction,
- Action<ErrorEntity> errorAction);
- }
- }
|