From 015c07410b59bafd606bd4f567a61355c4f15958 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期五, 03 十一月 2023 11:37:20 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS

---
 docs/swagger.yaml |  200 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 200 insertions(+), 0 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 96396c4..c318180 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -244,6 +244,10 @@
     type: object
   models.Location:
     properties:
+      children:
+        items:
+          $ref: '#/definitions/models.Location'
+        type: array
       companyId:
         description: 鍏徃id
         type: integer
@@ -552,6 +556,46 @@
         description: 鍏徃
         type: string
     type: object
+  models.ReorderRule:
+    properties:
+      amount:
+        description: 鍦ㄥ簱鏁伴噺
+        type: number
+      createTime:
+        type: string
+      id:
+        type: integer
+      location:
+        $ref: '#/definitions/models.Location'
+      locationId:
+        description: 浣嶇疆id
+        type: integer
+      maxInventory:
+        description: 鏈�澶у簱瀛�
+        type: number
+      minInventory:
+        description: 鏈�灏忓簱瀛�
+        type: number
+      orderNumber:
+        description: 璁㈣喘鏁伴噺
+        type: number
+      prediction:
+        description: 棰勬祴鏁伴噺
+        type: number
+      product:
+        $ref: '#/definitions/models.Material'
+      productId:
+        description: 浜у搧id
+        type: string
+      route:
+        description: 璺嚎
+        type: string
+      unit:
+        description: 鍗曚綅
+        type: string
+      updateTime:
+        type: string
+    type: object
   models.Warehouse:
     properties:
       active:
@@ -813,6 +857,13 @@
         description: 浜у搧id
         type: string
     type: object
+  request.GetAmountAndPrediction:
+    properties:
+      locationId:
+        type: integer
+      productId:
+        type: string
+    type: object
   request.GetInventoryForms:
     properties:
       categoryIds:
@@ -885,6 +936,22 @@
       pageSize:
         description: 姣忛〉澶у皬
         type: integer
+    type: object
+  request.GetReorderRuleList:
+    properties:
+      keyWord:
+        type: string
+      locationId:
+        type: integer
+      page:
+        description: 椤电爜
+        type: integer
+      pageSize:
+        description: 姣忛〉澶у皬
+        type: integer
+      type:
+        description: 绫诲瀷:bh=琛ヨ揣
+        type: string
     type: object
   request.GetRuleList:
     properties:
@@ -1215,6 +1282,10 @@
       amount:
         description: 鏁伴噺
         type: number
+      baseOperationType:
+        allOf:
+        - $ref: '#/definitions/constvar.BaseOperationType'
+        description: 鍩虹浣滀笟绫诲瀷
       contactedName:
         description: 瀹屾垚鑰�
         type: string
@@ -1637,6 +1708,25 @@
                   type: array
               type: object
       summary: 鑾峰彇浣嶇疆鍒楄〃
+      tags:
+      - 浣嶇疆
+  /api-wms/v1/location/getLocationTreeList:
+    get:
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/util.ResponseList'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/models.Location'
+                  type: array
+              type: object
+      summary: 鑾峰彇浣嶇疆鍒楄〃鏍�
       tags:
       - 浣嶇疆
   /api-wms/v1/location/updateLocation:
@@ -2383,6 +2473,116 @@
       summary: 淇敼浜у搧绫诲瀷
       tags:
       - 浜у搧绫诲瀷
+  /api-wms/v1/reorderRule/addReorderRule:
+    post:
+      parameters:
+      - description: 閲嶈璐ц鍒�
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/models.ReorderRule'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 娣诲姞閲嶈璐ц鍒�
+      tags:
+      - 閲嶈璐ц鍒�
+  /api-wms/v1/reorderRule/getAmountAndPrediction:
+    post:
+      parameters:
+      - description: 閲嶈璐ц鍒�
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.GetAmountAndPrediction'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/util.ResponseList'
+            - properties:
+                data:
+                  items:
+                    additionalProperties: true
+                    type: object
+                  type: array
+              type: object
+      summary: 鑾峰彇鍦ㄥ簱涓庨娴嬫暟閲�
+      tags:
+      - 閲嶈璐ц鍒�
+  /api-wms/v1/reorderRule/getReorderRuleList:
+    post:
+      parameters:
+      - description: 鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.GetReorderRuleList'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            allOf:
+            - $ref: '#/definitions/util.ResponseList'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/models.ReorderRule'
+                  type: array
+              type: object
+      summary: 鑾峰彇閲嶈璐ц鍒欏垪琛�
+      tags:
+      - 閲嶈璐ц鍒�
+  /api-wms/v1/reorderRule/orderAgain:
+    post:
+      parameters:
+      - description: 閲嶈璐ц鍒�
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/models.ReorderRule'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 鍐嶈涓�娆�
+      tags:
+      - 閲嶈璐ц鍒�
+  /api-wms/v1/reorderRule/updateReorderRule:
+    post:
+      parameters:
+      - description: 閲嶈璐ц鍒�
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/models.ReorderRule'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎴愬姛
+          schema:
+            $ref: '#/definitions/util.Response'
+      summary: 鏇存柊閲嶈璐ц鍒�
+      tags:
+      - 閲嶈璐ц鍒�
   /api-wms/v1/warehouse/getWarehouseDetails/{id}:
     get:
       parameters:

--
Gitblit v1.8.0