| | |
| | | using System.Reflection; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Common.LocationEnum; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_Core.Enums; |
| | |
| | | { |
| | | IOutboundOrderDetailRepository Repository { get; } |
| | | |
| | | /// <summary> |
| | | /// éå®åºåºåºå |
| | | /// </summary> |
| | | /// <param name="orderDetailId">åºåºåæç»Id</param> |
| | | /// <returns></returns> |
| | | WebResponseContent LockOutboundStock(int orderDetailId); |
| | | |
| | | /// <summary> |
| | | /// åé
åºååºåºé»è¾ |
| | | /// </summary> |
| | | /// <param name="outboundOrderDetail">åºåºåæç»</param> |
| | | /// <param name="stockSelectViews">äººå·¥éæ©çåºå</param> |
| | | /// <returns></returns> |
| | | (List<Dt_StockInfo>, Dt_OutboundOrderDetail, List<Dt_OutStockLockInfo>, List<Dt_LocationInfo>) AssignStockOutbound(Dt_OutboundOrderDetail outboundOrderDetail, List<StockSelectViewDTO> stockSelectViews); |
| | | |
| | | /// <summary> |
| | | /// éå®åºåºåºå |
| | | /// </summary> |
| | | /// <param name="orderDetailId">åºåºåæç»Id</param> |
| | | /// <param name="stockSelectViews">äººå·¥éæ©çåºå</param> |
| | | /// <returns></returns> |
| | | WebResponseContent LockOutboundStock(int orderDetailId, List<StockSelectViewDTO> stockSelectViews); |
| | | |
| | | /// <summary> |
| | | /// éå®åºåºåºå(夿ç») |
| | | /// </summary> |
| | | /// <param name="keys"></param> |
| | | /// <returns></returns> |
| | | WebResponseContent LockOutboundStock(int[] keys); |
| | | |
| | | /// <summary> |
| | | /// éå®åºåºåºå(ä¿®æ¹æ°æ®) |
| | | /// </summary> |
| | | /// <param name="stockInfos">åºåæç»éå</param> |
| | | /// <param name="outboundOrderDetails">åºåºåæç»éå</param> |
| | | /// <param name="outStockLockInfos">åºåºé宿ç»éå</param> |
| | | /// <param name="locationInfos">è´§ä½ç»å</param> |
| | | /// <param name="locationStatus">è´§ä½ç¶æä¿®æ¹çå¼</param> |
| | | /// <param name="tasks">ä»»å¡ä¿¡æ¯</param> |
| | | /// <returns></returns> |
| | | WebResponseContent LockOutboundStockDataUpdate(List<Dt_StockInfo> stockInfos, List<Dt_OutboundOrderDetail> outboundOrderDetails, List<Dt_OutStockLockInfo> outStockLockInfos, List<Dt_LocationInfo> locationInfos, LocationStatusEnum locationStatus = LocationStatusEnum.Lock, List<Dt_Task>? tasks = null); |
| | | |
| | | /// <summary> |
| | | /// æ¤ééå®åºåºåºå |
| | | /// </summary> |
| | | /// <param name="orderDetailId">åºåºåæç»ä¸»é®</param> |
| | | /// <returns></returns> |
| | | WebResponseContent RevokeLockOutboundStock(int orderDetailId); |
| | | } |
| | | } |