From 9c7551a7a752c07db11b0fd23bfba8da1ad062e0 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 21 六月 2024 20:39:12 +0800
Subject: [PATCH] fix 404

---
 docs/docs.go |  478 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 475 insertions(+), 3 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 3556fb5..a30715f 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -166,6 +166,251 @@
                 }
             }
         },
+        "/api-wms/v1/attribute/attribute": {
+            "post": {
+                "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"
+                        }
+                    }
+                }
+            }
+        },
+        "/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": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/code/getAutoCode": {
             "post": {
                 "produces": [
@@ -1861,6 +2106,7 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "description": "鍏抽敭瀛楁悳绱�",
                         "name": "keyword",
                         "in": "query"
                     },
@@ -1874,6 +2120,12 @@
                         "type": "integer",
                         "description": "姣忛〉澶у皬",
                         "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "浠撳簱id",
+                        "name": "warehouseId",
                         "in": "query"
                     }
                 ],
@@ -2411,6 +2663,25 @@
                                     }
                                 }
                             ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/product/inputProduct": {
+            "post": {
+                "produces": [
+                    "application/xlsx"
+                ],
+                "tags": [
+                    "鐗╂枡绠$悊"
+                ],
+                "summary": "瀵煎叆鐗╂枡",
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
                         }
                     }
                 }
@@ -3445,6 +3716,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": {
@@ -3473,6 +3756,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"
                 }
             }
         },
@@ -3714,6 +4037,13 @@
                         "$ref": "#/definitions/models.Attachment"
                     }
                 },
+                "attributes": {
+                    "description": "鍔ㄦ�佸睘鎬�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.Attribute"
+                    }
+                },
                 "autoIncr": {
                     "type": "integer"
                 },
@@ -3760,6 +4090,10 @@
                 "cost": {
                     "description": "鎴愭湰",
                     "type": "number"
+                },
+                "createBy": {
+                    "description": "鍒涘缓浜�",
+                    "type": "string"
                 },
                 "currencyName": {
                     "description": "甯佺鍚嶇О",
@@ -4149,9 +4483,6 @@
                         }
                     ]
                 },
-                "checkedAt": {
-                    "type": "string"
-                },
                 "checkedBy": {
                     "type": "string"
                 },
@@ -4190,6 +4521,10 @@
                 },
                 "id": {
                     "type": "integer"
+                },
+                "isInternalOutput": {
+                    "description": "鏄惁璋冩嫧浜х敓鐨勫嚭搴�",
+                    "type": "boolean"
                 },
                 "location": {
                     "description": "婧愪綅缃�",
@@ -4308,6 +4643,10 @@
                 "auxiliaryUnit": {
                     "type": "string"
                 },
+                "cost": {
+                    "description": "鎴愭湰鍗曚环",
+                    "type": "number"
+                },
                 "createTime": {
                     "type": "string"
                 },
@@ -4326,6 +4665,10 @@
                 "id": {
                     "type": "integer"
                 },
+                "isInternalOutput": {
+                    "description": "鏄惁璋冩嫧浜х敓鐨勫嚭搴�",
+                    "type": "boolean"
+                },
                 "operationId": {
                     "description": "鎿嶄綔id",
                     "type": "integer"
@@ -4341,6 +4684,13 @@
                 "productId": {
                     "description": "浜у搧id",
                     "type": "string"
+                },
+                "remark": {
+                    "type": "string"
+                },
+                "salePrice": {
+                    "description": "閿�鍞崟浠�",
+                    "type": "number"
                 },
                 "toLocation": {
                     "description": "鐩爣浣嶇疆",
@@ -4582,6 +4932,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"
                 }
             }
@@ -4915,6 +5302,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": {
@@ -5186,12 +5592,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"
                 }
             }
@@ -5215,6 +5633,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"
@@ -5222,6 +5644,13 @@
                 "productId": {
                     "description": "浜у搧id",
                     "type": "string"
+                },
+                "remark": {
+                    "type": "string"
+                },
+                "salePrice": {
+                    "description": "閿�鍞崟浠�",
+                    "type": "number"
                 },
                 "toLocationId": {
                     "description": "鐩爣浣嶇疆id",
@@ -5345,6 +5774,49 @@
                 }
             }
         },
+        "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"
+                }
+            }
+        },
         "request.UpdateCompany": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0