| | |
| | | private readonly IOperationASNServer _logSvc; //入库库操作日志Svc |
| | | private readonly IPalletUnbindServer _palletUnbind; //托盘解绑绑定 |
| | | private readonly IAuditLogServer _auditLog; //审核记录 |
| | | private readonly IBllLabelBoxNoServer _labelBox; //箱码标签 |
| | | #endregion |
| | | |
| | | #region 构造函数 |
| | | public BllAsnController(IArrivalNoticeServer arrivalNoticeSvc, IPalletBindServer palletBindSvc,IBllBoxInfoServer bllBoxInfoSvc, ITaskServer taskSvc,IOperationASNServer logSvc, IPalletUnbindServer palletUnbind,IAuditLogServer auditLog) |
| | | public BllAsnController(IArrivalNoticeServer arrivalNoticeSvc, IPalletBindServer palletBindSvc,IBllBoxInfoServer bllBoxInfoSvc, ITaskServer taskSvc,IOperationASNServer logSvc, IPalletUnbindServer palletUnbind,IAuditLogServer auditLog,IBllLabelBoxNoServer labelBox) |
| | | { |
| | | _arrivalNoticeSvc = arrivalNoticeSvc; |
| | | _PalletBindSvc = palletBindSvc; |
| | |
| | | _logSvc = logSvc; |
| | | _palletUnbind = palletUnbind; |
| | | _auditLog = auditLog; |
| | | _labelBox = labelBox; |
| | | } |
| | | #endregion |
| | | |
| | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region 箱码标签 |
| | | |
| | | [HttpPost] |
| | | public IActionResult GetLabelBoxList(LabelBoxVm model) |
| | | { |
| | | try |
| | | { |
| | | var list = _labelBox.GetLabelBoxList(model, out int count); |
| | | return Ok(new { code = 0, count, msg = "箱码标签列表", data = list }); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | return Ok(new { code = 1, count = 0, msg = e.Message }); |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | } |
| | | |
| | | } |