From 0acdfc60dbb5ee96045ccd695db1fec9d1e9d127 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 30 八月 2023 17:27:39 +0800
Subject: [PATCH] fix

---
 docs/docs.go |  303 ++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 253 insertions(+), 50 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 42749da..74a8c5c 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"
                     },
@@ -4243,6 +4282,11 @@
                     {
                         "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4276,7 +4320,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -4377,6 +4420,11 @@
                     {
                         "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4410,7 +4458,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -4511,6 +4558,11 @@
                     {
                         "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4917,6 +4969,68 @@
                 }
             }
         },
+        "/purchase/qualityInspectList": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "QualityInspect"
+                ],
+                "summary": "鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鍏抽敭瀛�",
+                        "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/response.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.PageResult"
+                                        },
+                                        "msg": {
+                                            "type": "string"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/purchase/submit/{id}": {
             "post": {
                 "security": [
@@ -5157,7 +5271,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5219,6 +5332,11 @@
                     },
                     {
                         "type": "string",
+                        "name": "updated_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "url",
                         "in": "query"
                     }
@@ -5273,7 +5391,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5359,6 +5476,11 @@
                     {
                         "type": "string",
                         "name": "supplierType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -5549,7 +5671,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5562,6 +5683,11 @@
                     {
                         "type": "string",
                         "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5595,7 +5721,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5636,6 +5761,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5807,7 +5937,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5839,6 +5968,11 @@
                         "type": "string",
                         "description": "瀛楀吀鍚嶏紙鑻憋級",
                         "name": "type",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5888,7 +6022,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -5938,6 +6071,11 @@
                         "type": "string",
                         "description": "瀛楀吀鍚嶏紙鑻憋級",
                         "name": "type",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -6136,7 +6274,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6168,6 +6305,11 @@
                         "type": "integer",
                         "description": "鍏宠仈鏍囪",
                         "name": "sysDictionaryID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6223,7 +6365,6 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6273,6 +6414,11 @@
                         "type": "integer",
                         "description": "鍏宠仈鏍囪",
                         "name": "sysDictionaryID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6539,7 +6685,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6589,6 +6734,11 @@
                         "type": "integer",
                         "description": "璇锋眰鐘舵��",
                         "name": "status",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6656,7 +6806,6 @@
                     },
                     {
                         "type": "string",
-                        "description": "鍒涘缓鏃堕棿",
                         "name": "created_at",
                         "in": "query"
                     },
@@ -6724,6 +6873,11 @@
                         "type": "integer",
                         "description": "璇锋眰鐘舵��",
                         "name": "status",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -8275,7 +8429,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "customerName": {
@@ -8305,6 +8458,9 @@
                 "sysUserId": {
                     "description": "绠$悊ID",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8315,7 +8471,6 @@
                     "type": "integer"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "exaFileChunk": {
@@ -8339,6 +8494,9 @@
                 },
                 "isFinish": {
                     "type": "boolean"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8346,7 +8504,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "exaFileID": {
@@ -8361,6 +8518,9 @@
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8368,7 +8528,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -8385,6 +8544,9 @@
                 },
                 "tag": {
                     "description": "鏂囦欢鏍囩",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 },
                 "url": {
@@ -8437,7 +8599,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "creator": {
@@ -8496,6 +8657,10 @@
                         }
                     ]
                 },
+                "principal": {
+                    "description": "閲囪喘璐熻矗浜�",
+                    "type": "string"
+                },
                 "purchaseType": {
                     "$ref": "#/definitions/purchase.PurchaseType"
                 },
@@ -8546,6 +8711,9 @@
                     "description": "鏈敹绁ㄩ噾棰�",
                     "type": "number"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "warehouse": {
                     "description": "鏀惰揣浠撳簱",
                     "type": "string"
@@ -8572,7 +8740,6 @@
                     "type": "number"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -8598,6 +8765,9 @@
                 "total": {
                     "description": "閲囪喘鎬讳环",
                     "type": "number"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8605,7 +8775,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -8623,23 +8792,23 @@
                 "sort": {
                     "description": "鎺掑簭",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "purchase.WholeDiscountType": {
             "type": "integer",
             "enum": [
-                0,
                 1,
                 2
             ],
             "x-enum-comments": {
-                "WholeDiscountTypeDefault": "鏃犳姌鎵�",
                 "WholeDiscountTypeDiscount": "鐩存帴闄嶄环",
                 "WholeDiscountTypePercent": "鐧惧垎姣旈檷浠�"
             },
             "x-enum-varnames": [
-                "WholeDiscountTypeDefault",
                 "WholeDiscountTypePercent",
                 "WholeDiscountTypeDiscount"
             ]
@@ -9028,7 +9197,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9065,6 +9233,9 @@
                 },
                 "path": {
                     "description": "api璺緞",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9612,7 +9783,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "description": {
@@ -9629,6 +9799,9 @@
                 },
                 "path": {
                     "description": "api璺緞",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9687,7 +9860,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9701,6 +9873,9 @@
                     "type": "string"
                 },
                 "packageName": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9725,7 +9900,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -9771,6 +9945,9 @@
                 "sort": {
                     "description": "鎺掑簭鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9778,7 +9955,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9793,6 +9969,9 @@
                 },
                 "sysBaseMenuID": {
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9800,7 +9979,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -9818,6 +9996,9 @@
                     "description": "鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query",
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "value": {
                     "description": "鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�",
                     "type": "string"
@@ -9828,7 +10009,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "desc": {
@@ -9856,6 +10036,9 @@
                 "type": {
                     "description": "瀛楀吀鍚嶏紙鑻憋級",
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9863,7 +10046,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -9885,6 +10067,9 @@
                 "sysDictionaryID": {
                     "description": "鍏宠仈鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 },
                 "value": {
                     "description": "瀛楀吀鍊�",
@@ -9918,7 +10103,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "hidden": {
@@ -9967,6 +10151,9 @@
                 "sort": {
                     "description": "鎺掑簭鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9982,7 +10169,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "error_message": {
@@ -10016,6 +10202,9 @@
                 "status": {
                     "description": "璇锋眰鐘舵��",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 },
                 "user": {
                     "$ref": "#/definitions/system.SysUser"
@@ -10051,7 +10240,6 @@
                     "type": "string"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "email": {
@@ -10082,6 +10270,9 @@
                     "description": "鐢ㄦ埛渚ц竟涓婚",
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "userName": {
                     "description": "鐢ㄦ埛鐧诲綍鍚�",
                     "type": "string"
@@ -10104,7 +10295,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "fileName": {
@@ -10116,6 +10306,9 @@
                 },
                 "supplierID": {
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -10123,7 +10316,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -10132,6 +10324,9 @@
                 },
                 "name": {
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -10139,7 +10334,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -10147,6 +10341,9 @@
                     "type": "integer"
                 },
                 "nickname": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 },
                 "userName": {
@@ -10161,7 +10358,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "deliveryTime": {
@@ -10209,6 +10405,9 @@
                 },
                 "unit": {
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -10231,7 +10430,6 @@
                     "$ref": "#/definitions/test.Contract"
                 },
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "detailAddress": {
@@ -10268,6 +10466,9 @@
                 "supplierType": {
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "url": {
                     "type": "string"
                 }
@@ -10277,7 +10478,6 @@
             "type": "object",
             "properties": {
                 "created_at": {
-                    "description": "鍒涘缓鏃堕棿",
                     "type": "string"
                 },
                 "id": {
@@ -10286,6 +10486,9 @@
                 },
                 "name": {
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         }

--
Gitblit v1.8.0