liujiandao
2023-10-31 307c699810c39714e82efac9de56f70b93a718a2
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() {