IDeliveryManageService.cs 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. 
  2. namespace Muchinfo.MTPClient.IService
  3. {
  4. ///// <summary>
  5. ///// 交收系统服务
  6. ///// </summary>
  7. //public interface IDeliveryManageService
  8. //{
  9. // /// <summary>
  10. // /// 获取账号信息
  11. // /// </summary>
  12. // /// <returns></returns>
  13. // AccountEntry GetAccountEntry();
  14. // /// <summary>
  15. // /// 获取所有可交收的仓单
  16. // /// </summary>
  17. // /// <returns>持仓单</returns>
  18. // List<DeliveryHoldDetials> GetDeliveryDetails();
  19. // /// <summary>
  20. // /// 新增地址
  21. // /// </summary>
  22. // /// <param name="address">地址信息</param>
  23. // /// <returns>返回错误码</returns>
  24. // int AddAddress(Address address);
  25. // /// <summary>
  26. // /// 修改地址
  27. // /// </summary>
  28. // /// <param name="address">地址信息</param>
  29. // /// <returns>返回错误码</returns>
  30. // int ModifyAddress(Address address);
  31. // /// <summary>
  32. // /// 删除地址
  33. // /// </summary>
  34. // /// <param name="address">要删除的地址信息</param>
  35. // /// <returns>返回错误码</returns>
  36. // int DeleteAddress(Address address);
  37. // /// <summary>
  38. // /// 交割参数查询
  39. // /// </summary>
  40. // /// <param name="goodCode">商品代码</param>
  41. // /// <param name="AfterChangeGoods">品种代码</param>
  42. // /// <param name="marketType">市场类型,竞价为1,如果扩展市场类型,则要考虑</param>
  43. // /// <returns></returns>
  44. // List<Muchinfo.MTPClient.Data.Model.Delivery.DeliveryConfig> QueryDeliveryConfig(string goodCode, string AfterChangeGoods, int marketType);
  45. // /// <summary>
  46. // /// 查询提货人的地
  47. // /// 址信息
  48. // /// </summary>
  49. // /// <returns></returns>
  50. // List<Address> QueryAddresses(int takeDeliveryType);
  51. // /// <summary>
  52. // /// 查询交收价格
  53. // /// </summary>
  54. // /// <param name="goodsCode">商品代码</param>
  55. // /// <param name="goodsclasscode">商品品种代码</param>
  56. // /// <returns></returns>
  57. // decimal QueryDeliveryPrice(string goodsCode, string goodsclasscode);
  58. // /// <summary>
  59. // /// 查询交收单
  60. // /// </summary>
  61. // /// <param name="startDate">开始日期</param>
  62. // /// <param name="endDate">结束日期</param>
  63. // /// <param name="direction">交收方向</param>
  64. // /// <param name="status">状态</param>
  65. // /// <param name="current">是否查询历史</param>
  66. // /// <returns></returns>
  67. // List<DeliveryApplyDetail> QueryDeliveryDetails(DateTime startDate, DateTime endDate,
  68. // Common.Data.Enums.Direction direction, DeliveryApplyStatus status, bool IsQueryHistory);
  69. // /// <summary>
  70. // /// 交收申报
  71. // /// </summary>
  72. // /// <param name="deliveryOrder">交收委托单</param>
  73. // /// <returns></returns>
  74. // int DeliveryApplyOrder(EntrustDeliveryHold deliveryOrder);
  75. // /// <summary>
  76. // /// 取消交收申请
  77. // /// </summary>
  78. // /// <param name="deliveryOrder">交收单</param>
  79. // /// <returns></returns>
  80. // int CancelDeliveryApply(DeliveryApplyDetail deliveryOrder);
  81. // /// <summary>
  82. // /// 查询当前中间仓行情
  83. // /// </summary>
  84. // /// <returns>中间仓行情</returns>
  85. // List<DeliveryQuote> QueryDeliveryQuote();
  86. // /// <summary>
  87. // /// 申请提货预约
  88. // /// </summary>
  89. // /// <param name="goodsApply">提货信息</param>
  90. // /// <returns></returns>
  91. // int PickingGoodsOrder(PickGoodsApply goodsApply);
  92. // /// <summary>
  93. // /// 提货单查询
  94. // /// </summary>
  95. // /// <param name="startDateTime">开始时间</param>
  96. // /// <param name="enDateTime">结束时间</param>
  97. // /// <param name="receiveMode">提货方向</param>
  98. // /// <returns></returns>
  99. // List<PickingGoodsOrder> QueryPickingGoodsOrders(DateTime startDateTime, DateTime enDateTime, ReceiveMode receiveMode, bool IsQueryHistory);
  100. // /// <summary>
  101. // /// 收货确认
  102. // /// </summary>
  103. // /// <param name="pickingGoodsOrder">提货单</param>
  104. // /// <returns></returns>
  105. // int ConfirmPickingGoods(PickingGoodsOrder pickingGoodsOrder);
  106. // /// <summary>
  107. // /// 提货仓库查询
  108. // /// </summary>
  109. // /// <returns></returns>
  110. // List<WarehouseModel> QueryWarehouses();
  111. // /// <summary>
  112. // /// 获取所有交收商品
  113. // /// </summary>
  114. // /// <returns></returns>
  115. // List<DeliveryGoods> GetAllDeiveryGoodses();
  116. // //---------------------------------------------------------------
  117. // /// <summary>
  118. // /// 获取入库预约
  119. // /// </summary>
  120. // /// <param name="startTime">开始时间</param>
  121. // /// <param name="endTime">结束时间</param>
  122. // /// <param name="warehouse">仓库</param>
  123. // /// <param name="state">状态</param>
  124. // /// <returns></returns>
  125. // ObservableCollection<StorageManagementModel> GetStorageManagement(DateTime startTime, DateTime endTime, string warehouse, int state, bool IsQueryHistory, OperationType op = OperationType.Query);
  126. // /// <summary>
  127. // /// 入库预约 操作
  128. // /// </summary>
  129. // /// <param name="item">StorageManagementModel</param>
  130. // /// <param name="op">操作类型:更改(Update)、插入(Insert)、删除(Delete)</param>
  131. // /// <returns>是否成功</returns>
  132. // int OperationStorageManagement(Storage item, OperationType op);
  133. // /// <summary>
  134. // /// 获取仓单
  135. // /// </summary>
  136. // /// <param name="Goods">商品名称</param>
  137. // /// <param name="WarehouseType">仓单类型</param>
  138. // /// <returns></returns>
  139. // ObservableCollection<WarehouseReceiptManagementModel> getWarehouseReceiptManagement(string Goods, int WarehouseType);
  140. // /// <summary>
  141. // /// 更具商品代码获取对应的商品品种
  142. // /// </summary>
  143. // /// <param name="GoodCode">商品代码</param>
  144. // /// <param name="IsQueryType">查询类型,false:只查询信息,不查图片,true:查包括图片</param>
  145. // /// <param name="GoodsClassCode">品种代码</param>
  146. // /// <returns></returns>
  147. // ObservableCollection<DeliveryGoodsClass> getDeliveryGoodsClass(string GoodCode, string GoodsClassCode, bool IsQueryType);
  148. // /// <summary>
  149. // /// 仓单转让 操作
  150. // /// </summary>
  151. // /// <param name="item">WarehouseReceiptTransfereeModel</param>
  152. // /// <param name="op">操作类型:更改(Update)、插入(Insert)、删除(Delete)</param>
  153. // /// <returns>是否成功</returns>
  154. // int OperationWarehouseTransfer(WarehouseReceiptTransfereeModel item, OperationType op);
  155. // /// <summary>
  156. // /// 获取 仓单受让
  157. // /// </summary>
  158. // /// <returns></returns>
  159. // ObservableCollection<WarehouseReceiptTransfereeModel> getWarehouseTransferee();
  160. // /// <summary>
  161. // /// 仓单流转 查询
  162. // /// </summary>
  163. // /// <returns></returns>
  164. // ObservableCollection<WarehouseReceiptTransferModel> getWarehouseReceiptTransferee(DateTime startTime, DateTime endTime, TradeDirection td, bool IsQueryHistory);
  165. // /// <summary>
  166. // /// 仓单流转明细 查询
  167. // /// </summary>
  168. // /// <param name="startTime"></param>
  169. // /// <param name="endTime"></param>
  170. // /// <param name="IsQueryHistory"></param>
  171. // /// <returns></returns>
  172. // ObservableCollection<WarehouseReceiptTransferModel> getWarehouseReceiptTransfereeDetail(DateTime startTime, DateTime endTime, Delivery2_Remark_TD td, bool IsQueryHistory);
  173. // /// <summary>
  174. // /// 交收配对查询
  175. // /// </summary>
  176. // /// <param name="startTime"></param>
  177. // /// <param name="endTime"></param>
  178. // /// <returns></returns>
  179. // List<DeliveryMatchModel> QueryDeliveryMatch(string startTime, string endTime);
  180. // /// <summary>
  181. // /// 获取 中间仓
  182. // /// </summary>
  183. // /// <param name="startTime">开始时间</param>
  184. // /// <param name="endTime">结束时间</param>
  185. // /// <param name="tradeDirection">方向</param>
  186. // /// <returns></returns>
  187. // ObservableCollection<IntermediateBinQueryModel> getIntermediateBinQuery(DateTime startTime, DateTime endTime, TradeDirection tradeDirection, bool IsQueryHistory);
  188. // /// <summary>
  189. // /// 中间仓 操作
  190. // /// </summary>
  191. // /// <param name="item">IntermediateBinQueryModel</param>
  192. // /// <param name="op">操作类型:更改(Update)、插入(Insert)、删除(Delete)</param>
  193. // /// <returns>是否成功</returns>
  194. // int OperationIntermediateBinQuery(IntermediateBinQueryModel item, OperationType op);
  195. // /// <summary>
  196. // /// 仓单转让
  197. // /// </summary>
  198. // /// <param name="BusinessNo">业务单号</param>
  199. // /// <param name="Result">Result:</param>
  200. // /// <returns></returns>
  201. // int OperationStorageAttornPermit(long BusinessNo, int Result, OperationType op);
  202. // /// <summary>
  203. // /// 获取账户信息
  204. // /// </summary>
  205. // /// <param name="AccountCode"></param>
  206. // /// <returns></returns>
  207. // List<AccountEntry> getAccountInfo(string AccountCode);
  208. // /// <summary>
  209. // /// 获取 转让查询
  210. // /// </summary>
  211. // /// <returns></returns>
  212. // ObservableCollection<WarehouseReceiptTransfereeModel> getWarehouseTransQuery();
  213. //}
  214. }