| | |
| | | using WIDESEA_Model.Models; |
| | | using WIDESEA_DTO.System; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Model; |
| | | using WIDESEA_Model.Models.System.Request; |
| | | using WIDESEA_Model.Models.System.Reponse; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.System |
| | | { |
| | |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _sys_JobService = service; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¯å¨æå¡ |
| | | /// 忥æ¯äºè¿ªWMSæ¡ç ä¸»æ°æ® |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("StartServe"), AllowAnonymous] |
| | | public WebResponseContent StartServe() |
| | | [HttpPost, Route("SyncLabMaster"), AllowAnonymous] |
| | | public WebResponseContent SyncLabMaster() |
| | | { |
| | | return _sys_JobService.StartServe(); |
| | | return _sys_JobService.SyncLabMaster(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å
³éæå¡ |
| | | /// åè°æ¯äºè¿ªWMS䏿¶ç»æåä¼ |
| | | /// </summary> |
| | | /// <param name="putAway"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CallPutAway"), AllowAnonymous] |
| | | public WebResponseContent CallPutAway([FromBody] PutAwayRequest putAway) |
| | | { |
| | | return _sys_JobService.CallPutAway(putAway); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¯äºè¿ªåºåºæä»¤æ¥å£ |
| | | /// </summary> |
| | | /// <param></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("SelectOutStoreOrder"), AllowAnonymous] |
| | | public WebResponseContent SelectOutStoreOrder() |
| | | { |
| | | return _sys_JobService.SelectOutStoreOrder(); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// åè°æ¯äºè¿ªWMSåºåºå®æä¿¡æ¯æ¥å£ |
| | | /// </summary> |
| | | /// <param name="pickAndPost"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CallPickAndPost"), AllowAnonymous] |
| | | public WebResponseContent CallPickAndPost([FromBody] PickAndPostRequest pickAndPost) |
| | | { |
| | | return _sys_JobService.CallPickAndPost(pickAndPost); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç«åºéåä¿¡æ¯æ¥å£ï¼ä¾ä¸æ¸¸ç³»ç»è°ç¨ï¼ç«åºçæéè´§ä»»å¡ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CloseServe"), AllowAnonymous] |
| | | public WebResponseContent CloseServe() |
| | | [HttpPost, Route("returnInventory"), AllowAnonymous] |
| | | public ReturnInventoryResponse returnInventory(ReturnInventoryRequest inventoryRequest) |
| | | { |
| | | return _sys_JobService.CloseServe(); |
| | | return _sys_JobService.returnInventory(inventoryRequest); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç«åºWMSåºåä¿¡æ¯æ¥å£ï¼ä¾ä¸æ¸¸ç³»ç»è°ç¨ |
| | | /// </summary> |
| | | /// <param name="inventoryQueryRequest"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("InventoryQuery"), AllowAnonymous] |
| | | public InventoryQueryResponse InventoryQuery(InventoryQueryRequest inventoryQueryRequest) |
| | | { |
| | | return _sys_JobService.InventoryQuery(inventoryQueryRequest); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç«åºWMSå»ç»/è§£å»ä¿¡æ¯æ¥å£ï¼ä¾ä¸æ¸¸ç³»ç»è°ç¨ |
| | | /// </summary> |
| | | /// <param name="freezeByCustomerResponse"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("freezeByCustomer"), AllowAnonymous] |
| | | public freezeByCustomerResponse freezeByCustomer(freezeByCustomerRequest freezeRequest) |
| | | { |
| | | return _sys_JobService.freezeByCustomer(freezeRequest); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// åè°æ¯äºè¿ªWMS使ååºå®æä¿¡æ¯æ¥å£ |
| | | /// </summary> |
| | | /// <param name="putAway"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CallPutAwayReturn"), AllowAnonymous] |
| | | public WebResponseContent CallPutAwayReturn([FromBody] PutAwayReturnRequest putAwayReturn) |
| | | { |
| | | return _sys_JobService.CallPutAwayReturn(putAwayReturn); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |