fix
wangpengfei
2023-09-05 20acdf9648c20c4b1e0b03af98bd0010bab66f7b
docs/docs.go
@@ -1919,7 +1919,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -1937,6 +1936,11 @@
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -1970,7 +1974,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -1988,6 +1991,11 @@
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -2021,7 +2029,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -2068,6 +2075,11 @@
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
@@ -2100,7 +2112,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -2118,6 +2129,11 @@
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -2189,7 +2205,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -2221,6 +2236,11 @@
                        "type": "integer",
                        "description": "管理ID",
                        "name": "sysUserId",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -2946,7 +2966,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -2959,6 +2978,11 @@
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -2992,7 +3016,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3033,6 +3056,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -3334,7 +3362,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3347,6 +3374,11 @@
                    {
                        "type": "string",
                        "name": "nickname",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -3390,7 +3422,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3431,6 +3462,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -3474,7 +3510,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -3515,6 +3550,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -4170,7 +4210,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -4243,6 +4282,11 @@
                    {
                        "type": "string",
                        "name": "unit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -4276,7 +4320,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -4376,7 +4419,17 @@
                    },
                    {
                        "type": "string",
                        "name": "supplierNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "unit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -4410,7 +4463,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -4510,7 +4562,17 @@
                    },
                    {
                        "type": "string",
                        "name": "supplierNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "unit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -4917,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": [
@@ -5157,7 +5281,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5219,6 +5342,11 @@
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "url",
                        "in": "query"
                    }
@@ -5273,7 +5401,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5359,6 +5486,11 @@
                    {
                        "type": "string",
                        "name": "supplierType",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -5549,7 +5681,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5562,6 +5693,11 @@
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -5595,7 +5731,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5636,6 +5771,11 @@
                    {
                        "type": "string",
                        "name": "startCreatedAt",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -5807,7 +5947,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5839,6 +5978,11 @@
                        "type": "string",
                        "description": "字典名(英)",
                        "name": "type",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -5888,7 +6032,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -5938,6 +6081,11 @@
                        "type": "string",
                        "description": "字典名(英)",
                        "name": "type",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
@@ -6136,7 +6284,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6168,6 +6315,11 @@
                        "type": "integer",
                        "description": "关联标记",
                        "name": "sysDictionaryID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -6223,7 +6375,6 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6273,6 +6424,11 @@
                        "type": "integer",
                        "description": "关联标记",
                        "name": "sysDictionaryID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -6539,7 +6695,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6589,6 +6744,11 @@
                        "type": "integer",
                        "description": "请求状态",
                        "name": "status",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -6656,7 +6816,6 @@
                    },
                    {
                        "type": "string",
                        "description": "创建时间",
                        "name": "created_at",
                        "in": "query"
                    },
@@ -6724,6 +6883,11 @@
                        "type": "integer",
                        "description": "请求状态",
                        "name": "status",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    },
                    {
@@ -8275,7 +8439,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "customerName": {
@@ -8305,6 +8468,9 @@
                "sysUserId": {
                    "description": "管理ID",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -8315,7 +8481,6 @@
                    "type": "integer"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "exaFileChunk": {
@@ -8339,6 +8504,9 @@
                },
                "isFinish": {
                    "type": "boolean"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -8346,7 +8514,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "exaFileID": {
@@ -8361,6 +8528,9 @@
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -8368,7 +8538,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -8385,6 +8554,9 @@
                },
                "tag": {
                    "description": "文件标签",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "url": {
@@ -8437,7 +8609,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "creator": {
@@ -8496,6 +8667,10 @@
                        }
                    ]
                },
                "principal": {
                    "description": "采购负责人",
                    "type": "string"
                },
                "purchaseType": {
                    "$ref": "#/definitions/purchase.PurchaseType"
                },
@@ -8546,6 +8721,9 @@
                    "description": "未收票金额",
                    "type": "number"
                },
                "updated_at": {
                    "type": "string"
                },
                "warehouse": {
                    "description": "收货仓库",
                    "type": "string"
@@ -8572,7 +8750,6 @@
                    "type": "number"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -8598,6 +8775,9 @@
                "total": {
                    "description": "采购总价",
                    "type": "number"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -8605,7 +8785,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -8623,23 +8802,23 @@
                "sort": {
                    "description": "排序",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
        "purchase.WholeDiscountType": {
            "type": "integer",
            "enum": [
                0,
                1,
                2
            ],
            "x-enum-comments": {
                "WholeDiscountTypeDefault": "无折扣",
                "WholeDiscountTypeDiscount": "直接降价",
                "WholeDiscountTypePercent": "百分比降价"
            },
            "x-enum-varnames": [
                "WholeDiscountTypeDefault",
                "WholeDiscountTypePercent",
                "WholeDiscountTypeDiscount"
            ]
@@ -9028,7 +9207,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -9065,6 +9243,9 @@
                },
                "path": {
                    "description": "api路径",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
@@ -9612,7 +9793,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "description": {
@@ -9629,6 +9809,9 @@
                },
                "path": {
                    "description": "api路径",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
@@ -9687,7 +9870,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -9701,6 +9883,9 @@
                    "type": "string"
                },
                "packageName": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
@@ -9725,7 +9910,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "hidden": {
@@ -9771,6 +9955,9 @@
                "sort": {
                    "description": "排序标记",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9778,7 +9965,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -9793,6 +9979,9 @@
                },
                "sysBaseMenuID": {
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9800,7 +9989,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -9818,6 +10006,9 @@
                    "description": "地址栏携带参数为params还是query",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "value": {
                    "description": "地址栏携带参数的值",
                    "type": "string"
@@ -9828,7 +10019,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "desc": {
@@ -9856,6 +10046,9 @@
                "type": {
                    "description": "字典名(英)",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9863,7 +10056,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -9885,6 +10077,9 @@
                "sysDictionaryID": {
                    "description": "关联标记",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                },
                "value": {
                    "description": "字典值",
@@ -9918,7 +10113,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "hidden": {
@@ -9967,6 +10161,9 @@
                "sort": {
                    "description": "排序标记",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -9982,7 +10179,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "error_message": {
@@ -10016,6 +10212,9 @@
                "status": {
                    "description": "请求状态",
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                },
                "user": {
                    "$ref": "#/definitions/system.SysUser"
@@ -10051,7 +10250,6 @@
                    "type": "string"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "email": {
@@ -10082,6 +10280,9 @@
                    "description": "用户侧边主题",
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "userName": {
                    "description": "用户登录名",
                    "type": "string"
@@ -10104,7 +10305,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "fileName": {
@@ -10116,6 +10316,9 @@
                },
                "supplierID": {
                    "type": "integer"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -10123,7 +10326,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -10132,6 +10334,9 @@
                },
                "name": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -10139,7 +10344,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -10147,6 +10351,9 @@
                    "type": "integer"
                },
                "nickname": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "userName": {
@@ -10161,7 +10368,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "deliveryTime": {
@@ -10209,6 +10415,9 @@
                },
                "unit": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -10231,7 +10440,6 @@
                    "$ref": "#/definitions/test.Contract"
                },
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "detailAddress": {
@@ -10268,6 +10476,9 @@
                "supplierType": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "url": {
                    "type": "string"
                }
@@ -10277,7 +10488,6 @@
            "type": "object",
            "properties": {
                "created_at": {
                    "description": "创建时间",
                    "type": "string"
                },
                "id": {
@@ -10286,6 +10496,9 @@
                },
                "name": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        }