| | |
| | | using Model.ModelDto.SysDto; |
| | | using static System.Reflection.Metadata.BlobBuilder; |
| | | using WMS.DAL; |
| | | using static System.Net.WebRequestMethods; |
| | | using WMS.IBLL; |
| | | |
| | | namespace Wms.Controllers |
| | | { |
| | |
| | | private readonly IBllLabelBoxNoServer _labelBox; // 箱码标签 |
| | | private readonly IProcurePlanServer _procurePlanSvc; // 箱码标签 |
| | | private readonly IPalletUpShelfServer _palletUpShelfSvc; // 上架记录 |
| | | private readonly IHttpServer _http; |
| | | #endregion |
| | | |
| | | #region 构造函数 |
| | | public BllAsnController(IArrivalNoticeServer arrivalNoticeSvc, IPalletBindServer palletBindSvc, IBllBoxInfoServer bllBoxInfoSvc, ITaskServer taskSvc, IOperationASNServer logSvc, IPalletUnbindServer palletUnbind, IAuditLogServer auditLog, IBllLabelBoxNoServer labelBox, IProcurePlanServer procurePlanSvc, IPalletUpShelfServer palletUpShelfSvc) |
| | | public BllAsnController(IArrivalNoticeServer arrivalNoticeSvc, IPalletBindServer palletBindSvc, IBllBoxInfoServer bllBoxInfoSvc, ITaskServer taskSvc, IOperationASNServer logSvc, IPalletUnbindServer palletUnbind, IAuditLogServer auditLog, IBllLabelBoxNoServer labelBox, IProcurePlanServer procurePlanSvc, IPalletUpShelfServer palletUpShelfSvc, IHttpServer http) |
| | | { |
| | | _arrivalNoticeSvc = arrivalNoticeSvc; |
| | | _PalletBindSvc = palletBindSvc; |
| | |
| | | _labelBox = labelBox; |
| | | _procurePlanSvc = procurePlanSvc; |
| | | _palletUpShelfSvc = palletUpShelfSvc; |
| | | |
| | | _http = http; |
| | | } |
| | | #endregion |
| | | |
| | |
| | | { |
| | | return Ok(new { code = 1, msg = "未获取到当前操作人信息" }); |
| | | } |
| | | _PalletBindSvc.ArrivalSuccessBack(taskNo, int.Parse(userId)); |
| | | |
| | | //_PalletBindSvc.ArrivalSuccessBack(taskNo, int.Parse(userId)); |
| | | _http.ArrivalSuccess2(taskNo, int.Parse(userId)); |
| | | return Ok(new { code = 0, msg = "成功完成任务", data = "" }); |
| | | |
| | | |