From 85458565e09bda1044d19b13d0b1ffb7ab576857 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期五, 22 十一月 2024 16:47:40 +0800 Subject: [PATCH] 货位分配 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" index b58266b..e89e2e9 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" @@ -2,6 +2,7 @@ using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; +using WIDESEA_Common.CommonEnum; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_Core.Enums; @@ -21,5 +22,17 @@ { _repository = repository; } + + [HttpPost, Route("InitializationLocation"), AllowAnonymous] + public WebResponseContent InitializationLocation([FromBody] InitializationLocationDTO initializationLocationDTO) + { + return Service.InitializationLocation(initializationLocationDTO); + } + + [HttpPost, HttpGet, Route("AssignLocation"), AllowAnonymous] + public Dt_LocationInfo? AssignLocation(string roadwayNo, PalletTypeEnum palletType) + { + return Service.AssignLocation(roadwayNo, palletType); + } } } -- Gitblit v1.9.3