From 232cdf071bfe3bd2b77ba05accba89b67fcc1edc Mon Sep 17 00:00:00 2001 From: Zhang-Hong-Lin <a3219986988@163.com> Date: 星期四, 26 六月 2025 18:51:14 +0800 Subject: [PATCH] 优化bug与添加一键删除按钮 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/OutStockController.cs | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/OutStockController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/OutStockController.cs" index 02fa68e..12eaff4 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/OutStockController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/OutStockController.cs" @@ -1,4 +1,5 @@ 锘縰sing Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseController; using WIDESEAWCS_ISystemServices; using WIDESEAWCS_Model.Models; @@ -14,5 +15,27 @@ { _httpContextAccessor = httpContextAccessor; } + + /// <summary> + /// 淇敼褰撳墠鏄惁闇�瑕佸嚭搴� + /// </summary> + /// <param name="batch"></param> + /// <returns></returns> + [HttpPost, HttpGet, Route("UpdateIsOutStock")] + public WebResponseContent UpdateIsOutStock(int isout) + { + return Service.UpdateIsOutStock(isout); + } + + /// <summary> + /// 淇敼姝e父鍏ュ簱杩樻槸鐩存帴鍏ュ簱 + /// </summary> + /// <param name="batch"></param> + /// <returns></returns> + [HttpPost, HttpGet, Route("UpdateInOut")] + public WebResponseContent UpdateInOut(int isout) + { + return Service.UpdateInOut(isout); + } } } -- Gitblit v1.9.3