From a2cfbd59045d7426088e9ec9e93794dc895849a9 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 03 七月 2024 23:13:40 +0800
Subject: [PATCH] 获取位置列表增加仓库ID传参,默认位置去掉仓库code拼接, 修复若干bug

---
 docs/swagger.yaml |   70 ++++++++++++++++++++++-------------
 1 files changed, 44 insertions(+), 26 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 8285221..6dd0214 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -212,17 +212,20 @@
     - 2
     - 3
     - 4
+    - 5
     type: integer
     x-enum-comments:
+      DisuseType: 鎶ュ簾绫诲瀷
       StockoutType: 鍑哄簱绫诲瀷
       StorageType: 鍏ュ簱绫诲瀷
-      TakeStock: 鐩樼偣绫诲瀷
+      TakeStockType: 鐩樼偣绫诲瀷
       TransferType: 璋冩嫧绫诲瀷
     x-enum-varnames:
     - StorageType
     - StockoutType
     - TransferType
-    - TakeStock
+    - TakeStockType
+    - DisuseType
   constvar.OperationSource:
     enum:
     - 1
@@ -365,13 +368,6 @@
       valid:
         description: Valid is true if Time is not NULL
         type: boolean
-    type: object
-  inventory_order.WorkerInfo:
-    properties:
-      id:
-        type: string
-      name:
-        type: string
     type: object
   models.Attachment:
     properties:
@@ -854,6 +850,17 @@
         description: 閲嶉噺
         type: number
     type: object
+  models.MonthStatsItemsType:
+    enum:
+    - 1
+    - 2
+    type: integer
+    x-enum-comments:
+      MonthStatsItemsTypeInput: 鍏ュ簱
+      MonthStatsItemsTypeOutput: 鍑哄簱
+    x-enum-varnames:
+    - MonthStatsItemsTypeInput
+    - MonthStatsItemsTypeOutput
   models.MoveHistory:
     properties:
       amount:
@@ -1329,6 +1336,8 @@
       name:
         description: 鍏ュ簱鏉ユ簮锛屽嚭搴撳幓澶�
         type: string
+      type:
+        $ref: '#/definitions/models.MonthStatsItemsType'
       warehouseMonthStatsId:
         type: integer
     type: object
@@ -1734,6 +1743,10 @@
         type: string
       locationId:
         type: integer
+      locationIds:
+        items:
+          type: integer
+        type: array
       page:
         description: 椤电爜
         type: integer
@@ -1762,6 +1775,9 @@
         description: 姣忛〉澶у皬
         type: integer
       type:
+        type: integer
+      warehouseId:
+        description: 浠撳簱ID
         type: integer
     type: object
   request.GetMiniDictList:
@@ -3627,27 +3643,13 @@
       - 鍏ュ簱/鍑哄簱
   /api-wms/v1/operation/getPersonnelList:
     get:
-      parameters:
-      - description: 鍙傛暟
-        in: body
-        name: object
-        required: true
-        schema:
-          $ref: '#/definitions/request.OperationCondition'
       produces:
       - application/json
       responses:
         "200":
           description: 鎴愬姛
           schema:
-            allOf:
-            - $ref: '#/definitions/util.ResponseList'
-            - properties:
-                data:
-                  items:
-                    $ref: '#/definitions/inventory_order.WorkerInfo'
-                  type: array
-              type: object
+            $ref: '#/definitions/util.Response'
       summary: 鑾峰彇浜哄憳鍒楄〃
       tags:
       - 鍏ュ簱/鍑哄簱
@@ -4117,6 +4119,22 @@
       summary: 鍒犻櫎浜у搧绫诲瀷
       tags:
       - 浜у搧绫诲瀷
+  /api-wms/v1/product/downloadInputFormat:
+    get:
+      parameters:
+      - description: token
+        in: header
+        name: Authorization
+        required: true
+        type: string
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 涓嬭浇瀵煎叆鐗╂枡/浜у搧妯℃澘
+      tags:
+      - 浜у搧
   /api-wms/v1/product/finishDisuse/{id}:
     put:
       parameters:
@@ -4325,9 +4343,9 @@
           description: 鎴愬姛
           schema:
             $ref: '#/definitions/util.Response'
-      summary: 瀵煎叆鐗╂枡
+      summary: 瀵煎叆鐗╂枡/浜у搧
       tags:
-      - 鐗╂枡绠$悊
+      - 浜у搧
   /api-wms/v1/product/listDisuse:
     post:
       parameters:

--
Gitblit v1.8.0