From 20acdf9648c20c4b1e0b03af98bd0010bab66f7b Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 05 九月 2023 10:31:50 +0800
Subject: [PATCH] fix

---
 docs/docs.go |  707 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 681 insertions(+), 26 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 5c82abd..bd498d8 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1899,6 +1899,61 @@
                 }
             }
         },
+        "/con/downloadContract": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "consumes": [
+                    "application/json"
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Contract"
+                ],
+                "summary": "涓嬭浇Contract",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "fileName",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "涓婚敭ID",
+                        "name": "id",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "name": "supplierID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "{\"success\":true,\"data\":{},\"msg\":\"涓嬭浇鎴愬姛\"}",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
         "/con/findContract": {
             "get": {
                 "security": [
@@ -1918,12 +1973,8 @@
                 "summary": "鐢╥d鏌ヨContract",
                 "parameters": [
                     {
-                        "type": "array",
-                        "items": {
-                            "type": "integer"
-                        },
-                        "collectionFormat": "csv",
-                        "name": "fileContent",
+                        "type": "string",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -1940,6 +1991,11 @@
                     {
                         "type": "integer",
                         "name": "supplierID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -1973,16 +2029,12 @@
                 "parameters": [
                     {
                         "type": "string",
-                        "name": "endCreatedAt",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
-                        "type": "array",
-                        "items": {
-                            "type": "integer"
-                        },
-                        "collectionFormat": "csv",
-                        "name": "fileContent",
+                        "type": "string",
+                        "name": "endCreatedAt",
                         "in": "query"
                     },
                     {
@@ -2023,6 +2075,11 @@
                         "type": "integer",
                         "name": "supplierID",
                         "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
+                        "in": "query"
                     }
                 ],
                 "responses": {
@@ -2054,12 +2111,8 @@
                 "summary": "棰勮Contract",
                 "parameters": [
                     {
-                        "type": "array",
-                        "items": {
-                            "type": "integer"
-                        },
-                        "collectionFormat": "csv",
-                        "name": "fileContent",
+                        "type": "string",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -2076,6 +2129,11 @@
                     {
                         "type": "integer",
                         "name": "supplierID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -2147,6 +2205,11 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "瀹㈡埛鍚�",
                         "name": "customerName",
                         "in": "query"
@@ -2173,6 +2236,11 @@
                         "type": "integer",
                         "description": "绠$悊ID",
                         "name": "sysUserId",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -2897,6 +2965,11 @@
                 "summary": "鐢╥d鏌ヨIndustry",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -2905,6 +2978,11 @@
                     {
                         "type": "string",
                         "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -2936,6 +3014,11 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇Industry鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "name": "endCreatedAt",
@@ -2973,6 +3056,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -3273,6 +3361,11 @@
                 "summary": "鐢╥d鏌ヨMember",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -3281,6 +3374,11 @@
                     {
                         "type": "string",
                         "name": "nickname",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -3324,6 +3422,11 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "endCreatedAt",
                         "in": "query"
                     },
@@ -3359,6 +3462,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -3402,6 +3510,11 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "endCreatedAt",
                         "in": "query"
                     },
@@ -3437,6 +3550,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -4091,6 +4209,11 @@
                 "summary": "鐢╥d鏌ヨProduct",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "name": "deliveryTime",
                         "in": "query"
@@ -4159,6 +4282,11 @@
                     {
                         "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4191,6 +4319,11 @@
                 "summary": "鍒嗛〉鑾峰彇Product鍒楄〃",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "name": "deliveryTime",
                         "in": "query"
@@ -4286,7 +4419,17 @@
                     },
                     {
                         "type": "string",
+                        "name": "supplierNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4319,6 +4462,11 @@
                 "summary": "鍒嗛〉鑾峰彇Product鍒楄〃",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "name": "deliveryTime",
                         "in": "query"
@@ -4414,7 +4562,17 @@
                     },
                     {
                         "type": "string",
+                        "name": "supplierNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "unit",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -4533,7 +4691,7 @@
                 "summary": "鍒涘缓閲囪喘鍗�",
                 "parameters": [
                     {
-                        "description": "閲囪喘鍗曠敤鎴峰悕, 閲囪喘鍗曟墜鏈哄彿鐮�",
+                        "description": "閲囪喘鍗�,閲囪喘鍗曚骇鍝�",
                         "name": "data",
                         "in": "body",
                         "required": true,
@@ -4821,6 +4979,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": [
@@ -5061,6 +5281,11 @@
                     },
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "detailAddress",
                         "in": "query"
                     },
@@ -5117,6 +5342,11 @@
                     },
                     {
                         "type": "string",
+                        "name": "updated_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "name": "url",
                         "in": "query"
                     }
@@ -5167,6 +5397,11 @@
                     {
                         "type": "string",
                         "name": "contact",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "created_at",
                         "in": "query"
                     },
                     {
@@ -5251,6 +5486,11 @@
                     {
                         "type": "string",
                         "name": "supplierType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -5440,6 +5680,11 @@
                 "summary": "鐢╥d鏌ヨSupplierType",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -5448,6 +5693,11 @@
                     {
                         "type": "string",
                         "name": "name",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5479,6 +5729,11 @@
                 ],
                 "summary": "鍒嗛〉鑾峰彇SupplierType鍒楄〃",
                 "parameters": [
+                    {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
                     {
                         "type": "string",
                         "name": "endCreatedAt",
@@ -5516,6 +5771,11 @@
                     {
                         "type": "string",
                         "name": "startCreatedAt",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5687,6 +5947,11 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "鎻忚堪",
                         "name": "desc",
                         "in": "query"
@@ -5713,6 +5978,11 @@
                         "type": "string",
                         "description": "瀛楀吀鍚嶏紙鑻憋級",
                         "name": "type",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -5762,6 +6032,11 @@
                 "parameters": [
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "鎻忚堪",
                         "name": "desc",
                         "in": "query"
@@ -5806,6 +6081,11 @@
                         "type": "string",
                         "description": "瀛楀吀鍚嶏紙鑻憋級",
                         "name": "type",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     }
                 ],
@@ -6003,6 +6283,11 @@
                 "summary": "鐢╥d鏌ヨSysDictionaryDetail",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -6030,6 +6315,11 @@
                         "type": "integer",
                         "description": "鍏宠仈鏍囪",
                         "name": "sysDictionaryID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6084,6 +6374,11 @@
                 "summary": "鍒嗛〉鑾峰彇SysDictionaryDetail鍒楄〃",
                 "parameters": [
                     {
+                        "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
                         "type": "integer",
                         "description": "涓婚敭ID",
                         "name": "id",
@@ -6129,6 +6424,11 @@
                         "type": "integer",
                         "description": "鍏宠仈鏍囪",
                         "name": "sysDictionaryID",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6395,6 +6695,11 @@
                     },
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "閿欒淇℃伅",
                         "name": "error_message",
                         "in": "query"
@@ -6439,6 +6744,11 @@
                         "type": "integer",
                         "description": "璇锋眰鐘舵��",
                         "name": "status",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -6506,6 +6816,11 @@
                     },
                     {
                         "type": "string",
+                        "name": "created_at",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
                         "description": "閿欒淇℃伅",
                         "name": "error_message",
                         "in": "query"
@@ -6568,6 +6883,11 @@
                         "type": "integer",
                         "description": "璇锋眰鐘舵��",
                         "name": "status",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "name": "updated_at",
                         "in": "query"
                     },
                     {
@@ -8118,6 +8438,9 @@
         "example.ExaCustomer": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "customerName": {
                     "description": "瀹㈡埛鍚�",
                     "type": "string"
@@ -8145,6 +8468,9 @@
                 "sysUserId": {
                     "description": "绠$悊ID",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -8153,6 +8479,9 @@
             "properties": {
                 "chunkTotal": {
                     "type": "integer"
+                },
+                "created_at": {
+                    "type": "string"
                 },
                 "exaFileChunk": {
                     "type": "array",
@@ -8175,12 +8504,18 @@
                 },
                 "isFinish": {
                     "type": "boolean"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "example.ExaFileChunk": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "exaFileID": {
                     "type": "integer"
                 },
@@ -8193,12 +8528,18 @@
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "example.ExaFileUploadAndDownload": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -8213,6 +8554,9 @@
                 },
                 "tag": {
                     "description": "鏂囦欢鏍囩",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 },
                 "url": {
@@ -8242,6 +8586,21 @@
                 "OrderStatusCompleted"
             ]
         },
+        "purchase.PriceAdjustmentType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "PriceAdjustmentTypeAdd": "澧炲姞",
+                "PriceAdjustmentTypeSub": "鍑忓皯"
+            },
+            "x-enum-varnames": [
+                "PriceAdjustmentTypeAdd",
+                "PriceAdjustmentTypeSub"
+            ]
+        },
         "purchase.Purchase": {
             "type": "object",
             "properties": {
@@ -8249,13 +8608,28 @@
                     "description": "鑱旂郴浜�",
                     "type": "string"
                 },
+                "created_at": {
+                    "type": "string"
+                },
+                "creator": {
+                    "description": "鍒跺崟浜�",
+                    "type": "string"
+                },
                 "deliveryDate": {
                     "description": "浜や粯鏃ユ湡",
+                    "type": "string"
+                },
+                "handledBy": {
+                    "description": "缁忓姙浜�",
                     "type": "string"
                 },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
+                },
+                "invoiceAmount": {
+                    "description": "宸叉敹绁ㄩ噾棰�",
+                    "type": "number"
                 },
                 "name": {
                     "description": "閲囪喘鍚嶇О",
@@ -8265,8 +8639,36 @@
                     "description": "閲囪喘缂栧彿",
                     "type": "string"
                 },
+                "orderSource": {
+                    "description": "鍗曟嵁鏉ユ簮",
+                    "type": "string"
+                },
+                "orderType": {
+                    "description": "鍗曟嵁绫诲瀷",
+                    "type": "string"
+                },
+                "paidAmount": {
+                    "description": "宸蹭粯閲戦",
+                    "type": "number"
+                },
                 "phone": {
                     "description": "鑱旂郴浜虹數璇�",
+                    "type": "string"
+                },
+                "priceAdjustment": {
+                    "description": "浠锋牸璋冩暣鍊�",
+                    "type": "number"
+                },
+                "priceAdjustmentType": {
+                    "description": "浠锋牸璋冩暣绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.PriceAdjustmentType"
+                        }
+                    ]
+                },
+                "principal": {
+                    "description": "閲囪喘璐熻矗浜�",
                     "type": "string"
                 },
                 "purchaseType": {
@@ -8276,9 +8678,21 @@
                     "description": "閲囪喘绫诲瀷id",
                     "type": "integer"
                 },
+                "quantity": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "number"
+                },
+                "realTotalPrice": {
+                    "description": "鏈�缁堜环鏍�",
+                    "type": "number"
+                },
                 "remark": {
                     "description": "澶囨敞",
                     "type": "string"
+                },
+                "shouldPayAmount": {
+                    "description": "搴斾粯閲戦",
+                    "type": "number"
                 },
                 "signingDate": {
                     "description": "绛剧害鏃ユ湡",
@@ -8298,6 +8712,33 @@
                 "supplierId": {
                     "description": "渚涘簲鍟唅d",
                     "type": "integer"
+                },
+                "totalPrice": {
+                    "description": "浠风◣鍚堣",
+                    "type": "number"
+                },
+                "unInvoiceAmount": {
+                    "description": "鏈敹绁ㄩ噾棰�",
+                    "type": "number"
+                },
+                "updated_at": {
+                    "type": "string"
+                },
+                "warehouse": {
+                    "description": "鏀惰揣浠撳簱",
+                    "type": "string"
+                },
+                "wholeDiscount": {
+                    "description": "鏁村崟鎶樻墸鍊�",
+                    "type": "number"
+                },
+                "wholeDiscountType": {
+                    "description": "鏁村崟鎶樻墸绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.WholeDiscountType"
+                        }
+                    ]
                 }
             }
         },
@@ -8307,6 +8748,9 @@
                 "amount": {
                     "description": "閲囪喘鏁伴噺",
                     "type": "number"
+                },
+                "created_at": {
+                    "type": "string"
                 },
                 "id": {
                     "description": "涓婚敭ID",
@@ -8331,12 +8775,18 @@
                 "total": {
                     "description": "閲囪喘鎬讳环",
                     "type": "number"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "purchase.PurchaseType": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -8352,8 +8802,26 @@
                 "sort": {
                     "description": "鎺掑簭",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
+        },
+        "purchase.WholeDiscountType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "WholeDiscountTypeDiscount": "鐩存帴闄嶄环",
+                "WholeDiscountTypePercent": "鐧惧垎姣旈檷浠�"
+            },
+            "x-enum-varnames": [
+                "WholeDiscountTypePercent",
+                "WholeDiscountTypeDiscount"
+            ]
         },
         "purchaserequest.AddPurchase": {
             "type": "object",
@@ -8396,9 +8864,29 @@
                     "description": "鑱旂郴浜虹數璇�",
                     "type": "string"
                 },
+                "priceAdjustment": {
+                    "description": "浠锋牸璋冩暣鍊�",
+                    "type": "number"
+                },
+                "priceAdjustmentType": {
+                    "description": "浠锋牸璋冩暣绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.PriceAdjustmentType"
+                        }
+                    ]
+                },
                 "purchaseTypeId": {
                     "description": "閲囪喘绫诲瀷id",
                     "type": "integer"
+                },
+                "quantity": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "number"
+                },
+                "realTotalPrice": {
+                    "description": "鏈�缁堜环鏍�",
+                    "type": "number"
                 },
                 "remark": {
                     "description": "澶囨敞",
@@ -8419,6 +8907,22 @@
                 "supplierId": {
                     "description": "渚涘簲鍟唅d",
                     "type": "integer"
+                },
+                "totalPrice": {
+                    "description": "浠风◣鍚堣",
+                    "type": "number"
+                },
+                "wholeDiscount": {
+                    "description": "鏁村崟鎶樻墸鍊�",
+                    "type": "number"
+                },
+                "wholeDiscountType": {
+                    "description": "鏁村崟鎶樻墸绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/purchase.WholeDiscountType"
+                        }
+                    ]
                 }
             }
         },
@@ -8702,6 +9206,9 @@
                     "description": "api缁�",
                     "type": "string"
                 },
+                "created_at": {
+                    "type": "string"
+                },
                 "desc": {
                     "description": "鎺掑簭鏂瑰紡:鍗囧簭false(榛樿)|闄嶅簭true",
                     "type": "boolean"
@@ -8736,6 +9243,9 @@
                 },
                 "path": {
                     "description": "api璺緞",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -8909,13 +9419,65 @@
                 }
             }
         },
+        "response.PurchaseProducts": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "number"
+                },
+                "deliveryTime": {
+                    "type": "integer"
+                },
+                "modelNumber": {
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "number": {
+                    "type": "string"
+                },
+                "price": {
+                    "description": "閲囪喘鍗曚环",
+                    "type": "number"
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "integer"
+                },
+                "productType": {
+                    "type": "string"
+                },
+                "purchaseId": {
+                    "description": "閲囪喘id",
+                    "type": "integer"
+                },
+                "purchasePrice": {
+                    "type": "number"
+                },
+                "shippingDuration": {
+                    "type": "integer"
+                },
+                "specifications": {
+                    "type": "string"
+                },
+                "total": {
+                    "description": "閲囪喘鎬讳环",
+                    "type": "number"
+                },
+                "unit": {
+                    "type": "string"
+                }
+            }
+        },
         "response.PurchaseResponse": {
             "type": "object",
             "properties": {
                 "productList": {
                     "type": "array",
                     "items": {
-                        "$ref": "#/definitions/purchase.PurchaseProducts"
+                        "$ref": "#/definitions/response.PurchaseProducts"
                     }
                 },
                 "purchase": {
@@ -9230,6 +9792,9 @@
                     "description": "api缁�",
                     "type": "string"
                 },
+                "created_at": {
+                    "type": "string"
+                },
                 "description": {
                     "description": "api涓枃鎻忚堪",
                     "type": "string"
@@ -9244,6 +9809,9 @@
                 },
                 "path": {
                     "description": "api璺緞",
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9301,6 +9869,9 @@
         "system.SysAutoCode": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
@@ -9312,6 +9883,9 @@
                     "type": "string"
                 },
                 "packageName": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9333,6 +9907,9 @@
                 },
                 "component": {
                     "description": "瀵瑰簲鍓嶇鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "created_at": {
                     "type": "string"
                 },
                 "hidden": {
@@ -9378,12 +9955,18 @@
                 "sort": {
                     "description": "鎺掑簭鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "system.SysBaseMenuBtn": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
@@ -9396,12 +9979,18 @@
                 },
                 "sysBaseMenuID": {
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "system.SysBaseMenuParameter": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -9417,6 +10006,9 @@
                     "description": "鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query",
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "value": {
                     "description": "鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�",
                     "type": "string"
@@ -9426,6 +10018,9 @@
         "system.SysDictionary": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "desc": {
                     "description": "鎻忚堪",
                     "type": "string"
@@ -9451,12 +10046,18 @@
                 "type": {
                     "description": "瀛楀吀鍚嶏紙鑻憋級",
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "system.SysDictionaryDetail": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
@@ -9476,6 +10077,9 @@
                 "sysDictionaryID": {
                     "description": "鍏宠仈鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 },
                 "value": {
                     "description": "瀛楀吀鍊�",
@@ -9506,6 +10110,9 @@
                 },
                 "component": {
                     "description": "瀵瑰簲鍓嶇鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "created_at": {
                     "type": "string"
                 },
                 "hidden": {
@@ -9554,6 +10161,9 @@
                 "sort": {
                     "description": "鎺掑簭鏍囪",
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9566,6 +10176,9 @@
                 },
                 "body": {
                     "description": "璇锋眰Body",
+                    "type": "string"
+                },
+                "created_at": {
                     "type": "string"
                 },
                 "error_message": {
@@ -9600,6 +10213,9 @@
                     "description": "璇锋眰鐘舵��",
                     "type": "integer"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "user": {
                     "$ref": "#/definitions/system.SysUser"
                 },
@@ -9633,6 +10249,9 @@
                     "description": "鍩虹棰滆壊",
                     "type": "string"
                 },
+                "created_at": {
+                    "type": "string"
+                },
                 "email": {
                     "description": "鐢ㄦ埛閭",
                     "type": "string"
@@ -9661,6 +10280,9 @@
                     "description": "鐢ㄦ埛渚ц竟涓婚",
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "userName": {
                     "description": "鐢ㄦ埛鐧诲綍鍚�",
                     "type": "string"
@@ -9682,11 +10304,8 @@
         "test.Contract": {
             "type": "object",
             "properties": {
-                "fileContent": {
-                    "type": "array",
-                    "items": {
-                        "type": "integer"
-                    }
+                "created_at": {
+                    "type": "string"
                 },
                 "fileName": {
                     "type": "string"
@@ -9697,17 +10316,26 @@
                 },
                 "supplierID": {
                     "type": "integer"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
         "test.Industry": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
                 },
                 "name": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 }
             }
@@ -9715,11 +10343,17 @@
         "test.Member": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
                 },
                 "nickname": {
+                    "type": "string"
+                },
+                "updated_at": {
                     "type": "string"
                 },
                 "userName": {
@@ -9733,6 +10367,9 @@
         "test.Product": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "deliveryTime": {
                     "type": "integer"
                 },
@@ -9778,6 +10415,9 @@
                 },
                 "unit": {
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         },
@@ -9794,6 +10434,12 @@
                     "type": "string"
                 },
                 "contact": {
+                    "type": "string"
+                },
+                "contract": {
+                    "$ref": "#/definitions/test.Contract"
+                },
+                "created_at": {
                     "type": "string"
                 },
                 "detailAddress": {
@@ -9830,6 +10476,9 @@
                 "supplierType": {
                     "type": "string"
                 },
+                "updated_at": {
+                    "type": "string"
+                },
                 "url": {
                     "type": "string"
                 }
@@ -9838,12 +10487,18 @@
         "test.SupplierType": {
             "type": "object",
             "properties": {
+                "created_at": {
+                    "type": "string"
+                },
                 "id": {
                     "description": "涓婚敭ID",
                     "type": "integer"
                 },
                 "name": {
                     "type": "string"
+                },
+                "updated_at": {
+                    "type": "string"
                 }
             }
         }

--
Gitblit v1.8.0