From 50fd5cc9cfad08714c4daa6d481c5293ff2ae6b1 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期三, 31 一月 2024 18:55:28 +0800 Subject: [PATCH] 逻辑完善 --- 代码管理/WMS/WMS_Server/WIDESEA_WebApi/Controllers/WIDESEA_WMS/Partial/dt_stationinfoController.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/WIDESEA_WMS/Partial/dt_stationinfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/WIDESEA_WMS/Partial/dt_stationinfoController.cs" index 2faee8d..60d8fba 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/WIDESEA_WMS/Partial/dt_stationinfoController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/WIDESEA_WMS/Partial/dt_stationinfoController.cs" @@ -11,6 +11,8 @@ using Microsoft.AspNetCore.Http; using WIDESEA_Entity.DomainModels; using WIDESEA_WMS.IServices; +using WIDESEA_Core.Utilities; +using WIDESEA_WMS.Services; namespace WIDESEA_WMS.Controllers { @@ -29,5 +31,15 @@ _service = service; _httpContextAccessor = httpContextAccessor; } + /// <summary> + /// 璁剧疆缂撳瓨鏋剁鐢ㄥ惎鐢� + /// </summary> + /// <param name="parm"></param> + /// <returns></returns> + [HttpPost, Route("SetStationEnable")] + public WebResponseContent SetStationEnable([FromBody] object parm) + { + return dt_stationinfoService.Instance.SetStationEnable(parm); + } } } -- Gitblit v1.9.3