fix
wangpengfei
2023-09-05 20acdf9648c20c4b1e0b03af98bd0010bab66f7b
docs/docs.go
@@ -1919,17 +1919,7 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "collectionFormat": "csv",
                        "name": "fileContent",
                        "in": "query"
                    },
                    {
@@ -1946,6 +1936,11 @@
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -1979,17 +1974,7 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "collectionFormat": "csv",
                        "name": "fileContent",
                        "in": "query"
                    },
                    {
@@ -2006,6 +1991,11 @@
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -2039,22 +2029,12 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "endCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "collectionFormat": "csv",
                        "name": "fileContent",
                        "in": "query"
                    },
                    {
@@ -2095,6 +2075,11 @@
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
@@ -2127,17 +2112,7 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "collectionFormat": "csv",
                        "name": "fileContent",
                        "in": "query"
                    },
                    {
@@ -2154,6 +2129,11 @@
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -2225,7 +2205,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -2257,6 +2236,11 @@
                        "type": "integer",
                        "description": "管理ID",
                        "name": "sysUserId",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -2982,7 +2966,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -2995,6 +2978,11 @@
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -3028,7 +3016,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3069,6 +3056,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -3370,7 +3362,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3383,6 +3374,11 @@
                    {
                        "type": "string",
                        "name": "nickname",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -3426,7 +3422,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3467,6 +3462,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -3510,7 +3510,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3551,6 +3550,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -4206,7 +4210,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -4279,6 +4282,11 @@
                    {
                        "type": "string",
                        "name": "unit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -4312,7 +4320,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -4412,7 +4419,17 @@
                    },
                    {
                        "type": "string",
                        "name": "supplierNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "unit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -4446,7 +4463,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -4546,7 +4562,17 @@
                    },
                    {
                        "type": "string",
                        "name": "supplierNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "unit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -4622,7 +4648,7 @@
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.AddPurchase"
                            "$ref": "#/definitions/purchaserequest.UpdatePurchase"
                        }
                    }
                ],
@@ -4665,7 +4691,7 @@
                "summary": "创建采购单",
                "parameters": [
                    {
                        "description": "采购单用户名, 采购单手机号码",
                        "description": "采购单,采购单产品",
                        "name": "data",
                        "in": "body",
                        "required": true,
@@ -4833,6 +4859,166 @@
                "responses": {
                    "200": {
                        "description": "分页获取采购单列表,返回包括列表,总数,页码,每页数量",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.PageResult"
                                        },
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/purchaseType": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "创建采购类型",
                "parameters": [
                    {
                        "description": "采购类型list",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/purchaserequest.PurchaseType"
                            }
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "创建采购类型",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/purchaseTypeList": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "获取采购类型列表",
                "responses": {
                    "200": {
                        "description": "获取采购类型列表",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/purchase.PurchaseType"
                                            }
                                        },
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/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": [
                                {
@@ -5095,7 +5281,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5157,6 +5342,11 @@
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "url",
                        "in": "query"
                    }
@@ -5211,7 +5401,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5297,6 +5486,11 @@
                    {
                        "type": "string",
                        "name": "supplierType",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -5487,7 +5681,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5500,6 +5693,11 @@
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -5533,7 +5731,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5574,6 +5771,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -5745,7 +5947,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5777,6 +5978,11 @@
                        "type": "string",
                        "description": "字典名(英)",
                        "name": "type",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -5826,7 +6032,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5876,6 +6081,11 @@
                        "type": "string",
                        "description": "字典名(英)",
                        "name": "type",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -6074,7 +6284,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6106,6 +6315,11 @@
                        "type": "integer",
                        "description": "关联标记",
                        "name": "sysDictionaryID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -6161,7 +6375,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6211,6 +6424,11 @@
                        "type": "integer",
                        "description": "关联标记",
                        "name": "sysDictionaryID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -6477,7 +6695,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6527,6 +6744,11 @@
                        "type": "integer",
                        "description": "请求状态",
                        "name": "status",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -6594,7 +6816,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6662,6 +6883,11 @@
                        "type": "integer",
                        "description": "请求状态",
                        "name": "status",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -8213,7 +8439,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "customerName": {
@@ -8243,6 +8468,9 @@
                "sysUserId": {
                    "description": "管理ID",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -8253,7 +8481,6 @@
                    "type": "integer"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "exaFileChunk": {
@@ -8277,6 +8504,9 @@
                },
                "isFinish": {
                    "type": "boolean"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -8284,7 +8514,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "exaFileID": {
@@ -8299,6 +8528,9 @@
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -8306,7 +8538,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -8325,11 +8556,50 @@
                    "description": "文件标签",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "url": {
                    "description": "文件地址",
                    "type": "string"
                }
            }
        },
        "purchase.OrderStatus": {
            "type": "integer",
            "enum": [
                1,
                2,
                3,
                4
            ],
            "x-enum-comments": {
                "OrderStatusCompleted": "已完成",
                "OrderStatusConfirmed": "已下单",
                "OrderStatusReceived": "已到货",
                "OrderStatusStored": "已入库"
            },
            "x-enum-varnames": [
                "OrderStatusConfirmed",
                "OrderStatusReceived",
                "OrderStatusStored",
                "OrderStatusCompleted"
            ]
        },
        "purchase.PriceAdjustmentType": {
            "type": "integer",
            "enum": [
                1,
                2
            ],
            "x-enum-comments": {
                "PriceAdjustmentTypeAdd": "增加",
                "PriceAdjustmentTypeSub": "减少"
            },
            "x-enum-varnames": [
                "PriceAdjustmentTypeAdd",
                "PriceAdjustmentTypeSub"
            ]
        },
        "purchase.Purchase": {
            "type": "object",
@@ -8339,40 +8609,136 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "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": "采购名称",
                    "type": "string"
                },
                "number": {
                    "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": {
                    "$ref": "#/definitions/purchase.PurchaseType"
                },
                "purchaseTypeId": {
                    "description": "采购类型id",
                    "type": "integer"
                },
                "quantity": {
                    "description": "采购数量",
                    "type": "number"
                },
                "realTotalPrice": {
                    "description": "最终价格",
                    "type": "number"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "shouldPayAmount": {
                    "description": "应付金额",
                    "type": "number"
                },
                "signingDate": {
                    "description": "签约日期",
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
                        {
                            "$ref": "#/definitions/purchase.OrderStatus"
                        }
                    ]
                },
                "supplier": {
                    "$ref": "#/definitions/test.Supplier"
                },
                "supplierId": {
                    "description": "供应商id",
                    "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"
                        }
                    ]
                }
            }
        },
@@ -8384,7 +8750,6 @@
                    "type": "number"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -8410,8 +8775,53 @@
                "total": {
                    "description": "采购总价",
                    "type": "number"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
        "purchase.PurchaseType": {
            "type": "object",
            "properties": {
                "created_at": {
                    "type": "string"
                },
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                },
                "name": {
                    "description": "采购类型",
                    "type": "string"
                },
                "pin": {
                    "description": "是否置顶",
                    "type": "boolean"
                },
                "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",
@@ -8423,7 +8833,131 @@
                    }
                },
                "purchase": {
                    "$ref": "#/definitions/purchase.Purchase"
                    "$ref": "#/definitions/purchaserequest.Purchase"
                }
            }
        },
        "purchaserequest.Purchase": {
            "type": "object",
            "properties": {
                "contact": {
                    "description": "联系人",
                    "type": "string"
                },
                "deliveryDate": {
                    "description": "交付日期",
                    "type": "string"
                },
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                },
                "name": {
                    "description": "采购名称",
                    "type": "string"
                },
                "number": {
                    "description": "采购编号",
                    "type": "string"
                },
                "phone": {
                    "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": "备注",
                    "type": "string"
                },
                "signingDate": {
                    "description": "签约日期",
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
                        {
                            "$ref": "#/definitions/purchase.OrderStatus"
                        }
                    ]
                },
                "supplierId": {
                    "description": "供应商id",
                    "type": "integer"
                },
                "totalPrice": {
                    "description": "价税合计",
                    "type": "number"
                },
                "wholeDiscount": {
                    "description": "整单折扣值",
                    "type": "number"
                },
                "wholeDiscountType": {
                    "description": "整单折扣类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/purchase.WholeDiscountType"
                        }
                    ]
                }
            }
        },
        "purchaserequest.PurchaseType": {
            "type": "object",
            "properties": {
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                },
                "name": {
                    "description": "采购类型",
                    "type": "string"
                },
                "pin": {
                    "description": "是否置顶",
                    "type": "boolean"
                },
                "sort": {
                    "description": "排序",
                    "type": "integer"
                }
            }
        },
        "purchaserequest.UpdatePurchase": {
            "type": "object",
            "properties": {
                "productList": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/purchase.PurchaseProducts"
                    }
                },
                "purchase": {
                    "$ref": "#/definitions/purchaserequest.Purchase"
                }
            }
        },
@@ -8673,7 +9207,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -8710,6 +9243,9 @@
                },
                "path": {
                    "description": "api路径",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
@@ -8883,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": {
@@ -9205,7 +9793,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "description": {
@@ -9222,6 +9809,9 @@
                },
                "path": {
                    "description": "api路径",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
@@ -9280,7 +9870,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -9294,6 +9883,9 @@
                    "type": "string"
                },
                "packageName": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
@@ -9318,7 +9910,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "hidden": {
@@ -9364,6 +9955,9 @@
                "sort": {
                    "description": "排序标记",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9371,7 +9965,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -9386,6 +9979,9 @@
                },
                "sysBaseMenuID": {
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9393,7 +9989,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -9411,6 +10006,9 @@
                    "description": "地址栏携带参数为params还是query",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "value": {
                    "description": "地址栏携带参数的值",
                    "type": "string"
@@ -9421,7 +10019,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -9449,6 +10046,9 @@
                "type": {
                    "description": "字典名(英)",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9456,7 +10056,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -9478,6 +10077,9 @@
                "sysDictionaryID": {
                    "description": "关联标记",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                },
                "value": {
                    "description": "字典值",
@@ -9511,7 +10113,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "hidden": {
@@ -9560,6 +10161,9 @@
                "sort": {
                    "description": "排序标记",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9575,7 +10179,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "error_message": {
@@ -9609,6 +10212,9 @@
                "status": {
                    "description": "请求状态",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                },
                "user": {
                    "$ref": "#/definitions/system.SysUser"
@@ -9644,7 +10250,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "email": {
@@ -9675,6 +10280,9 @@
                    "description": "用户侧边主题",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "userName": {
                    "description": "用户登录名",
                    "type": "string"
@@ -9697,14 +10305,7 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "fileContent": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "fileName": {
                    "type": "string"
@@ -9715,6 +10316,9 @@
                },
                "supplierID": {
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9722,7 +10326,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -9731,6 +10334,9 @@
                },
                "name": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9738,7 +10344,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -9746,6 +10351,9 @@
                    "type": "integer"
                },
                "nickname": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "userName": {
@@ -9760,7 +10368,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "deliveryTime": {
@@ -9808,6 +10415,9 @@
                },
                "unit": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9826,8 +10436,10 @@
                "contact": {
                    "type": "string"
                },
                "contract": {
                    "$ref": "#/definitions/test.Contract"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "detailAddress": {
@@ -9864,6 +10476,9 @@
                "supplierType": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "url": {
                    "type": "string"
                }
@@ -9873,7 +10488,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -9882,6 +10496,9 @@
                },
                "name": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        }