From 2716487d13f3521adeb25a48aa07a89f885d32c7 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期一, 09 十月 2023 09:36:08 +0800
Subject: [PATCH] 仓库功能修改

---
 docs/docs.go |  103 +++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 91 insertions(+), 12 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index ce8cdb9..d00b1a0 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -780,6 +780,51 @@
                 }
             }
         },
+        "/api-wms/v1/locationProductAmount/getRuleList": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "搴撳瓨鐩樼偣"
+                ],
+                "summary": "鑾峰彇涓婃灦瑙勫垯",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetRuleList"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/response.RuleList"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/locationProductAmount/list": {
             "post": {
                 "produces": [
@@ -3071,6 +3116,19 @@
                 }
             }
         },
+        "request.GetRuleList": {
+            "type": "object",
+            "properties": {
+                "locationId": {
+                    "description": "浣嶇疆id",
+                    "type": "integer"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "string"
+                }
+            }
+        },
         "request.OperationAllList": {
             "type": "object",
             "properties": {
@@ -3288,12 +3346,12 @@
         "request.UpdateLocationProductAmount": {
             "type": "object",
             "properties": {
-                "Amount": {
-                    "description": "搴撳瓨鏁伴噺",
-                    "type": "number"
-                },
                 "adjustAmount": {
                     "description": "LocationProductAmountId int             ` + "`" + `json:\"locationProductAmountId\"` + "`" + ` //搴撳瓨鐩樼偣id",
+                    "type": "number"
+                },
+                "amount": {
+                    "description": "搴撳瓨鏁伴噺",
                     "type": "number"
                 },
                 "differenceAmount": {
@@ -3512,14 +3570,6 @@
                     "description": "鏁伴噺",
                     "type": "number"
                 },
-                "baseOperationType": {
-                    "description": "鍩虹浣滀笟绫诲瀷",
-                    "allOf": [
-                        {
-                            "$ref": "#/definitions/constvar.BaseOperationType"
-                        }
-                    ]
-                },
                 "contactedName": {
                     "description": "瀹屾垚鑰�",
                     "type": "string"
@@ -3534,6 +3584,14 @@
                 },
                 "number": {
                     "description": "鍗曞彿",
+                    "type": "string"
+                },
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
+                },
+                "status": {
+                    "description": "鐘舵��",
                     "type": "string"
                 },
                 "toLocation": {
@@ -3576,6 +3634,25 @@
                 "value": {
                     "description": "鎬讳环鍊�",
                     "type": "number"
+                }
+            }
+        },
+        "response.RuleList": {
+            "type": "object",
+            "properties": {
+                "locationList": {
+                    "description": "浣嶇疆鍒楄〃",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.Location"
+                    }
+                },
+                "productList": {
+                    "description": "浜у搧鍒楄〃",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.Material"
+                    }
                 }
             }
         },
@@ -3625,6 +3702,8 @@
 	Description:      "",
 	InfoInstanceName: "swagger",
 	SwaggerTemplate:  docTemplate,
+	LeftDelim:        "{{",
+	RightDelim:       "}}",
 }
 
 func init() {

--
Gitblit v1.8.0