瀏覽代碼

移除 `Name` 参数并添加 `FindAvailableFlatStorageSlot` 方法

删除了 `QueryFlowDirectionExceptions` 方法的 `HttpPost` 特性中的 `Name` 参数。
添加了一个新的 `HttpPost` 方法 `FindAvailableFlatStorageSlot`,用于平库申请货位。
林豪 左 1 年之前
父節點
當前提交
8b6d8eedbb
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      wms.api/Controllers/FjController.cs

+ 2 - 1
wms.api/Controllers/FjController.cs

@@ -416,7 +416,7 @@ namespace wms.api.Controllers
         /// </summary>
         /// <param name="reqDto"></param>
         /// <returns></returns>
-        [HttpPost(Name = "QueryFlowDirectionExceptions")]
+        [HttpPost]
         public SRes QueryFlowDirectionExceptions(GetFlowExceptionResultsRequest reqDto)
         {
             return _fjService.QueryFlowDirectionExceptions(reqDto);
@@ -837,6 +837,7 @@ namespace wms.api.Controllers
         /// </summary>
         /// <param name="reqEntity"></param>
         /// <returns></returns>
+        [HttpPost]
         public SRes<FJApplyStockInLocResponse> FindAvailableFlatStorageSlot(FJApplyStockInLocRequest reqDto)
         {
             return ConcurrencyReqControl<FJApplyStockInLocRequest, SRes<FJApplyStockInLocResponse>>(lockFindAvailableFlatStorageSlot, "FindAvailableFlatStorageSlot" + reqDto.PickUpEquipmentNo, reqDto.PickUpEquipmentNo, reqDto, _fjService.FindAvailableFlatStorageSlot);