From cb660c4be22610730966db2a4a36c3a7c008b579 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期三, 27 九月 2023 17:23:01 +0800
Subject: [PATCH] 1.二期一部分代码

---
 docs/docs.go |   78 +++++++++++++++++++++++++++++++++++---
 1 files changed, 71 insertions(+), 7 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 531b4e8..d20b847 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -585,7 +585,7 @@
                 }
             }
         },
-        "/api-wms/v1/locationProductamount/add": {
+        "/api-wms/v1/locationProductAmount/add": {
             "post": {
                 "produces": [
                     "application/json"
@@ -615,7 +615,7 @@
                 }
             }
         },
-        "/api-wms/v1/locationProductamount/list": {
+        "/api-wms/v1/locationProductAmount/list": {
             "post": {
                 "produces": [
                     "application/json"
@@ -1319,6 +1319,51 @@
                         "description": "鎴愬姛",
                         "schema": {
                             "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/product/listHistory": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "浜у搧"
+                ],
+                "summary": "浜у搧浣嶇疆鍘嗗彶淇℃伅",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.QueryOperationHistory"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.Operation"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
@@ -2531,15 +2576,15 @@
         "request.AddLocationProductAmount": {
             "type": "object",
             "properties": {
+                "Amount": {
+                    "description": "搴撳瓨鏁伴噺",
+                    "type": "number"
+                },
                 "adjustAmount": {
                     "description": "宸��",
                     "type": "number"
                 },
-                "decimal": {
-                    "description": "搴撳瓨鏁伴噺",
-                    "type": "number"
-                },
-                "difference_amount": {
+                "differenceAmount": {
                     "description": "璁℃暟鏁伴噺",
                     "type": "number"
                 },
@@ -2855,6 +2900,25 @@
                 }
             }
         },
+        "request.QueryOperationHistory": {
+            "type": "object",
+            "properties": {
+                "locationId": {
+                    "type": "integer"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "productId": {
+                    "type": "string"
+                }
+            }
+        },
         "request.QueryOperationList": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0