From 307c699810c39714e82efac9de56f70b93a718a2 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 31 十月 2023 11:54:23 +0800
Subject: [PATCH] 重订货规则开发

---
 docs/docs.go |  274 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 274 insertions(+), 0 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 56f55bb..58d7d71 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1770,6 +1770,187 @@
                 }
             }
         },
+        "/api-wms/v1/reorderRule/addReorderRule": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閲嶈璐ц鍒�"
+                ],
+                "summary": "娣诲姞閲嶈璐ц鍒�",
+                "parameters": [
+                    {
+                        "description": "閲嶈璐ц鍒�",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/models.ReorderRule"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/reorderRule/getAmountAndPrediction": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閲嶈璐ц鍒�"
+                ],
+                "summary": "鑾峰彇鍦ㄥ簱涓庨娴嬫暟閲�",
+                "parameters": [
+                    {
+                        "description": "閲嶈璐ц鍒�",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetAmountAndPrediction"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "type": "object",
+                                                "additionalProperties": true
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/reorderRule/getReorderRuleList": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閲嶈璐ц鍒�"
+                ],
+                "summary": "鑾峰彇閲嶈璐ц鍒欏垪琛�",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetReorderRuleList"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.ReorderRule"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/reorderRule/orderAgain": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閲嶈璐ц鍒�"
+                ],
+                "summary": "鍐嶈涓�娆�",
+                "parameters": [
+                    {
+                        "description": "閲嶈璐ц鍒�",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/models.ReorderRule"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/reorderRule/updateReorderRule": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閲嶈璐ц鍒�"
+                ],
+                "summary": "鏇存柊閲嶈璐ц鍒�",
+                "parameters": [
+                    {
+                        "description": "閲嶈璐ц鍒�",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/models.ReorderRule"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/warehouse/getWarehouseDetails/{id}": {
             "get": {
                 "produces": [
@@ -2688,6 +2869,62 @@
                 }
             }
         },
+        "models.ReorderRule": {
+            "type": "object",
+            "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"
+                }
+            }
+        },
         "models.Warehouse": {
             "type": "object",
             "required": [
@@ -3055,6 +3292,17 @@
                 }
             }
         },
+        "request.GetAmountAndPrediction": {
+            "type": "object",
+            "properties": {
+                "locationId": {
+                    "type": "integer"
+                },
+                "productId": {
+                    "type": "string"
+                }
+            }
+        },
         "request.GetInventoryForms": {
             "type": "object",
             "properties": {
@@ -3148,6 +3396,22 @@
                 "categoryId": {
                     "type": "integer"
                 },
+                "keyWord": {
+                    "type": "string"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                }
+            }
+        },
+        "request.GetReorderRuleList": {
+            "type": "object",
+            "properties": {
                 "keyWord": {
                     "type": "string"
                 },
@@ -3630,6 +3894,14 @@
                     "description": "鏁伴噺",
                     "type": "number"
                 },
+                "baseOperationType": {
+                    "description": "鍩虹浣滀笟绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.BaseOperationType"
+                        }
+                    ]
+                },
                 "contactedName": {
                     "description": "瀹屾垚鑰�",
                     "type": "string"
@@ -3762,6 +4034,8 @@
 	Description:      "",
 	InfoInstanceName: "swagger",
 	SwaggerTemplate:  docTemplate,
+	LeftDelim:        "{{",
+	RightDelim:       "}}",
 }
 
 func init() {

--
Gitblit v1.8.0