From 9a0acba23c5b5095be2a89b8ca190fe5202c2ea6 Mon Sep 17 00:00:00 2001 From: duyongjia <adu_555@163.com> Date: 星期日, 29 十二月 2024 15:58:45 +0800 Subject: [PATCH] 最新修改 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs | 66 ++++++++++++++++++++++++++++---- 1 files changed, 57 insertions(+), 9 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs" index 59b039f..9790eac 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_JobController.cs" @@ -7,6 +7,9 @@ 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 { @@ -21,25 +24,70 @@ _httpContextAccessor = httpContextAccessor; _sys_JobService = service; } - /// <summary> - /// 鍚姩鏈嶅姟 + /// 鍚屾姣斾簹杩猈MS鏉$爜涓绘暟鎹� /// </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> - /// 鍏抽棴鏈嶅姟 + /// 鍥炶皟姣斾簹杩猈MS涓婃灦缁撴灉鍥炰紶 /// </summary> + /// <param name="putAway"></param> /// <returns></returns> - [HttpPost, Route("CloseServe"), AllowAnonymous] - public WebResponseContent CloseServe() + [HttpPost, Route("CallPutAway"), AllowAnonymous] + public WebResponseContent CallPutAway([FromBody] PutAwayRequest putAway) { - return _sys_JobService.CloseServe(); + return _sys_JobService.CallPutAway(putAway); } + + /// <summary> + /// 姣斾簹杩嚭搴撴寚浠ゆ帴鍙� + /// </summary> + /// <param></param> + /// <returns></returns> + [HttpPost, Route("SelectOutStoreOrder"), AllowAnonymous] + public WebResponseContent SelectOutStoreOrder() + { + return _sys_JobService.SelectOutStoreOrder(); + } + + + /// <summary> + /// 鍥炶皟姣斾簹杩猈MS鍑哄簱瀹屾垚淇℃伅鎺ュ彛 + /// </summary> + /// <param name="pickAndPost"></param> + /// <returns></returns> + [HttpPost, Route("CallPickAndPost"), AllowAnonymous] + public WebResponseContent CallPickAndPost([FromBody] PickAndPostRequest pickAndPost) + { + return _sys_JobService.CallPickAndPost(pickAndPost); + } + + + + + + /// <summary> + /// 鍥炶皟姣斾簹杩猈MS浣欐枡鍥炲簱瀹屾垚淇℃伅鎺ュ彛 + /// </summary> + /// <param name="putAway"></param> + /// <returns></returns> + [HttpPost, Route("CallPutAwayReturn"), AllowAnonymous] + public WebResponseContent CallPutAwayReturn([FromBody] PutAwayReturnRequest putAwayReturn) + { + return _sys_JobService.CallPutAwayReturn(putAwayReturn); + } + + + + + + + } } -- Gitblit v1.9.3