From 216c9e49dafdb7a5bd025f6d6fa899a33befc38c Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 17 四月 2024 10:33:01 +0800
Subject: [PATCH] 产品添加字段

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

diff --git a/docs/docs.go b/docs/docs.go
index b81598e..a9b4d8d 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -936,6 +936,48 @@
                 }
             }
         },
+        "/api-wms/v1/locationProductAmount/getLocationProductAmount": {
+            "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.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/models.LocationProductAmount"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/locationProductAmount/getRuleList": {
             "post": {
                 "produces": [
@@ -1173,6 +1215,51 @@
                         "description": "鎴愬姛",
                         "schema": {
                             "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/operation/getPersonnelList": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍏ュ簱/鍑哄簱"
+                ],
+                "summary": "鑾峰彇浜哄憳鍒楄〃",
+                "parameters": [
+                    {
+                        "description": "鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.OperationCondition"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/inventory_order.WorkerInfo"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
@@ -3025,6 +3112,17 @@
                 "ReservationNever"
             ]
         },
+        "inventory_order.WorkerInfo": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "models.Attachment": {
             "type": "object",
             "properties": {
@@ -3190,6 +3288,49 @@
                 "warehouseId": {
                     "description": "浠撳簱ID",
                     "type": "integer"
+                }
+            }
+        },
+        "models.LocationProductAmount": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "搴撳瓨鏁伴噺",
+                    "type": "number"
+                },
+                "createDate": {
+                    "description": "鏃ユ湡",
+                    "type": "string"
+                },
+                "createTime": {
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "location": {
+                    "$ref": "#/definitions/models.Location"
+                },
+                "locationId": {
+                    "description": "LocationProductId int             ` + "`" + `json:\"locationProductId\" gorm:\"type:int;not null;comment:涓婃灦瑙勫垯id\"` + "`" + ` //涓婃灦瑙勫垯id\nLocationProduct   LocationProduct ` + "`" + `json:\"locationProduct\" gorm:\"foreignKey:LocationProductId;references:Id\"` + "`" + `",
+                    "type": "integer"
+                },
+                "product": {
+                    "$ref": "#/definitions/models.Material"
+                },
+                "productCategory": {
+                    "$ref": "#/definitions/models.ProductCategory"
+                },
+                "productCategoryId": {
+                    "description": "浜у搧绉嶇被id",
+                    "type": "integer"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "string"
+                },
+                "updateTime": {
+                    "type": "string"
                 }
             }
         },
@@ -3481,6 +3622,12 @@
         "models.Operation": {
             "type": "object",
             "properties": {
+                "accountant": {
+                    "type": "string"
+                },
+                "accountantId": {
+                    "type": "string"
+                },
                 "auditDate": {
                     "type": "string"
                 },
@@ -3508,6 +3655,12 @@
                     "type": "string"
                 },
                 "createTime": {
+                    "type": "string"
+                },
+                "custodian": {
+                    "type": "string"
+                },
+                "custodianId": {
                     "type": "string"
                 },
                 "details": {
@@ -3540,6 +3693,12 @@
                 "logisticWeight": {
                     "description": "鐗╂祦閲嶉噺",
                     "type": "number"
+                },
+                "manager": {
+                    "type": "string"
+                },
+                "managerId": {
+                    "type": "string"
                 },
                 "number": {
                     "description": "鍗曞彿",
@@ -3968,6 +4127,12 @@
         "request.AddOperation": {
             "type": "object",
             "properties": {
+                "accountant": {
+                    "type": "string"
+                },
+                "accountantId": {
+                    "type": "string"
+                },
                 "comment": {
                     "description": "澶囨敞",
                     "type": "string"
@@ -3986,6 +4151,12 @@
                 },
                 "contacterName": {
                     "description": "鑱旂郴浜哄鍚�-闈炲繀濉�",
+                    "type": "string"
+                },
+                "custodian": {
+                    "type": "string"
+                },
+                "custodianId": {
                     "type": "string"
                 },
                 "details": {
@@ -4007,6 +4178,12 @@
                 "logisticWeight": {
                     "description": "鐗╂祦閲嶉噺",
                     "type": "number"
+                },
+                "manager": {
+                    "type": "string"
+                },
+                "managerId": {
+                    "type": "string"
                 },
                 "number": {
                     "description": "鍗曞彿",
@@ -4702,6 +4879,12 @@
         "request.UpdateOperation": {
             "type": "object",
             "properties": {
+                "accountant": {
+                    "type": "string"
+                },
+                "accountantId": {
+                    "type": "string"
+                },
                 "baseOperationType": {
                     "description": "鍩虹浣滀笟绫诲瀷",
                     "allOf": [
@@ -4730,6 +4913,12 @@
                     "description": "鑱旂郴浜哄鍚�-闈炲繀濉�",
                     "type": "string"
                 },
+                "custodian": {
+                    "type": "string"
+                },
+                "custodianId": {
+                    "type": "string"
+                },
                 "details": {
                     "type": "array",
                     "items": {
@@ -4750,6 +4939,12 @@
                     "description": "鐗╂祦閲嶉噺",
                     "type": "number"
                 },
+                "manager": {
+                    "type": "string"
+                },
+                "managerId": {
+                    "type": "string"
+                },
                 "number": {
                     "description": "鍗曞彿",
                     "type": "string"

--
Gitblit v1.8.0