From 67cf4fc49fdea5dcdd8007a94227f8486881c6bb Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 26 九月 2023 19:25:42 +0800
Subject: [PATCH] 部分功能修改

---
 docs/docs.go |  304 ++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 257 insertions(+), 47 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 9156122..faca9b4 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1919,7 +1919,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -1937,6 +1936,11 @@
                     {
                         "type": "integer",
                         "name": "supplierID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -1970,7 +1974,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -1988,6 +1991,11 @@
                     {
                         "type": "integer",
                         "name": "supplierID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -2021,7 +2029,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -2068,6 +2075,11 @@
                         "type": "integer",
                         "name": "supplierID",
                         "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
+                        "in": "query"
                     }
                 ],
                 "responses": {
@@ -2100,7 +2112,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -2118,6 +2129,11 @@
                     {
                         "type": "integer",
                         "name": "supplierID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -2189,7 +2205,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -2221,6 +2236,11 @@
                         "type": "integer",
                         "description": "绠$悊ID",
                         "name": "sysUserId",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -2946,7 +2966,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -2959,6 +2978,11 @@
                     {
                         "type": "string",
                         "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -2992,7 +3016,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -3033,6 +3056,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -3334,7 +3362,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -3347,6 +3374,11 @@
                     {
                         "type": "string",
                         "name": "nickname",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -3390,7 +3422,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -3431,6 +3462,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -3474,7 +3510,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -3515,6 +3550,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -4170,7 +4210,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -4242,7 +4281,17 @@
                     },
                     {
                         "type": "string",
+                        "name": "supplierName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4276,7 +4325,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -4376,7 +4424,22 @@
                     },
                     {
                         "type": "string",
+                        "name": "supplierName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "supplierNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4410,7 +4473,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -4510,7 +4572,22 @@
                     },
                     {
                         "type": "string",
+                        "name": "supplierName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "supplierNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4979,6 +5056,48 @@
                 }
             }
         },
+        "/purchase/qualityTest": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "QualityInspect"
+                ],
+                "summary": "QualityTest",
+                "responses": {
+                    "200": {
+                        "description": "鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.PageResult"
+                                        },
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/purchase/submit/{id}": {
             "post": {
                 "security": [
@@ -5219,7 +5338,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5281,6 +5399,11 @@
                     },
                     {
                         "type": "string",
+                        "name": "updated_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "url",
                         "in": "query"
                     }
@@ -5335,7 +5458,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5421,6 +5543,11 @@
                     {
                         "type": "string",
                         "name": "supplierType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -5611,7 +5738,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5624,6 +5750,11 @@
                     {
                         "type": "string",
                         "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5657,7 +5788,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5698,6 +5828,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5869,7 +6004,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5901,6 +6035,11 @@
                         "type": "string",
                         "description": "瀛楀吀鍚嶏紙鑻憋級",
                         "name": "type",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5950,7 +6089,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6000,6 +6138,11 @@
                         "type": "string",
                         "description": "瀛楀吀鍚嶏紙鑻憋級",
                         "name": "type",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -6198,7 +6341,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6230,6 +6372,11 @@
                         "type": "integer",
                         "description": "鍏宠仈鏍囪",
                         "name": "sysDictionaryID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6285,7 +6432,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6335,6 +6481,11 @@
                         "type": "integer",
                         "description": "鍏宠仈鏍囪",
                         "name": "sysDictionaryID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6601,7 +6752,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6651,6 +6801,11 @@
                         "type": "integer",
                         "description": "璇锋眰鐘舵��",
                         "name": "status",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6718,7 +6873,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6786,6 +6940,11 @@
                         "type": "integer",
                         "description": "璇锋眰鐘舵��",
                         "name": "status",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -8337,7 +8496,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "customerName": {
@@ -8367,6 +8525,9 @@
                 "sysUserId": {
                     "description": "绠$悊ID",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8377,7 +8538,6 @@
                     "type": "integer"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "exaFileChunk": {
@@ -8401,6 +8561,9 @@
                 },
                 "isFinish": {
                     "type": "boolean"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8408,7 +8571,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "exaFileID": {
@@ -8423,6 +8585,9 @@
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8430,7 +8595,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -8447,6 +8611,9 @@
                 },
                 "tag": {
                     "description": "鏂囦欢鏍囩",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 },
                 "url": {
@@ -8499,7 +8666,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "creator": {
@@ -8612,6 +8778,9 @@
                     "description": "鏈敹绁ㄩ噾棰�",
                     "type": "number"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "warehouse": {
                     "description": "鏀惰揣浠撳簱",
                     "type": "string"
@@ -8638,7 +8807,6 @@
                     "type": "number"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -8664,6 +8832,9 @@
                 "total": {
                     "description": "閲囪喘鎬讳环",
                     "type": "number"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8671,7 +8842,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -8689,6 +8859,9 @@
                 "sort": {
                     "description": "鎺掑簭",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9091,7 +9264,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9128,6 +9300,9 @@
                 },
                 "path": {
                     "description": "api璺緞",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9675,7 +9850,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "description": {
@@ -9692,6 +9866,9 @@
                 },
                 "path": {
                     "description": "api璺緞",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9750,7 +9927,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9764,6 +9940,9 @@
                     "type": "string"
                 },
                 "packageName": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9788,7 +9967,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -9834,6 +10012,9 @@
                 "sort": {
                     "description": "鎺掑簭鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9841,7 +10022,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9856,6 +10036,9 @@
                 },
                 "sysBaseMenuID": {
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9863,7 +10046,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -9881,6 +10063,9 @@
                     "description": "鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query",
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "value": {
                     "description": "鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�",
                     "type": "string"
@@ -9891,7 +10076,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9919,6 +10103,9 @@
                 "type": {
                     "description": "瀛楀吀鍚嶏紙鑻憋級",
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9926,7 +10113,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -9948,6 +10134,9 @@
                 "sysDictionaryID": {
                     "description": "鍏宠仈鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 },
                 "value": {
                     "description": "瀛楀吀鍊�",
@@ -9981,7 +10170,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -10030,6 +10218,9 @@
                 "sort": {
                     "description": "鎺掑簭鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -10045,7 +10236,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "error_message": {
@@ -10079,6 +10269,9 @@
                 "status": {
                     "description": "璇锋眰鐘舵��",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 },
                 "user": {
                     "$ref": "#/definitions/system.SysUser"
@@ -10114,7 +10307,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "email": {
@@ -10145,6 +10337,9 @@
                     "description": "鐢ㄦ埛渚ц竟涓婚",
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "userName": {
                     "description": "鐢ㄦ埛鐧诲綍鍚�",
                     "type": "string"
@@ -10167,7 +10362,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "fileName": {
@@ -10179,6 +10373,9 @@
                 },
                 "supplierID": {
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -10186,7 +10383,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -10195,6 +10391,9 @@
                 },
                 "name": {
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -10202,7 +10401,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -10210,6 +10408,9 @@
                     "type": "integer"
                 },
                 "nickname": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 },
                 "userName": {
@@ -10224,7 +10425,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "deliveryTime": {
@@ -10270,7 +10470,13 @@
                 "supplierId": {
                     "type": "integer"
                 },
+                "supplierName": {
+                    "type": "string"
+                },
                 "unit": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -10294,7 +10500,6 @@
                     "$ref": "#/definitions/test.Contract"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "detailAddress": {
@@ -10331,6 +10536,9 @@
                 "supplierType": {
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "url": {
                     "type": "string"
                 }
@@ -10340,7 +10548,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -10349,6 +10556,9 @@
                 },
                 "name": {
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         }

--
Gitblit v1.8.0