From 7539ba3aa1ce089442433dd98c86794bee62198f Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期四, 21 九月 2023 19:30:01 +0800
Subject: [PATCH] 1.出入库一部分代码

---
 docs/docs.go |   99 ++++++++++++++++++++++++++++++-------------------
 1 files changed, 61 insertions(+), 38 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 0e06838..dc2974b 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -565,7 +565,35 @@
             }
         },
         "/api-wms/v1/operation/operation/{id}": {
-            "put": {
+            "delete": {
+                "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/update": {
+            "post": {
                 "produces": [
                     "application/json"
                 ],
@@ -582,39 +610,6 @@
                         "schema": {
                             "$ref": "#/definitions/request.UpdateOperation"
                         }
-                    },
-                    {
-                        "type": "integer",
-                        "description": "鍏ュ簱淇℃伅id",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/util.Response"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "鍏ュ簱/鍑哄簱"
-                ],
-                "summary": "鍒犻櫎鍏ュ簱/鍑哄簱淇℃伅",
-                "parameters": [
-                    {
-                        "type": "integer",
-                        "description": "id",
-                        "name": "id",
-                        "in": "path",
-                        "required": true
                     }
                 ],
                 "responses": {
@@ -1618,8 +1613,20 @@
                     "description": "浣嶇疆鍚嶇О",
                     "type": "string"
                 },
+                "nextCount": {
+                    "description": "涓嬫鐩樼偣",
+                    "type": "string"
+                },
+                "notes": {
+                    "description": "澶栭儴澶囨敞",
+                    "type": "string"
+                },
                 "parentId": {
                     "description": "涓婄骇id",
+                    "type": "string"
+                },
+                "recentlyCount": {
+                    "description": "鏈�杩戠洏鐐�",
                     "type": "string"
                 },
                 "replenishLocation": {
@@ -1893,11 +1900,19 @@
                     "description": "榛樿婧愪綅缃甶d",
                     "type": "integer"
                 },
+                "earlyOperations": {
+                    "description": "棰勫~鍐欎綔涓氳鎯�",
+                    "type": "boolean"
+                },
                 "id": {
                     "type": "integer"
                 },
                 "name": {
                     "description": "浠撳簱鍚嶇О",
+                    "type": "string"
+                },
+                "prefix": {
+                    "description": "鍓嶇紑",
                     "type": "string"
                 },
                 "printLabel": {
@@ -2150,6 +2165,10 @@
                     "description": "浣滀笟绫诲瀷id",
                     "type": "integer"
                 },
+                "operationTypeName": {
+                    "description": "浣滀笟绫诲瀷鍚嶇О",
+                    "type": "string"
+                },
                 "sourceNumber": {
                     "description": "婧愬崟鍙�",
                     "type": "string"
@@ -2316,6 +2335,10 @@
                     "description": "鎿嶄綔id",
                     "type": "integer"
                 },
+                "amount": {
+                    "description": "鏁伴噺",
+                    "type": "number"
+                },
                 "productId": {
                     "description": "浜у搧id",
                     "type": "string"
@@ -2323,10 +2346,6 @@
                 "productName": {
                     "description": "浜у搧鍚嶇О",
                     "type": "string"
-                },
-                "quantity": {
-                    "description": "鏁伴噺",
-                    "type": "number"
                 },
                 "unit": {
                     "type": "string"
@@ -2417,6 +2436,10 @@
                     "description": "浣滀笟绫诲瀷id",
                     "type": "integer"
                 },
+                "operationTypeName": {
+                    "description": "浣滀笟绫诲瀷鍚嶇О",
+                    "type": "string"
+                },
                 "sourceNumber": {
                     "description": "婧愬崟鍙�",
                     "type": "string"

--
Gitblit v1.8.0