From 2d911d76bffda47005f8a30eb8f3719316bf43c9 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 26 六月 2024 16:29:47 +0800
Subject: [PATCH] update doc

---
 docs/docs.go | 1070 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 994 insertions(+), 76 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 16ef563..4ef8f28 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1,5 +1,4 @@
-// Code generated by swaggo/swag. DO NOT EDIT.
-
+// Package docs Code generated by swaggo/swag. DO NOT EDIT
 package docs
 
 import "github.com/swaggo/swag"
@@ -156,6 +155,286 @@
                     "闄勪欢绠$悊"
                 ],
                 "summary": "涓婁紶闄勪欢",
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attribute/attribute": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "灞炴�у�煎拰瀵硅薄"
+                ],
+                "summary": "娣诲姞灞炴�у�煎拰瀵硅薄",
+                "parameters": [
+                    {
+                        "description": "灞炴�у�煎拰瀵硅薄淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AttributeList"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            },
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "灞炴��"
+                ],
+                "summary": "娣诲姞灞炴��",
+                "parameters": [
+                    {
+                        "description": "灞炴�т俊鎭�",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddAttribute"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attribute/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "灞炴��"
+                ],
+                "summary": "鍒犻櫎灞炴��",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "灞炴�d",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attribute/primary/{id}": {
+            "get": {
+                "tags": [
+                    "灞炴�у�煎拰瀵硅薄"
+                ],
+                "summary": "鏌ヨ灞炴�у�煎拰瀵硅薄 閫氳繃涓婚敭ID鏌ヨ",
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attribute/updateAttribute/{id}": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "灞炴��"
+                ],
+                "summary": "缂栬緫灞炴��",
+                "parameters": [
+                    {
+                        "description": "灞炴�т俊鎭�",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateAttribute"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "灞炴�d",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attributeValue/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "灞炴�у�煎拰瀵硅薄"
+                ],
+                "summary": "娣诲姞灞炴�у�煎拰瀵硅薄",
+                "parameters": [
+                    {
+                        "description": "灞炴�у�煎拰瀵硅薄淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddAttributeValue"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attributeValue/delete/{id}": {
+            "delete": {
+                "tags": [
+                    "灞炴�у�煎拰瀵硅薄"
+                ],
+                "summary": "鍒犻櫎灞炴�у�煎拰瀵硅薄",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "id",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attributeValue/list": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "灞炴�у�煎拰瀵硅薄"
+                ],
+                "summary": "鏌ヨ灞炴�у�煎拰瀵硅薄 鍒嗛〉鏉′欢绛涢�塚alue like '%v%' 妯$硦鏌ヨ",
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attributeValue/primary/{id}": {
+            "get": {
+                "tags": [
+                    "灞炴�у�煎拰瀵硅薄"
+                ],
+                "summary": "鏌ヨ灞炴�у�煎拰瀵硅薄 閫氳繃涓婚敭ID鏌ヨ",
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/attributeValue/update": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "灞炴�у�煎拰瀵硅薄"
+                ],
+                "summary": "鏇存柊灞炴�у�煎拰瀵硅薄",
+                "parameters": [
+                    {
+                        "description": "灞炴�у�煎拰瀵硅薄淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateAttributeValue"
+                        }
+                    }
+                ],
                 "responses": {
                     "200": {
                         "description": "鎴愬姛",
@@ -468,7 +747,7 @@
                 }
             }
         },
-        "/api-wms/v1/forms/getHistory": {
+        "/api-wms/v1/forms/downloadHistory": {
             "post": {
                 "produces": [
                     "application/json"
@@ -476,8 +755,15 @@
                 "tags": [
                     "鎶ヨ〃"
                 ],
-                "summary": "鑾峰彇鍘嗗彶淇℃伅",
+                "summary": "涓嬭浇鍑哄叆搴撴槑缁嗘姤琛�",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
                     {
                         "description": "鏌ヨ鍙傛暟",
                         "name": "object",
@@ -502,7 +788,215 @@
                                         "data": {
                                             "type": "array",
                                             "items": {
-                                                "$ref": "#/definitions/response.InventoryHistory"
+                                                "$ref": "#/definitions/models.MoveHistory"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/forms/downloadInventoryForms": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鎶ヨ〃"
+                ],
+                "summary": "涓嬭浇搴撳瓨鎶ヨ〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetInventoryForms"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/response.InventoryForms"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/forms/downloadLocationForms": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鎶ヨ〃"
+                ],
+                "summary": "涓嬭浇浣嶇疆鎶ヨ〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetLocationForms"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/response.LocationForms"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/forms/downloadMonthStats": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鎶ヨ〃"
+                ],
+                "summary": "涓嬭浇鏈堝害缁熻搴撳瓨鎶ヨ〃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetMonthStats"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.MonthStats"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/forms/getHistory": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鎶ヨ〃"
+                ],
+                "summary": "鑾峰彇鍑哄叆搴撴槑缁�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetInventoryHistory"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.MoveHistory"
                                             }
                                         }
                                     }
@@ -523,6 +1017,13 @@
                 ],
                 "summary": "鑾峰彇搴撳瓨鎶ヨ〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
                     {
                         "description": "鏌ヨ鍙傛暟",
                         "name": "object",
@@ -568,6 +1069,13 @@
                 ],
                 "summary": "鑾峰彇浣嶇疆鎶ヨ〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
                     {
                         "description": "鏌ヨ鍙傛暟",
                         "name": "object",
@@ -1632,6 +2140,7 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "description": "鍏抽敭瀛楁悳绱�",
                         "name": "keyword",
                         "in": "query"
                     },
@@ -1645,6 +2154,12 @@
                         "type": "integer",
                         "description": "姣忛〉澶у皬",
                         "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "浠撳簱id",
+                        "name": "warehouseId",
                         "in": "query"
                     }
                 ],
@@ -1875,12 +2390,40 @@
                 "tags": [
                     "浜у搧"
                 ],
-                "summary": "鍒犻櫎浜у搧",
+                "summary": "閫氳繃浜у搧/鍟嗗搧/鐗╂枡 ID鍒犻櫎浜у搧",
                 "parameters": [
                     {
                         "type": "string",
                         "description": "id",
                         "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/product/deleteProductByBarCode/{barCode}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浜у搧"
+                ],
+                "summary": "閫氳繃浜у搧/鍟嗗搧/鐗╂枡 鏉″舰鐮佸垹闄や骇鍝�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "barCode",
+                        "name": "barCode",
                         "in": "path",
                         "required": true
                     }
@@ -2044,12 +2587,66 @@
                 "tags": [
                     "浜у搧"
                 ],
-                "summary": "鑾峰彇浜у搧璇︽儏",
+                "summary": "閫氳繃浜у搧/鍟嗗搧/鐗╂枡 ID鑾峰彇浜у搧璇︽儏",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
                     {
                         "type": "string",
                         "description": "id",
                         "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/models.Material"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/product/getProductDetailsByBarCode/{barCode}": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浜у搧"
+                ],
+                "summary": "閫氳繃浜у搧/鍟嗗搧/鐗╂枡 鏉″舰鐮� 鑾峰彇浜у搧璇︽儏",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "barCode",
+                        "name": "barCode",
                         "in": "path",
                         "required": true
                     }
@@ -2182,6 +2779,44 @@
                                     }
                                 }
                             ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/product/inputProduct": {
+            "post": {
+                "consumes": [
+                    "multipart/form-data"
+                ],
+                "produces": [
+                    "application/xlsx"
+                ],
+                "tags": [
+                    "鐗╂枡绠$悊"
+                ],
+                "summary": "瀵煎叆鐗╂枡",
+                "parameters": [
+                    {
+                        "type": "file",
+                        "description": "file",
+                        "name": "file",
+                        "in": "formData",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
                         }
                     }
                 }
@@ -2924,6 +3559,21 @@
                 "CostingMethodAverageCost"
             ]
         },
+        "constvar.FileTemplateCategory": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "FileTemplateCategory_Output": "鍑哄簱",
+                "FileTemplateCategory_Selfmade": "鍏ュ簱-鑷埗"
+            },
+            "x-enum-varnames": [
+                "FileTemplateCategory_Selfmade",
+                "FileTemplateCategory_Output"
+            ]
+        },
         "constvar.FileType": {
             "type": "string",
             "enum": [
@@ -3216,6 +3866,18 @@
                 "ReservationNever"
             ]
         },
+        "gorm.DeletedAt": {
+            "type": "object",
+            "properties": {
+                "time": {
+                    "type": "string"
+                },
+                "valid": {
+                    "description": "Valid is true if Time is not NULL",
+                    "type": "boolean"
+                }
+            }
+        },
         "inventory_order.WorkerInfo": {
             "type": "object",
             "properties": {
@@ -3244,6 +3906,46 @@
                 },
                 "id": {
                     "type": "integer"
+                }
+            }
+        },
+        "models.Attribute": {
+            "type": "object",
+            "properties": {
+                "createdAt": {
+                    "type": "string"
+                },
+                "dataType": {
+                    "description": "鍊肩被鍨嬶紙1瀛楃涓� 2 int 3 涓嬫媺妗� 锛�",
+                    "type": "integer"
+                },
+                "deletedAt": {
+                    "$ref": "#/definitions/gorm.DeletedAt"
+                },
+                "entityType": {
+                    "description": "缁欒皝鐢ㄧ殑 1 鐗╂枡锛堜骇鍝侊級",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "灞炴�у悕绉�",
+                    "type": "string"
+                },
+                "selectValues": {
+                    "description": "dateType=3鏃剁敤",
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                },
+                "updatedAt": {
+                    "type": "string"
+                },
+                "value": {
+                    "description": "浠嶢ttributeValue鍙栧埌鐨剉alue",
+                    "type": "string"
                 }
             }
         },
@@ -3485,8 +4187,19 @@
                         "$ref": "#/definitions/models.Attachment"
                     }
                 },
+                "attributes": {
+                    "description": "鍔ㄦ�佸睘鎬�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.Attribute"
+                    }
+                },
                 "autoIncr": {
                     "type": "integer"
+                },
+                "barCode": {
+                    "description": "鍒涘缓浜�",
+                    "type": "string"
                 },
                 "barcode": {
                     "description": "鏉$爜",
@@ -3531,6 +4244,10 @@
                 "cost": {
                     "description": "鎴愭湰",
                     "type": "number"
+                },
+                "createBy": {
+                    "description": "鍒涘缓浜�",
+                    "type": "string"
                 },
                 "currencyName": {
                     "description": "甯佺鍚嶇О",
@@ -3822,6 +4539,84 @@
                 }
             }
         },
+        "models.MoveHistory": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "鏁伴噺",
+                    "type": "number"
+                },
+                "baseOperationType": {
+                    "description": "鍩虹浣滀笟绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.BaseOperationType"
+                        }
+                    ]
+                },
+                "createTime": {
+                    "type": "string"
+                },
+                "fromLocation": {
+                    "description": "婧愪綅缃�",
+                    "type": "string"
+                },
+                "fromLocationId": {
+                    "description": "婧愪綅缃甶d",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "number": {
+                    "description": "鍗曞彿",
+                    "type": "string"
+                },
+                "operationId": {
+                    "description": "鎿嶄綔id",
+                    "type": "integer"
+                },
+                "operationTypeId": {
+                    "description": "浣滀笟绫诲瀷id",
+                    "type": "integer"
+                },
+                "operationTypeName": {
+                    "description": "浣滀笟绫诲瀷鍚嶇О",
+                    "type": "string"
+                },
+                "operator": {
+                    "description": "鎿嶄綔鑰�",
+                    "type": "string"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "string"
+                },
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
+                },
+                "toLocation": {
+                    "description": "鐩爣浣嶇疆",
+                    "type": "string"
+                },
+                "toLocationId": {
+                    "description": "鐩爣浣嶇疆id",
+                    "type": "integer"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
+                },
+                "updateTime": {
+                    "type": "string"
+                },
+                "weight": {
+                    "description": "閲嶉噺",
+                    "type": "number"
+                }
+            }
+        },
         "models.Operation": {
             "type": "object",
             "properties": {
@@ -3842,6 +4637,9 @@
                         }
                     ]
                 },
+                "checkedBy": {
+                    "type": "string"
+                },
                 "comment": {
                     "type": "string"
                 },
@@ -3855,6 +4653,9 @@
                     "type": "integer"
                 },
                 "contacterName": {
+                    "type": "string"
+                },
+                "createBy": {
                     "type": "string"
                 },
                 "createTime": {
@@ -3874,6 +4675,10 @@
                 },
                 "id": {
                     "type": "integer"
+                },
+                "isInternalOutput": {
+                    "description": "鏄惁璋冩嫧浜х敓鐨勫嚭搴�",
+                    "type": "boolean"
                 },
                 "location": {
                     "description": "婧愪綅缃�",
@@ -3936,6 +4741,9 @@
                 "receiverPhone": {
                     "type": "string"
                 },
+                "remark": {
+                    "type": "string"
+                },
                 "salesDetailsNumber": {
                     "type": "string"
                 },
@@ -3992,6 +4800,10 @@
                 "auxiliaryUnit": {
                     "type": "string"
                 },
+                "cost": {
+                    "description": "鎴愭湰鍗曚环",
+                    "type": "number"
+                },
                 "createTime": {
                     "type": "string"
                 },
@@ -4010,6 +4822,10 @@
                 "id": {
                     "type": "integer"
                 },
+                "isInternalOutput": {
+                    "description": "鏄惁璋冩嫧浜х敓鐨勫嚭搴�",
+                    "type": "boolean"
+                },
                 "operationId": {
                     "description": "鎿嶄綔id",
                     "type": "integer"
@@ -4025,6 +4841,13 @@
                 "productId": {
                     "description": "浜у搧id",
                     "type": "string"
+                },
+                "remark": {
+                    "type": "string"
+                },
+                "salePrice": {
+                    "description": "閿�鍞崟浠�",
+                    "type": "number"
                 },
                 "toLocation": {
                     "description": "鐩爣浣嶇疆",
@@ -4184,6 +5007,7 @@
                     "type": "number"
                 },
                 "floating": {
+                    "description": "鏄惁娴姩鍒╃巼",
                     "type": "boolean"
                 },
                 "unit": {
@@ -4222,6 +5046,12 @@
                 },
                 "createTime": {
                     "type": "string"
+                },
+                "fileTemplateCategoryIn": {
+                    "$ref": "#/definitions/constvar.FileTemplateCategory"
+                },
+                "fileTemplateCategoryOut": {
+                    "$ref": "#/definitions/constvar.FileTemplateCategory"
                 },
                 "id": {
                     "type": "integer"
@@ -4265,6 +5095,43 @@
                 },
                 "warehouseLocation": {
                     "description": "搴撳瓨浣嶇疆",
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddAttribute": {
+            "type": "object",
+            "properties": {
+                "dataType": {
+                    "description": "鍊肩被鍨嬶紙1瀛楃涓� 2 int 3 涓嬫媺妗� 锛�",
+                    "type": "integer"
+                },
+                "entityType": {
+                    "description": "缁欒皝鐢ㄧ殑 1 鐗╂枡锛堜骇鍝侊級",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "灞炴�у悕绉�",
+                    "type": "string"
+                },
+                "selectValues": {
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                }
+            }
+        },
+        "request.AddAttributeValue": {
+            "type": "object",
+            "properties": {
+                "attributeId": {
+                    "type": "integer"
+                },
+                "entityId": {
+                    "type": "string"
+                },
+                "value": {
                     "type": "string"
                 }
             }
@@ -4598,6 +5465,25 @@
                 }
             }
         },
+        "request.AttributeList": {
+            "type": "object",
+            "properties": {
+                "entityType": {
+                    "type": "integer"
+                },
+                "keyword": {
+                    "type": "string"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                }
+            }
+        },
         "request.DoMonthStats": {
             "type": "object",
             "properties": {
@@ -4869,12 +5755,24 @@
                 "condition": {
                     "type": "string"
                 },
+                "keyword": {
+                    "description": "鍏抽敭瀛楁悳绱�",
+                    "type": "string"
+                },
+                "locationId": {
+                    "description": "浣嶇疆ID",
+                    "type": "integer"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
                 },
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "warehouseId": {
+                    "description": "浠撳簱ID",
                     "type": "integer"
                 }
             }
@@ -4898,6 +5796,10 @@
                     "description": "杈呭姪鍗曚綅",
                     "type": "string"
                 },
+                "cost": {
+                    "description": "鎴愭湰鍗曚环",
+                    "type": "number"
+                },
                 "fromLocationId": {
                     "description": "Unit        string          ` + "`" + `json:\"unit\" gorm:\"type:varchar(31);comment:鍗曚綅\"` + "`" + `                    //鍗曚綅\nProduct models.Material ` + "`" + `json:\"product\" gorm:\"foreignKey:ProductId;references:ID\"` + "`" + `",
                     "type": "integer"
@@ -4905,6 +5807,13 @@
                 "productId": {
                     "description": "浜у搧id",
                     "type": "string"
+                },
+                "remark": {
+                    "type": "string"
+                },
+                "salePrice": {
+                    "description": "閿�鍞崟浠�",
+                    "type": "number"
                 },
                 "toLocationId": {
                     "description": "鐩爣浣嶇疆id",
@@ -5024,6 +5933,49 @@
                     "type": "boolean"
                 },
                 "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateAttribute": {
+            "type": "object",
+            "properties": {
+                "dataType": {
+                    "description": "鍊肩被鍨嬶紙1瀛楃涓� 2 int 3 涓嬫媺妗� 锛�",
+                    "type": "integer"
+                },
+                "entityType": {
+                    "description": "缁欒皝鐢ㄧ殑 1 鐗╂枡锛堜骇鍝侊級",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "灞炴�у悕绉�",
+                    "type": "string"
+                },
+                "selectValues": {
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                }
+            }
+        },
+        "request.UpdateAttributeValue": {
+            "type": "object",
+            "properties": {
+                "attributeId": {
+                    "type": "integer"
+                },
+                "entityId": {
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "value": {
                     "type": "string"
                 }
             }
@@ -5367,9 +6319,23 @@
                     "description": "鍦ㄥ簱鏁伴噺",
                     "type": "number"
                 },
+                "amountMoreUnits": {
+                    "description": "鍦ㄥ簱鏁伴噺澶氬崟浣�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.UnitItems"
+                    }
+                },
                 "availableNumber": {
                     "description": "鍙敤搴撳瓨",
                     "type": "number"
+                },
+                "availableNumberMoreUnits": {
+                    "description": "鍙敤搴撳瓨澶氬崟浣�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.UnitItems"
+                    }
                 },
                 "cost": {
                     "description": "鎴愭湰",
@@ -5379,9 +6345,23 @@
                     "description": "鍏ュ簱",
                     "type": "number"
                 },
+                "inMoreUnits": {
+                    "description": "鍏ュ簱澶氬崟浣�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.UnitItems"
+                    }
+                },
                 "out": {
                     "description": "鍑哄簱",
                     "type": "number"
+                },
+                "outMoreUnits": {
+                    "description": "鍑哄簱澶氬崟浣�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.UnitItems"
+                    }
                 },
                 "produceId": {
                     "description": "浜у搧id",
@@ -5405,75 +6385,6 @@
                 }
             }
         },
-        "response.InventoryHistory": {
-            "type": "object",
-            "properties": {
-                "amount": {
-                    "description": "鏁伴噺",
-                    "type": "number"
-                },
-                "baseOperationType": {
-                    "description": "鍩虹浣滀笟绫诲瀷",
-                    "allOf": [
-                        {
-                            "$ref": "#/definitions/constvar.BaseOperationType"
-                        }
-                    ]
-                },
-                "contactedName": {
-                    "description": "瀹屾垚鑰�",
-                    "type": "string"
-                },
-                "date": {
-                    "description": "鏃ユ湡",
-                    "type": "string"
-                },
-                "fromLocation": {
-                    "description": "婧愪綅缃�",
-                    "type": "string"
-                },
-                "fromLocationId": {
-                    "type": "integer"
-                },
-                "number": {
-                    "description": "鍗曞彿",
-                    "type": "string"
-                },
-                "operationId": {
-                    "type": "integer"
-                },
-                "operationTypeName": {
-                    "description": "浣滀笟绫诲瀷鍚嶇О",
-                    "type": "string"
-                },
-                "productId": {
-                    "type": "string"
-                },
-                "productName": {
-                    "description": "浜у搧鍚嶇О",
-                    "type": "string"
-                },
-                "status": {
-                    "description": "鐘舵��",
-                    "type": "string"
-                },
-                "toLocation": {
-                    "description": "鐩爣浣嶇疆",
-                    "type": "string"
-                },
-                "toLocationId": {
-                    "type": "integer"
-                },
-                "unit": {
-                    "description": "鍗曚綅",
-                    "type": "string"
-                },
-                "weight": {
-                    "description": "閲嶉噺",
-                    "type": "number"
-                }
-            }
-        },
         "response.LocationForms": {
             "type": "object",
             "properties": {
@@ -5481,6 +6392,13 @@
                     "description": "鏁伴噺",
                     "type": "number"
                 },
+                "amountMoreUnits": {
+                    "description": "鍦ㄥ簱鏁伴噺澶氬崟浣�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.UnitItems"
+                    }
+                },
                 "locationId": {
                     "description": "浣嶇疆id",
                     "type": "integer"

--
Gitblit v1.8.0