From ea02a2a9a8219d44b103f0a31cf9fc81ff8495e1 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期六, 23 九月 2023 16:57:48 +0800
Subject: [PATCH] 产品列表添加类型名称

---
 docs/docs.go |  743 ++++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 523 insertions(+), 220 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index c19f52e..bce2dc6 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -294,6 +294,207 @@
                 }
             }
         },
+        "/api-wms/v1/location/addLocation": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浣嶇疆"
+                ],
+                "summary": "娣诲姞浣嶇疆淇℃伅",
+                "parameters": [
+                    {
+                        "description": "浣嶇疆淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/models.Location"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/location/deleteLocation/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浣嶇疆"
+                ],
+                "summary": "鍒犻櫎浣嶇疆",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "id",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/location/getLocationDetails/{id}": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浣嶇疆"
+                ],
+                "summary": "鑾峰彇浣嶇疆璇︽儏",
+                "parameters": [
+                    {
+                        "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.Location"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/location/getLocationList": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浣嶇疆"
+                ],
+                "summary": "鑾峰彇浣嶇疆鍒楄〃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetProductList"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.Location"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/location/updateLocation": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浣嶇疆"
+                ],
+                "summary": "淇敼浣嶇疆",
+                "parameters": [
+                    {
+                        "description": "浜у搧淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/models.Location"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/operation/finish/{id}": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍏ュ簱/鍑哄簱"
+                ],
+                "summary": "鏇存敼璁板綍鐘舵��",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "id",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/operation/operation": {
             "get": {
                 "consumes": [
@@ -411,6 +612,150 @@
                     {
                         "type": "integer",
                         "description": "id",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/operationType/operationType": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓氬姟绫诲瀷"
+                ],
+                "summary": "鏌ヨ浣滀笟绫诲瀷鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.OperationType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            },
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓氬姟绫诲瀷"
+                ],
+                "summary": "娣诲姞浣滀笟绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "浣滀笟绫诲瀷淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddOperationType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/operationType/operationType/{id}": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓氬姟绫诲瀷"
+                ],
+                "summary": "缂栬緫浣滀笟绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "浣滀笟绫诲瀷淇℃伅",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateOperationType"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "浣滀笟绫诲瀷id",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            },
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "涓氬姟绫诲瀷"
+                ],
+                "summary": "鍒犻櫎浣滀笟绫诲瀷",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "浣滀笟绫诲瀷id",
                         "name": "id",
                         "in": "path",
                         "required": true
@@ -772,32 +1117,22 @@
                 }
             }
         },
-        "/api-wms/v1/warehouse/operationType": {
+        "/api-wms/v1/warehouse/getWarehouseDetails/{id}": {
             "get": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
-                    "浣滀笟绫诲瀷"
+                    "浠撳簱"
                 ],
-                "summary": "鏌ヨ浣滀笟绫诲瀷鍒楄〃",
+                "summary": "鑾峰彇浠撳簱璇︽儏",
                 "parameters": [
                     {
                         "type": "string",
-                        "name": "keyword",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "椤电爜",
-                        "name": "page",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "姣忛〉澶у皬",
-                        "name": "pageSize",
-                        "in": "query"
+                        "description": "浠撳簱id",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
                     }
                 ],
                 "responses": {
@@ -806,16 +1141,13 @@
                         "schema": {
                             "allOf": [
                                 {
-                                    "$ref": "#/definitions/util.ResponseList"
+                                    "$ref": "#/definitions/util.Response"
                                 },
                                 {
                                     "type": "object",
                                     "properties": {
                                         "data": {
-                                            "type": "array",
-                                            "items": {
-                                                "$ref": "#/definitions/models.OperationType"
-                                            }
+                                            "$ref": "#/definitions/models.Warehouse"
                                         }
                                     }
                                 }
@@ -823,87 +1155,26 @@
                         }
                     }
                 }
-            },
+            }
+        },
+        "/api-wms/v1/warehouse/updateWarehouse": {
             "post": {
                 "produces": [
                     "application/json"
                 ],
                 "tags": [
-                    "浣滀笟绫诲瀷"
+                    "浠撳簱"
                 ],
-                "summary": "娣诲姞浣滀笟绫诲瀷",
+                "summary": "缂栬緫浠撳簱",
                 "parameters": [
                     {
-                        "description": "浣滀笟绫诲瀷淇℃伅",
+                        "description": "浠撳簱淇℃伅",
                         "name": "object",
                         "in": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/request.AddOperationType"
+                            "$ref": "#/definitions/models.Warehouse"
                         }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/util.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api-wms/v1/warehouse/operationType/{id}": {
-            "put": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "浣滀笟绫诲瀷"
-                ],
-                "summary": "缂栬緫浣滀笟绫诲瀷",
-                "parameters": [
-                    {
-                        "description": "浣滀笟绫诲瀷淇℃伅",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.UpdateOperationType"
-                        }
-                    },
-                    {
-                        "type": "string",
-                        "description": "浣滀笟绫诲瀷id",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/util.Response"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "浣滀笟绫诲瀷"
-                ],
-                "summary": "鍒犻櫎浣滀笟绫诲瀷",
-                "parameters": [
-                    {
-                        "type": "string",
-                        "description": "浣滀笟绫诲瀷id",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
                     }
                 ],
                 "responses": {
@@ -998,41 +1269,6 @@
             }
         },
         "/api-wms/v1/warehouse/warehouse/{id}": {
-            "put": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "浠撳簱"
-                ],
-                "summary": "缂栬緫浠撳簱",
-                "parameters": [
-                    {
-                        "description": "浠撳簱淇℃伅",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.UpdateWarehouse"
-                        }
-                    },
-                    {
-                        "type": "string",
-                        "description": "浠撳簱id",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/util.Response"
-                        }
-                    }
-                }
-            },
             "delete": {
                 "produces": [
                     "application/json"
@@ -1235,6 +1471,24 @@
                 "TaskAndObject"
             ]
         },
+        "constvar.ProductType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2,
+                3
+            ],
+            "x-enum-comments": {
+                "Consumables": "娑堣�楀搧",
+                "Server": "鏈嶅姟",
+                "StoredProduct": "鍙偍瀛樼殑浜у搧"
+            },
+            "x-enum-varnames": [
+                "Consumables",
+                "Server",
+                "StoredProduct"
+            ]
+        },
         "constvar.ReservationMethod": {
             "type": "integer",
             "enum": [
@@ -1330,14 +1584,6 @@
         "models.Location": {
             "type": "object",
             "properties": {
-                "company": {
-                    "description": "鍏徃",
-                    "allOf": [
-                        {
-                            "$ref": "#/definitions/models.Company"
-                        }
-                    ]
-                },
                 "companyId": {
                     "description": "鍏徃id",
                     "type": "integer"
@@ -1348,6 +1594,14 @@
                 },
                 "createTime": {
                     "type": "string"
+                },
+                "forceRemovalStrategy": {
+                    "description": "涓嬫灦绛栫暐",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.ForceRemovalStrategy"
+                        }
+                    ]
                 },
                 "id": {
                     "type": "integer"
@@ -1364,16 +1618,28 @@
                     "description": "浣嶇疆鍚嶇О",
                     "type": "string"
                 },
+                "nextCount": {
+                    "description": "涓嬫鐩樼偣",
+                    "type": "string"
+                },
+                "notes": {
+                    "description": "澶栭儴澶囨敞",
+                    "type": "string"
+                },
                 "parentId": {
                     "description": "涓婄骇id",
-                    "type": "integer"
+                    "type": "string"
+                },
+                "recentlyCount": {
+                    "description": "鏈�杩戠洏鐐�",
+                    "type": "string"
                 },
                 "replenishLocation": {
                     "description": "鏄惁琛ュ厖浣嶇疆",
                     "type": "boolean"
                 },
                 "type": {
-                    "description": "浣嶇疆绫诲瀷",
+                    "description": "Company              Company                       ` + "`" + `json:\"company\" gorm:\"foreignKey:CompanyId\"` + "`" + `                       //鍏徃",
                     "allOf": [
                         {
                             "$ref": "#/definitions/constvar.LocationType"
@@ -1388,10 +1654,8 @@
         "models.Material": {
             "type": "object",
             "properties": {
-                "HSCode": {
-                    "type": "string"
-                },
                 "amount": {
+                    "description": "鏁伴噺",
                     "type": "number"
                 },
                 "barcode": {
@@ -1399,6 +1663,7 @@
                     "type": "string"
                 },
                 "buyExplain": {
+                    "description": "閲囪喘璇存槑",
                     "type": "string"
                 },
                 "canBePurchased": {
@@ -1409,20 +1674,32 @@
                     "description": "浜у搧绫诲埆id",
                     "type": "integer"
                 },
+                "categoryName": {
+                    "description": "浜у搧绫诲埆鍚嶇О",
+                    "type": "string"
+                },
                 "companyId": {
+                    "description": "鍏徃id",
                     "type": "integer"
                 },
                 "companyName": {
+                    "description": "鍏徃鍚嶇О",
                     "type": "string"
                 },
                 "controlStrategy": {
-                    "$ref": "#/definitions/constvar.InvoicingStrategy"
+                    "description": "鎺у埗绛栫暐",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.InvoicingStrategy"
+                        }
+                    ]
                 },
                 "cost": {
                     "description": "鎴愭湰",
                     "type": "number"
                 },
                 "currencyName": {
+                    "description": "甯佺鍚嶇О",
                     "type": "string"
                 },
                 "customerTaxes": {
@@ -1430,12 +1707,14 @@
                     "type": "number"
                 },
                 "deliveryAdvanceTime": {
-                    "type": "integer"
+                    "description": "瀹㈡埛鍓嶇疆鏃堕棿(澶�)",
+                    "type": "number"
                 },
                 "id": {
                     "type": "string"
                 },
                 "inStorageExplain": {
+                    "description": "HSCode                  string                     ` + "`" + `gorm:\"type:varchar(255);comment:HS缂栫爜\" json:\"HSCode\"` + "`" + `                    //HS缂栫爜\nOriginCountryId         int                        ` + "`" + `gorm:\"type:int(11);comment:鍘熶骇鍦癷d\" json:\"originCountryId\"` + "`" + `               //鍘熶骇鍦癷d\nOriginCountryName       string                     ` + "`" + `gorm:\"type:varchar(255);comment:鍘熶骇鍦板悕绉癨" json:\"originCountryName\"` + "`" + `        //鍘熶骇鍦板悕绉�",
                     "type": "string"
                 },
                 "internalNotes": {
@@ -1447,10 +1726,11 @@
                     "type": "string"
                 },
                 "internalTransferExplain": {
+                    "description": "鍐呴儴璋冩嫧璇存槑",
                     "type": "string"
                 },
                 "invoicingStrategy": {
-                    "description": "wms娣诲姞瀛楁",
+                    "description": "寮�绁ㄧ瓥鐣�",
                     "allOf": [
                         {
                             "$ref": "#/definitions/constvar.InvoicingStrategy"
@@ -1461,7 +1741,12 @@
                     "description": "PurchaseType      constvar.PurchaseType ` + "`" + `gorm:\"type:int(11);comment:閲囪喘绫诲瀷\" json:\"purchaseType\"` + "`" + `",
                     "type": "boolean"
                 },
+                "makeAdvanceTime": {
+                    "description": "鍒堕�犲墠缃椂闂�(澶�)",
+                    "type": "number"
+                },
                 "maxInventory": {
+                    "description": "鏈�澶у簱瀛�",
                     "type": "number"
                 },
                 "minInventory": {
@@ -1481,18 +1766,23 @@
                     ]
                 },
                 "name": {
+                    "description": "鐗╂枡鍚嶇О",
                     "type": "string"
+                },
+                "orderAdvanceTime": {
+                    "description": "璁㈠崟鍑嗗澶╂暟(澶�)",
+                    "type": "number"
                 },
                 "orderCreation": {
-                    "$ref": "#/definitions/constvar.OrderCreation"
-                },
-                "originCountryId": {
-                    "type": "integer"
-                },
-                "originCountryName": {
-                    "type": "string"
+                    "description": "璁㈠崟鍒涘缓",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.OrderCreation"
+                        }
+                    ]
                 },
                 "outStorageExplain": {
+                    "description": "鍑哄簱璇存槑",
                     "type": "string"
                 },
                 "principal": {
@@ -1500,26 +1790,43 @@
                     "type": "string"
                 },
                 "productTagId": {
-                    "description": "浜у搧鏍囩",
+                    "description": "浜у搧鏍囩id",
                     "type": "integer"
                 },
                 "productTagName": {
+                    "description": "浜у搧鏍囩鍚嶇О",
                     "type": "string"
                 },
+                "productType": {
+                    "description": "wms娣诲姞瀛楁",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.ProductType"
+                        }
+                    ]
+                },
                 "purchasePrice": {
+                    "description": "閲囪喘浠锋牸",
                     "type": "number"
                 },
                 "salePrice": {
+                    "description": "閿�鍞崟浠�",
                     "type": "number"
                 },
                 "selectProduct": {
-                    "type": "integer"
+                    "description": "鍙�変骇鍝乮d",
+                    "type": "string"
                 },
                 "sellExplain": {
+                    "description": "閿�鍞鏄�",
                     "type": "string"
                 },
                 "supplier": {
                     "description": "FSource           string                  ` + "`" + `gorm:\"type:varchar(191);comment:鐢熶骇杞﹂棿\" json:\"-\"` + "`" + `\nStatus            constvar.MaterialStatus ` + "`" + `gorm:\"type:int(11);comment:鐘舵�乗" json:\"status\"` + "`" + `",
+                    "type": "string"
+                },
+                "templateID": {
+                    "description": "Note              string                  ` + "`" + `gorm:\"type:varchar(1024);comment:澶囨敞\" json:\"note\"` + "`" + `",
                     "type": "string"
                 },
                 "unit": {
@@ -1598,11 +1905,19 @@
                     "description": "榛樿婧愪綅缃甶d",
                     "type": "integer"
                 },
+                "earlyOperations": {
+                    "description": "棰勫~鍐欎綔涓氳鎯�",
+                    "type": "boolean"
+                },
                 "id": {
                     "type": "integer"
                 },
                 "name": {
                     "description": "浠撳簱鍚嶇О",
+                    "type": "string"
+                },
+                "prefix": {
+                    "description": "鍓嶇紑",
                     "type": "string"
                 },
                 "printLabel": {
@@ -1689,6 +2004,7 @@
                     "type": "integer"
                 },
                 "routeId": {
+                    "description": "璺嚎id",
                     "type": "integer"
                 },
                 "routeName": {
@@ -1706,6 +2022,10 @@
                 "active": {
                     "description": "鏄惁鍚敤锛屼紶true灏辫",
                     "type": "boolean"
+                },
+                "address": {
+                    "description": "鍦板潃",
+                    "type": "string"
                 },
                 "buyToResupply": {
                     "description": "鏄惁璐拱琛ョ粰锛屽凡璐拱浜у搧鑳藉鍙戦�佸埌姝や粨搴�",
@@ -1729,9 +2049,21 @@
                 "id": {
                     "type": "integer"
                 },
+                "inboundTransportation": {
+                    "description": "鍏ュ悜杩愯緭",
+                    "type": "integer"
+                },
+                "locationId": {
+                    "description": "浣嶇疆id",
+                    "type": "integer"
+                },
                 "name": {
                     "description": "浠撳簱鍚嶇О",
                     "type": "string"
+                },
+                "outboundTransportation": {
+                    "description": "鍑哄簱杩愯緭",
+                    "type": "integer"
                 },
                 "partnerId": {
                     "description": "鍚堜綔浼欎即id",
@@ -1752,6 +2084,10 @@
                     }
                 },
                 "updateTime": {
+                    "type": "string"
+                },
+                "warehouseLocation": {
+                    "description": "搴撳瓨浣嶇疆",
                     "type": "string"
                 }
             }
@@ -1789,22 +2125,24 @@
         "request.AddOperation": {
             "type": "object",
             "properties": {
-                "carrierID": {
-                    "type": "integer"
-                },
-                "carrierName": {
+                "comment": {
+                    "description": "澶囨敞",
                     "type": "string"
                 },
                 "companyID": {
+                    "description": "鍏徃ID-瀹㈡埛",
                     "type": "integer"
                 },
                 "companyName": {
+                    "description": "鍏徃鍚嶇О-瀹㈡埛鍚嶇О",
                     "type": "string"
                 },
                 "contacterID": {
+                    "description": "鑱旂郴浜篒D-闈炲繀濉�",
                     "type": "integer"
                 },
                 "contacterName": {
+                    "description": "鑱旂郴浜哄鍚�-闈炲繀濉�",
                     "type": "string"
                 },
                 "details": {
@@ -1825,6 +2163,7 @@
                     "type": "string"
                 },
                 "operationDate": {
+                    "description": "瀹夋帓鏃ユ湡",
                     "type": "string"
                 },
                 "operationTypeId": {
@@ -1846,15 +2185,6 @@
                 "toLocationId": {
                     "description": "鐩爣浣嶇疆id",
                     "type": "integer"
-                },
-                "tracking": {
-                    "type": "string"
-                },
-                "transferWeight": {
-                    "type": "number"
-                },
-                "weight": {
-                    "type": "number"
                 }
             }
         },
@@ -1940,6 +2270,10 @@
                     "description": "鏄惁鍚敤锛屼紶true灏辫",
                     "type": "boolean"
                 },
+                "address": {
+                    "description": "鍦板潃",
+                    "type": "string"
+                },
                 "buyToResupply": {
                     "description": "璐拱琛ョ粰锛屽凡璐拱浜у搧鑳藉鍙戦�佸埌姝や粨搴�",
                     "type": "boolean"
@@ -1950,9 +2284,21 @@
                     "maxLength": 5,
                     "minLength": 1
                 },
+                "inboundTransportation": {
+                    "description": "鍏ュ悜杩愯緭",
+                    "type": "integer"
+                },
+                "locationId": {
+                    "description": "浣嶇疆id",
+                    "type": "integer"
+                },
                 "name": {
                     "description": "浠撳簱鍚嶇О",
                     "type": "string"
+                },
+                "outboundTransportation": {
+                    "description": "鍑哄簱杩愯緭",
+                    "type": "integer"
                 },
                 "partnerId": {
                     "description": "鍚堜綔浼欎即id",
@@ -1986,13 +2332,13 @@
         "request.OperationDetails": {
             "type": "object",
             "properties": {
-                "finishQuantity": {
-                    "description": "瀹屾垚鏁伴噺",
-                    "type": "number"
+                "OperationId": {
+                    "description": "鎿嶄綔id",
+                    "type": "integer"
                 },
                 "productId": {
                     "description": "浜у搧id",
-                    "type": "integer"
+                    "type": "string"
                 },
                 "productName": {
                     "description": "浜у搧鍚嶇О",
@@ -2001,6 +2347,9 @@
                 "quantity": {
                     "description": "鏁伴噺",
                     "type": "number"
+                },
+                "unit": {
+                    "type": "string"
                 }
             }
         },
@@ -2043,22 +2392,24 @@
         "request.UpdateOperation": {
             "type": "object",
             "properties": {
-                "carrierID": {
-                    "type": "integer"
-                },
-                "carrierName": {
+                "comment": {
+                    "description": "澶囨敞",
                     "type": "string"
                 },
                 "companyID": {
+                    "description": "鍏徃ID-瀹㈡埛",
                     "type": "integer"
                 },
                 "companyName": {
+                    "description": "鍏徃鍚嶇О-瀹㈡埛鍚嶇О",
                     "type": "string"
                 },
                 "contacterID": {
+                    "description": "鑱旂郴浜篒D-闈炲繀濉�",
                     "type": "integer"
                 },
                 "contacterName": {
+                    "description": "鑱旂郴浜哄鍚�-闈炲繀濉�",
                     "type": "string"
                 },
                 "details": {
@@ -2079,6 +2430,7 @@
                     "type": "string"
                 },
                 "operationDate": {
+                    "description": "瀹夋帓鏃ユ湡",
                     "type": "string"
                 },
                 "operationTypeId": {
@@ -2100,15 +2452,6 @@
                 "toLocationId": {
                     "description": "鐩爣浣嶇疆id",
                     "type": "integer"
-                },
-                "tracking": {
-                    "type": "string"
-                },
-                "transferWeight": {
-                    "type": "number"
-                },
-                "weight": {
-                    "type": "number"
                 }
             }
         },
@@ -2181,46 +2524,6 @@
                 "warehouseId": {
                     "description": "浠撳簱id",
                     "type": "integer"
-                }
-            }
-        },
-        "request.UpdateWarehouse": {
-            "type": "object",
-            "required": [
-                "code"
-            ],
-            "properties": {
-                "active": {
-                    "description": "鏄惁鍚敤锛屼紶true灏辫",
-                    "type": "boolean"
-                },
-                "buyToResupply": {
-                    "description": "璐拱琛ョ粰锛屽凡璐拱浜у搧鑳藉鍙戦�佸埌姝や粨搴�",
-                    "type": "boolean"
-                },
-                "code": {
-                    "description": "浠撳簱缂栫爜",
-                    "type": "string",
-                    "maxLength": 5,
-                    "minLength": 1
-                },
-                "id": {
-                    "type": "integer"
-                },
-                "name": {
-                    "description": "浠撳簱鍚嶇О",
-                    "type": "string"
-                },
-                "partnerId": {
-                    "description": "鍚堜綔浼欎即id",
-                    "type": "integer"
-                },
-                "resupplyWhIds": {
-                    "description": "琛ョ粰鏉ユ簮浠撳簱ID",
-                    "type": "array",
-                    "items": {
-                        "type": "string"
-                    }
                 }
             }
         },

--
Gitblit v1.8.0