{
  "openapi": "3.0.1",
  "info": {
    "title": "采购管理模块",
    "description": "",
    "version": "1.0.0"
  },
  "tags": [
    {
      "name": "特殊情况管理"
    },
    {
      "name": "采购附件管理"
    },
    {
      "name": "采购品目管理"
    },
    {
      "name": "校领导（党委）管理"
    },
    {
      "name": "业务分管管理"
    },
    {
      "name": "招标代理管理"
    },
    {
      "name": "采购申请管理"
    }
  ],
  "paths": {
    "/purchase/purchasingspec": {
      "post": {
        "summary": "新增特殊情况",
        "deprecated": false,
        "description": "新增特殊情况表",
        "operationId": "save_2",
        "tags": [
          "特殊情况管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingSpec"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingspec/edit": {
      "post": {
        "summary": "修改特殊情况",
        "deprecated": false,
        "description": "修改特殊情况表",
        "operationId": "updateById_2",
        "tags": [
          "特殊情况管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingSpec"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingspec/delete": {
      "post": {
        "summary": "删除特殊情况",
        "deprecated": false,
        "description": "通过id删除特殊情况表",
        "operationId": "removeById_2",
        "tags": [
          "特殊情况管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingspec/{id}": {
      "get": {
        "summary": "通过id查询",
        "deprecated": false,
        "description": "通过id查询特殊情况表",
        "operationId": "getById",
        "tags": [
          "特殊情况管理"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "特殊情况ID",
            "required": true,
            "example": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingspec/page": {
      "get": {
        "summary": "分页查询",
        "deprecated": false,
        "description": "分页查询特殊情况表",
        "operationId": "getPurchasingSpecPage",
        "tags": [
          "特殊情况管理"
        ],
        "parameters": [
          {
            "name": "current",
            "in": "query",
            "description": "当前页",
            "required": false,
            "example": "1",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "每页大小",
            "required": false,
            "example": "10",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "主键",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "主键"
            }
          },
          {
            "name": "createBy",
            "in": "query",
            "description": "创建人",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "创建人",
              "readOnly": true
            }
          },
          {
            "name": "createTime",
            "in": "query",
            "description": "创建时间",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "创建时间",
              "readOnly": true
            }
          },
          {
            "name": "updateBy",
            "in": "query",
            "description": "更新人",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "更新人",
              "readOnly": true
            }
          },
          {
            "name": "updateTime",
            "in": "query",
            "description": "更新时间",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "更新时间",
              "readOnly": true
            }
          },
          {
            "name": "delFlag",
            "in": "query",
            "description": "删除标记",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "删除标记",
              "readOnly": true
            }
          },
          {
            "name": "remark",
            "in": "query",
            "description": "备注",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "备注"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "特殊情况名称",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "特殊情况名称"
            }
          },
          {
            "name": "template",
            "in": "query",
            "description": "需求模版下载",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "需求模版下载"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingfiles/upload": {
      "post": {
        "summary": "上传采购附件",
        "deprecated": false,
        "description": "上传采购附件，支持关联采购申请ID与文件类型",
        "operationId": "upload",
        "tags": [
          "采购附件管理"
        ],
        "parameters": [
          {
            "name": "purchaseId",
            "in": "query",
            "description": "采购申请ID（可选）",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileType",
            "in": "query",
            "description": "文件类型（可选，默认10）",
            "required": false,
            "example": "10",
            "schema": {
              "type": "string",
              "default": "10"
            }
          },
          {
            "name": "file",
            "in": "query",
            "description": "上传文件",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "上传文件"
                  }
                },
                "required": [
                  "file"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingfiles/show": {
      "post": {
        "summary": "查看采购附件",
        "deprecated": false,
        "description": "根据文件名查看采购附件内容",
        "operationId": "show",
        "tags": [
          "采购附件管理"
        ],
        "parameters": [
          {
            "name": "fileName",
            "in": "query",
            "description": "文件名/存储路径",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingfiles/applyFiles": {
      "post": {
        "summary": "查看上传的采购附件列表",
        "deprecated": false,
        "description": "查看上传的采购附件列表",
        "operationId": "applyFiles",
        "tags": [
          "采购附件管理"
        ],
        "parameters": [
          {
            "name": "purchaseId",
            "in": "query",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingcategory": {
      "post": {
        "summary": "新增采购品目",
        "deprecated": false,
        "description": "新增采购-品目",
        "operationId": "save_3",
        "tags": [
          "采购品目管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingCategory"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingcategory/edit": {
      "post": {
        "summary": "修改采购品目",
        "deprecated": false,
        "description": "修改采购-品目",
        "operationId": "updateById_3",
        "tags": [
          "采购品目管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingCategory"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingcategory/delete": {
      "post": {
        "summary": "删除采购品目",
        "deprecated": false,
        "description": "通过id删除采购-品目",
        "operationId": "removeById_3",
        "tags": [
          "采购品目管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingcategory/tree": {
      "get": {
        "summary": "获取树形结构",
        "deprecated": false,
        "description": "获取采购品目树形结构",
        "operationId": "getTree",
        "tags": [
          "采购品目管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingSchoolLeader": {
      "put": {
        "summary": "修改校领导（党委）",
        "deprecated": false,
        "description": "修改校领导（党委）",
        "operationId": "updateById",
        "tags": [
          "校领导（党委）管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingSchoolLeaderEntity"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "post": {
        "summary": "新增校领导（党委）",
        "deprecated": false,
        "description": "新增校领导（党委）",
        "operationId": "save",
        "tags": [
          "校领导（党委）管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingSchoolLeaderEntity"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "delete": {
        "summary": "通过id删除校领导（党委）",
        "deprecated": false,
        "description": "通过id删除校领导（党委）",
        "operationId": "removeById",
        "tags": [
          "校领导（党委）管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    },
    "/purchase/purchasingSchoolLeader/page": {
      "get": {
        "summary": "分页查询",
        "deprecated": false,
        "description": "分页查询",
        "operationId": "getPurchasingSchoolLeaderPage",
        "tags": [
          "校领导（党委）管理"
        ],
        "parameters": [
          {
            "name": "records",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          {
            "name": "total",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "current",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "主键",
            "required": false,
            "schema": {
              "type": "string",
              "description": "主键"
            }
          },
          {
            "name": "remark",
            "in": "query",
            "description": "备注",
            "required": false,
            "schema": {
              "type": "string",
              "description": "备注"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "用户ID",
            "required": false,
            "schema": {
              "type": "string",
              "description": "用户ID"
            }
          },
          {
            "name": "username",
            "in": "query",
            "description": "用户工号",
            "required": false,
            "schema": {
              "type": "string",
              "description": "用户工号"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "姓名",
            "required": false,
            "schema": {
              "type": "string",
              "description": "姓名"
            }
          },
          {
            "name": "createBy",
            "in": "query",
            "description": "创建人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "创建人"
            }
          },
          {
            "name": "createTime",
            "in": "query",
            "description": "创建时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "创建时间"
            }
          },
          {
            "name": "updateBy",
            "in": "query",
            "description": "更新人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "更新人"
            }
          },
          {
            "name": "updateTime",
            "in": "query",
            "description": "更新时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "更新时间"
            }
          },
          {
            "name": "delFlag",
            "in": "query",
            "description": "删除标记",
            "required": false,
            "schema": {
              "type": "string",
              "description": "删除标记"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    },
    "/purchase/purchasingSchoolLeader/details": {
      "get": {
        "summary": "通过条件查询",
        "deprecated": false,
        "description": "通过条件查询对象",
        "operationId": "getDetails",
        "tags": [
          "校领导（党委）管理"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "主键",
            "required": false,
            "schema": {
              "type": "string",
              "description": "主键"
            }
          },
          {
            "name": "remark",
            "in": "query",
            "description": "备注",
            "required": false,
            "schema": {
              "type": "string",
              "description": "备注"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "用户ID",
            "required": false,
            "schema": {
              "type": "string",
              "description": "用户ID"
            }
          },
          {
            "name": "username",
            "in": "query",
            "description": "用户工号",
            "required": false,
            "schema": {
              "type": "string",
              "description": "用户工号"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "姓名",
            "required": false,
            "schema": {
              "type": "string",
              "description": "姓名"
            }
          },
          {
            "name": "createBy",
            "in": "query",
            "description": "创建人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "创建人"
            }
          },
          {
            "name": "createTime",
            "in": "query",
            "description": "创建时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "创建时间"
            }
          },
          {
            "name": "updateBy",
            "in": "query",
            "description": "更新人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "更新人"
            }
          },
          {
            "name": "updateTime",
            "in": "query",
            "description": "更新时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "更新时间"
            }
          },
          {
            "name": "delFlag",
            "in": "query",
            "description": "删除标记",
            "required": false,
            "schema": {
              "type": "string",
              "description": "删除标记"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    },
    "/purchase/purchasingBusinessDept": {
      "put": {
        "summary": "修改业务分管",
        "deprecated": false,
        "description": "修改业务分管",
        "operationId": "updateById_1",
        "tags": [
          "业务分管管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingBusinessDeptEntity"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "post": {
        "summary": "新增业务分管",
        "deprecated": false,
        "description": "新增业务分管",
        "operationId": "save_1",
        "tags": [
          "业务分管管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingBusinessDeptEntity"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "delete": {
        "summary": "通过id删除业务分管",
        "deprecated": false,
        "description": "通过id删除业务分管",
        "operationId": "removeById_1",
        "tags": [
          "业务分管管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    },
    "/purchase/purchasingBusinessDept/page": {
      "get": {
        "summary": "分页查询",
        "deprecated": false,
        "description": "分页查询",
        "operationId": "getPurchasingBusinessDeptPage",
        "tags": [
          "业务分管管理"
        ],
        "parameters": [
          {
            "name": "records",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          {
            "name": "total",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "current",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "主键",
            "required": false,
            "schema": {
              "type": "string",
              "description": "主键"
            }
          },
          {
            "name": "remark",
            "in": "query",
            "description": "备注",
            "required": false,
            "schema": {
              "type": "string",
              "description": "备注"
            }
          },
          {
            "name": "deptId",
            "in": "query",
            "description": "部门ID",
            "required": false,
            "schema": {
              "type": "string",
              "description": "部门ID"
            }
          },
          {
            "name": "deptName",
            "in": "query",
            "description": "部门名称",
            "required": false,
            "schema": {
              "type": "string",
              "description": "部门名称"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "分管负责人ID",
            "required": false,
            "schema": {
              "type": "string",
              "description": "分管负责人ID"
            }
          },
          {
            "name": "username",
            "in": "query",
            "description": "分管负责人工号",
            "required": false,
            "schema": {
              "type": "string",
              "description": "分管负责人工号"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "姓名",
            "required": false,
            "schema": {
              "type": "string",
              "description": "姓名"
            }
          },
          {
            "name": "createBy",
            "in": "query",
            "description": "创建人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "创建人"
            }
          },
          {
            "name": "createTime",
            "in": "query",
            "description": "创建时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "创建时间"
            }
          },
          {
            "name": "updateBy",
            "in": "query",
            "description": "更新人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "更新人"
            }
          },
          {
            "name": "updateTime",
            "in": "query",
            "description": "更新时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "更新时间"
            }
          },
          {
            "name": "delFlag",
            "in": "query",
            "description": "删除标记",
            "required": false,
            "schema": {
              "type": "string",
              "description": "删除标记"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    },
    "/purchase/purchasingBusinessDept/details": {
      "get": {
        "summary": "通过条件查询",
        "deprecated": false,
        "description": "通过条件查询对象",
        "operationId": "getDetails_1",
        "tags": [
          "业务分管管理"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "主键",
            "required": false,
            "schema": {
              "type": "string",
              "description": "主键"
            }
          },
          {
            "name": "remark",
            "in": "query",
            "description": "备注",
            "required": false,
            "schema": {
              "type": "string",
              "description": "备注"
            }
          },
          {
            "name": "deptId",
            "in": "query",
            "description": "部门ID",
            "required": false,
            "schema": {
              "type": "string",
              "description": "部门ID"
            }
          },
          {
            "name": "deptName",
            "in": "query",
            "description": "部门名称",
            "required": false,
            "schema": {
              "type": "string",
              "description": "部门名称"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "description": "分管负责人ID",
            "required": false,
            "schema": {
              "type": "string",
              "description": "分管负责人ID"
            }
          },
          {
            "name": "username",
            "in": "query",
            "description": "分管负责人工号",
            "required": false,
            "schema": {
              "type": "string",
              "description": "分管负责人工号"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "姓名",
            "required": false,
            "schema": {
              "type": "string",
              "description": "姓名"
            }
          },
          {
            "name": "createBy",
            "in": "query",
            "description": "创建人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "创建人"
            }
          },
          {
            "name": "createTime",
            "in": "query",
            "description": "创建时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "创建时间"
            }
          },
          {
            "name": "updateBy",
            "in": "query",
            "description": "更新人",
            "required": false,
            "schema": {
              "type": "string",
              "description": "更新人"
            }
          },
          {
            "name": "updateTime",
            "in": "query",
            "description": "更新时间",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "更新时间"
            }
          },
          {
            "name": "delFlag",
            "in": "query",
            "description": "删除标记",
            "required": false,
            "schema": {
              "type": "string",
              "description": "删除标记"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    },
    "/purchase/purchasingagent": {
      "post": {
        "summary": "新增招标代理",
        "deprecated": false,
        "description": "新增招标代理表",
        "operationId": "save_4",
        "tags": [
          "招标代理管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingAgent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RBoolean"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingagent/edit": {
      "post": {
        "summary": "修改招标代理",
        "deprecated": false,
        "description": "修改招标代理表",
        "operationId": "updateById_5",
        "tags": [
          "招标代理管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingAgent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RBoolean"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingagent/delete": {
      "post": {
        "summary": "删除招标代理",
        "deprecated": false,
        "description": "通过id删除招标代理表",
        "operationId": "removeById_5",
        "tags": [
          "招标代理管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RBoolean"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingagent/{id}": {
      "get": {
        "summary": "通过id查询",
        "deprecated": false,
        "description": "通过id查询招标代理表",
        "operationId": "getById_2",
        "tags": [
          "招标代理管理"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "招标代理ID",
            "required": true,
            "example": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RPurchasingAgent"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingagent/page": {
      "get": {
        "summary": "分页查询",
        "deprecated": false,
        "description": "分页查询招标代理表",
        "operationId": "getPurchasingAgentPage",
        "tags": [
          "招标代理管理"
        ],
        "parameters": [
          {
            "name": "current",
            "in": "query",
            "description": "当前页",
            "required": false,
            "example": "1",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "每页大小",
            "required": false,
            "example": "10",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "主键",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "主键"
            }
          },
          {
            "name": "createBy",
            "in": "query",
            "description": "创建人",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "创建人",
              "readOnly": true
            }
          },
          {
            "name": "createTime",
            "in": "query",
            "description": "创建时间",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "创建时间",
              "readOnly": true
            }
          },
          {
            "name": "updateBy",
            "in": "query",
            "description": "更新人",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "更新人",
              "readOnly": true
            }
          },
          {
            "name": "updateTime",
            "in": "query",
            "description": "更新时间",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "更新时间",
              "readOnly": true
            }
          },
          {
            "name": "delFlag",
            "in": "query",
            "description": "删除标记",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "删除标记",
              "readOnly": true
            }
          },
          {
            "name": "remark",
            "in": "query",
            "description": "备注",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "备注"
            }
          },
          {
            "name": "agentName",
            "in": "query",
            "description": "代理名称",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "代理名称"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RPagePurchasingAgent"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingapply/test": {
      "post": {
        "summary": "test",
        "deprecated": false,
        "description": "",
        "operationId": "test",
        "tags": [
          "采购申请管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingapply/temp-store": {
      "post": {
        "summary": "暂存采购申请",
        "deprecated": false,
        "description": "暂存采购申请表（不启动流程）",
        "operationId": "tempStore",
        "tags": [
          "采购申请管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingApply"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingapply/submit": {
      "post": {
        "summary": "提交采购申请",
        "deprecated": false,
        "description": "提交已暂存的采购申请（根据id从数据库加载后启动流程）",
        "operationId": "submit",
        "tags": [
          "采购申请管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingApply"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingapply/edit": {
      "post": {
        "summary": "修改采购申请",
        "deprecated": false,
        "description": "修改采购申请表",
        "operationId": "updateById_4",
        "tags": [
          "采购申请管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PurchasingApply"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingapply/delete": {
      "post": {
        "summary": "删除采购申请",
        "deprecated": false,
        "description": "通过id删除采购申请表",
        "operationId": "removeById_4",
        "tags": [
          "采购申请管理"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "integer",
                "format": "int64"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingapply/{id}": {
      "get": {
        "summary": "通过id查询",
        "deprecated": false,
        "description": "通过id查询采购申请表",
        "operationId": "getById_1",
        "tags": [
          "采购申请管理"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "采购申请ID",
            "required": true,
            "example": 0,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    },
    "/purchase/purchasingapply/page": {
      "get": {
        "summary": "分页查询",
        "deprecated": false,
        "description": "分页查询采购申请表",
        "operationId": "getPurchasingApplyPage",
        "tags": [
          "采购申请管理"
        ],
        "parameters": [
          {
            "name": "current",
            "in": "query",
            "description": "当前页",
            "required": false,
            "example": "1",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "每页大小",
            "required": false,
            "example": "10",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "description": "主键ID",
            "required": false,
            "example": 0,
            "schema": {
              "type": "integer",
              "format": "int64",
              "description": "主键ID"
            }
          },
          {
            "name": "code",
            "in": "query",
            "description": "编号",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "编号"
            }
          },
          {
            "name": "createBy",
            "in": "query",
            "description": "创建人",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "创建人",
              "readOnly": true
            }
          },
          {
            "name": "createUserId",
            "in": "query",
            "description": "创建人ID",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "创建人ID",
              "readOnly": true
            }
          },
          {
            "name": "updateUserId",
            "in": "query",
            "description": "创建人ID",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "创建人ID",
              "readOnly": true
            }
          },
          {
            "name": "createTime",
            "in": "query",
            "description": "创建时间",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "创建时间",
              "readOnly": true
            }
          },
          {
            "name": "updateBy",
            "in": "query",
            "description": "更新人",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "更新人",
              "readOnly": true
            }
          },
          {
            "name": "updateTime",
            "in": "query",
            "description": "更新时间",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "更新时间",
              "readOnly": true
            }
          },
          {
            "name": "delFlag",
            "in": "query",
            "description": "删除标记",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "删除标记",
              "readOnly": true
            }
          },
          {
            "name": "remark",
            "in": "query",
            "description": "备注",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "备注"
            }
          },
          {
            "name": "purchaseNo",
            "in": "query",
            "description": "采购编号",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "采购编号"
            }
          },
          {
            "name": "projectName",
            "in": "query",
            "description": "采购项目名称",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "采购项目名称"
            }
          },
          {
            "name": "projectType",
            "in": "query",
            "description": "项目类别 A:货物 B:工程 C:服务",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "项目类别 A:货物 B:工程 C:服务"
            }
          },
          {
            "name": "categoryCode",
            "in": "query",
            "description": "品目类型代码",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "品目类型代码"
            }
          },
          {
            "name": "projectContent",
            "in": "query",
            "description": "采购内容",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "采购内容"
            }
          },
          {
            "name": "applyDate",
            "in": "query",
            "description": "填报日期",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "format": "date",
              "description": "填报日期"
            }
          },
          {
            "name": "fundSource",
            "in": "query",
            "description": "资金来源",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "资金来源"
            }
          },
          {
            "name": "budget",
            "in": "query",
            "description": "预算金额(元)",
            "required": false,
            "example": 0,
            "schema": {
              "type": "number",
              "description": "预算金额(元)"
            }
          },
          {
            "name": "isCentralized",
            "in": "query",
            "description": "是否集采 0:否 1:是",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "是否集采 0:否 1:是"
            }
          },
          {
            "name": "isSpecial",
            "in": "query",
            "description": "是否特殊情况 0:否 1:紧急 2:单一 3:进口",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "是否特殊情况 0:否 1:紧急 2:单一 3:进口"
            }
          },
          {
            "name": "purchaseMode",
            "in": "query",
            "description": "采购形式 0:部门自行采购 2:学校统一采购",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "采购形式 0:部门自行采购 2:学校统一采购"
            }
          },
          {
            "name": "purchaseSchool",
            "in": "query",
            "description": "学校统一采购方式 0:无 1:政府采购 2:学校自主采购",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "学校统一采购方式 0:无 1:政府采购 2:学校自主采购"
            }
          },
          {
            "name": "purchaseType",
            "in": "query",
            "description": "采购方式",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "采购方式"
            }
          },
          {
            "name": "flowKey",
            "in": "query",
            "description": "工单流程KEY",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "工单流程KEY"
            }
          },
          {
            "name": "flowInstId",
            "in": "query",
            "description": "流程ID",
            "required": false,
            "example": 0,
            "schema": {
              "type": "integer",
              "format": "int64",
              "description": "流程ID"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "状态 -2撤回 -1暂存 0运行中 1完成 2作废 3终止",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "状态 -2撤回 -1暂存 0运行中 1完成 2作废 3终止"
            }
          },
          {
            "name": "deptCode",
            "in": "query",
            "description": "部门代码",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "部门代码"
            }
          },
          {
            "name": "deptName",
            "in": "query",
            "description": "部门名称",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "部门名称"
            }
          },
          {
            "name": "deptClassifyUserId",
            "in": "query",
            "description": "业务分管部门用户ID",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "业务分管部门用户ID"
            }
          },
          {
            "name": "deptClassifyName",
            "in": "query",
            "description": "业务分管部门用户姓名",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "业务分管部门用户姓名"
            }
          },
          {
            "name": "schoolLeaderUserId",
            "in": "query",
            "description": "业务分管部门用户ID",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "业务分管部门用户ID"
            }
          },
          {
            "name": "schoolLeaderName",
            "in": "query",
            "description": "业务分管部门用户ID",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "业务分管部门用户ID"
            }
          },
          {
            "name": "hasSupplier",
            "in": "query",
            "description": "是否有意向供应商",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "是否有意向供应商"
            }
          },
          {
            "name": "suppliers",
            "in": "query",
            "description": "供应商名称",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "供应商名称"
            }
          },
          {
            "name": "deptCommission",
            "in": "query",
            "description": "委托采购中心采购-采购方式",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "委托采购中心采购-采购方式"
            }
          },
          {
            "name": "fileIds",
            "in": "query",
            "description": "附件ID列表",
            "required": false,
            "example": "",
            "schema": {
              "type": "array",
              "description": "附件ID列表",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "runJobId",
            "in": "query",
            "description": "当前运行任务ID",
            "required": false,
            "example": "",
            "schema": {
              "type": "string",
              "description": "当前运行任务ID"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "",
            "example": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1",
            "schema": {
              "type": "string",
              "default": "Bearer 2f8c7e28-64f2-45c8-8977-2d0c97aa14f1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/R"
                }
              }
            },
            "headers": {}
          }
        },
        "security": []
      }
    }
  },
  "components": {
    "schemas": {
      "R": {
        "type": "object",
        "description": "响应信息主体",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "description": "返回标记：成功标记=0，失败标记=1"
          },
          "msg": {
            "type": "string",
            "description": "返回信息"
          },
          "data": {
            "type": "object",
            "description": "数据",
            "properties": {}
          },
          "ok": {
            "type": "boolean",
            "readOnly": true
          }
        }
      },
      "PurchasingSpec": {
        "type": "object",
        "description": "特殊情况表",
        "properties": {
          "id": {
            "type": "string",
            "description": "主键"
          },
          "createBy": {
            "type": "string",
            "description": "创建人",
            "readOnly": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "创建时间",
            "readOnly": true
          },
          "updateBy": {
            "type": "string",
            "description": "更新人",
            "readOnly": true
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "description": "更新时间",
            "readOnly": true
          },
          "delFlag": {
            "type": "string",
            "description": "删除标记",
            "readOnly": true
          },
          "remark": {
            "type": "string",
            "description": "备注"
          },
          "name": {
            "type": "string",
            "description": "特殊情况名称"
          },
          "template": {
            "type": "string",
            "description": "需求模版下载"
          }
        }
      },
      "PurchasingSchoolLeaderEntity": {
        "type": "object",
        "description": "校领导（党委）",
        "properties": {
          "id": {
            "type": "string",
            "description": "主键"
          },
          "remark": {
            "type": "string",
            "description": "备注"
          },
          "userId": {
            "type": "string",
            "description": "用户ID"
          },
          "username": {
            "type": "string",
            "description": "用户工号"
          },
          "name": {
            "type": "string",
            "description": "姓名"
          },
          "createBy": {
            "type": "string",
            "description": "创建人"
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "创建时间"
          },
          "updateBy": {
            "type": "string",
            "description": "更新人"
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "description": "更新时间"
          },
          "delFlag": {
            "type": "string",
            "description": "删除标记"
          }
        }
      },
      "PurchasingCategory": {
        "type": "object",
        "description": "采购-品目",
        "properties": {
          "id": {
            "type": "string",
            "description": "主键"
          },
          "createBy": {
            "type": "string",
            "description": "创建人",
            "readOnly": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "创建时间",
            "readOnly": true
          },
          "updateBy": {
            "type": "string",
            "description": "更新人",
            "readOnly": true
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "description": "更新时间",
            "readOnly": true
          },
          "delFlag": {
            "type": "string",
            "description": "删除标记",
            "readOnly": true
          },
          "remark": {
            "type": "string",
            "description": "备注"
          },
          "name": {
            "type": "string",
            "description": "品目名称"
          },
          "code": {
            "type": "string",
            "description": "品目编码"
          },
          "parentCode": {
            "type": "string",
            "description": "上级品目编码"
          },
          "isMallService": {
            "type": "string",
            "description": "是否为网上商城服务类 0:否 1:是"
          },
          "isMallProject": {
            "type": "string",
            "description": "是否为网上商城工程类 0:否 1:是"
          }
        }
      },
      "PurchasingBusinessDeptEntity": {
        "type": "object",
        "description": "采购分管业务部门及负责人",
        "properties": {
          "id": {
            "type": "string",
            "description": "主键"
          },
          "remark": {
            "type": "string",
            "description": "备注"
          },
          "deptId": {
            "type": "string",
            "description": "部门ID"
          },
          "deptName": {
            "type": "string",
            "description": "部门名称"
          },
          "userId": {
            "type": "string",
            "description": "分管负责人ID"
          },
          "username": {
            "type": "string",
            "description": "分管负责人工号"
          },
          "name": {
            "type": "string",
            "description": "姓名"
          },
          "createBy": {
            "type": "string",
            "description": "创建人"
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "创建时间"
          },
          "updateBy": {
            "type": "string",
            "description": "更新人"
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "description": "更新时间"
          },
          "delFlag": {
            "type": "string",
            "description": "删除标记"
          }
        }
      },
      "PurchasingApplySaveDTO": {
        "type": "object",
        "description": "采购申请保存DTO",
        "properties": {
          "projectName": {
            "type": "string",
            "description": "采购项目名称"
          },
          "projectType": {
            "type": "string",
            "description": "项目类别 A:货物 B:工程 C:服务"
          },
          "projectContent": {
            "type": "string",
            "description": "采购内容"
          },
          "applyDate": {
            "type": "string",
            "format": "date",
            "description": "填报日期"
          },
          "fundSource": {
            "type": "string",
            "description": "资金来源"
          },
          "budget": {
            "type": "number",
            "description": "预算金额(元)",
            "minimum": 0.01
          },
          "isCentralized": {
            "type": "string",
            "description": "是否集采 0:否 1:是"
          },
          "isSpecial": {
            "type": "string",
            "description": "是否特殊情况 0:否 1:紧急 2:单一 3:进口"
          },
          "purchaseMode": {
            "type": "string",
            "description": "采购形式 0:部门自行采购 2:学校统一采购"
          },
          "purchaseSchool": {
            "type": "string",
            "description": "学校统一采购方式 0:无 1:政府采购 2:学校自主采购"
          },
          "purchaseType": {
            "type": "string",
            "description": "采购方式"
          },
          "categoryCode": {
            "type": "string",
            "description": "品目编码"
          },
          "fileIds": {
            "type": "array",
            "description": "附件ID列表",
            "items": {
              "type": "string"
            }
          },
          "remark": {
            "type": "string",
            "description": "备注"
          }
        },
        "required": [
          "budget",
          "isCentralized",
          "isSpecial",
          "projectContent"
        ]
      },
      "PurchasingApplyVO": {
        "type": "object",
        "description": "采购申请VO",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "description": "主键"
          },
          "code": {
            "type": "string",
            "description": "编号"
          },
          "flowKey": {
            "type": "string",
            "description": "工单流程KEY"
          },
          "flowInstId": {
            "type": "integer",
            "format": "int64",
            "description": "流程ID"
          },
          "createUser": {
            "type": "string",
            "description": "创建人",
            "readOnly": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "创建时间",
            "readOnly": true
          },
          "updateUser": {
            "type": "string",
            "description": "修改人",
            "readOnly": true
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "description": "修改时间",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "description": "状态 -2撤回 -1暂存 0运行中 1完成 2作废 3终止"
          },
          "purchaseNo": {
            "type": "string",
            "description": "采购编号"
          },
          "projectName": {
            "type": "string",
            "description": "采购项目名称"
          },
          "projectType": {
            "type": "string",
            "description": "项目类别 A:货物 B:工程 C:服务"
          },
          "projectContent": {
            "type": "string",
            "description": "采购内容"
          },
          "applyDate": {
            "type": "string",
            "format": "date",
            "description": "填报日期"
          },
          "fundSource": {
            "type": "string",
            "description": "资金来源"
          },
          "budget": {
            "type": "number",
            "description": "预算金额(元)"
          },
          "isCentralized": {
            "type": "string",
            "description": "是否集采 0:否 1:是"
          },
          "isSpecial": {
            "type": "string",
            "description": "是否特殊情况 0:否 1:紧急 2:单一 3:进口"
          },
          "purchaseMode": {
            "type": "string",
            "description": "采购形式 0:部门自行采购 2:学校统一采购"
          },
          "purchaseSchool": {
            "type": "string",
            "description": "学校统一采购方式 0:无 1:政府采购 2:学校自主采购"
          },
          "purchaseType": {
            "type": "string",
            "description": "采购方式"
          },
          "categoryCode": {
            "type": "string",
            "description": "品目编码"
          },
          "fileIds": {
            "type": "array",
            "description": "附件ID列表",
            "items": {
              "type": "string"
            }
          },
          "remark": {
            "type": "string",
            "description": "备注"
          },
          "runJobId": {
            "type": "string",
            "description": "待办任务ID"
          },
          "flowVarUser": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            },
            "description": "流程条件与人员参数",
            "properties": {}
          }
        }
      },
      "PurchasingAgent": {
        "type": "object",
        "description": "招标代理表",
        "properties": {
          "id": {
            "type": "string",
            "description": "主键"
          },
          "createBy": {
            "type": "string",
            "description": "创建人",
            "readOnly": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "创建时间",
            "readOnly": true
          },
          "updateBy": {
            "type": "string",
            "description": "更新人",
            "readOnly": true
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "description": "更新时间",
            "readOnly": true
          },
          "delFlag": {
            "type": "string",
            "description": "删除标记",
            "readOnly": true
          },
          "remark": {
            "type": "string",
            "description": "备注"
          },
          "agentName": {
            "type": "string",
            "description": "代理名称"
          }
        }
      },
      "RBoolean": {
        "type": "object",
        "description": "响应信息主体",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "description": "返回标记：成功标记=0，失败标记=1"
          },
          "msg": {
            "type": "string",
            "description": "返回信息"
          },
          "data": {
            "type": "boolean",
            "description": "数据"
          },
          "ok": {
            "type": "boolean",
            "readOnly": true
          }
        }
      },
      "PurchasingApply": {
        "type": "object",
        "description": "采购申请表",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "description": "主键ID"
          },
          "code": {
            "type": "string",
            "description": "编号"
          },
          "createBy": {
            "type": "string",
            "description": "创建人",
            "readOnly": true
          },
          "createUserId": {
            "type": "string",
            "description": "创建人ID",
            "readOnly": true
          },
          "updateUserId": {
            "type": "string",
            "description": "创建人ID",
            "readOnly": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "创建时间",
            "readOnly": true
          },
          "updateBy": {
            "type": "string",
            "description": "更新人",
            "readOnly": true
          },
          "updateTime": {
            "type": "string",
            "format": "date-time",
            "description": "更新时间",
            "readOnly": true
          },
          "delFlag": {
            "type": "string",
            "description": "删除标记",
            "readOnly": true
          },
          "remark": {
            "type": "string",
            "description": "备注"
          },
          "purchaseNo": {
            "type": "string",
            "description": "采购编号"
          },
          "projectName": {
            "type": "string",
            "description": "采购项目名称"
          },
          "projectType": {
            "type": "string",
            "description": "项目类别 A:货物 B:工程 C:服务"
          },
          "categoryCode": {
            "type": "string",
            "description": "品目类型代码"
          },
          "projectContent": {
            "type": "string",
            "description": "采购内容"
          },
          "applyDate": {
            "type": "string",
            "format": "date",
            "description": "填报日期"
          },
          "fundSource": {
            "type": "string",
            "description": "资金来源"
          },
          "budget": {
            "type": "number",
            "description": "预算金额(元)"
          },
          "isCentralized": {
            "type": "string",
            "description": "是否集采 0:否 1:是"
          },
          "isSpecial": {
            "type": "string",
            "description": "是否特殊情况 0:否 1:紧急 2:单一 3:进口"
          },
          "purchaseMode": {
            "type": "string",
            "description": "采购形式 0:部门自行采购 2:学校统一采购"
          },
          "purchaseSchool": {
            "type": "string",
            "description": "学校统一采购方式 0:无 1:政府采购 2:学校自主采购"
          },
          "purchaseType": {
            "type": "string",
            "description": "采购方式"
          },
          "flowKey": {
            "type": "string",
            "description": "工单流程KEY"
          },
          "flowInstId": {
            "type": "integer",
            "format": "int64",
            "description": "流程ID"
          },
          "status": {
            "type": "string",
            "description": "状态 -2撤回 -1暂存 0运行中 1完成 2作废 3终止"
          },
          "deptCode": {
            "type": "string",
            "description": "部门代码"
          },
          "deptName": {
            "type": "string",
            "description": "部门名称"
          },
          "deptClassifyUserId": {
            "type": "string",
            "description": "业务分管部门用户ID"
          },
          "deptClassifyName": {
            "type": "string",
            "description": "业务分管部门用户姓名"
          },
          "schoolLeaderUserId": {
            "type": "string",
            "description": "业务分管部门用户ID"
          },
          "schoolLeaderName": {
            "type": "string",
            "description": "业务分管部门用户ID"
          },
          "hasSupplier": {
            "type": "string",
            "description": "是否有意向供应商"
          },
          "suppliers": {
            "type": "string",
            "description": "供应商名称"
          },
          "deptCommission": {
            "type": "string",
            "description": "委托采购中心采购-采购方式"
          },
          "fileIds": {
            "type": "array",
            "description": "附件ID列表",
            "items": {
              "type": "string"
            }
          },
          "runJobId": {
            "type": "string",
            "description": "当前运行任务ID"
          }
        }
      },
      "RPurchasingAgent": {
        "type": "object",
        "description": "响应信息主体",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "description": "返回标记：成功标记=0，失败标记=1"
          },
          "msg": {
            "type": "string",
            "description": "返回信息"
          },
          "data": {
            "$ref": "#/components/schemas/PurchasingAgent",
            "description": "数据"
          },
          "ok": {
            "type": "boolean",
            "readOnly": true
          }
        }
      },
      "OrderItem": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string"
          },
          "asc": {
            "type": "boolean"
          }
        }
      },
      "PagePurchasingAgent": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PurchasingAgent"
            }
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "current": {
            "type": "integer",
            "format": "int64"
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItem"
            },
            "writeOnly": true
          },
          "optimizeCountSql": {
            "$ref": "#/components/schemas/PagePurchasingAgent"
          },
          "searchCount": {
            "$ref": "#/components/schemas/PagePurchasingAgent"
          },
          "optimizeJoinOfCountSql": {
            "type": "boolean",
            "writeOnly": true
          },
          "maxLimit": {
            "type": "integer",
            "format": "int64",
            "writeOnly": true
          },
          "countId": {
            "type": "string",
            "writeOnly": true
          },
          "pages": {
            "type": "integer",
            "format": "int64",
            "deprecated": true
          }
        }
      },
      "RPagePurchasingAgent": {
        "type": "object",
        "description": "响应信息主体",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "description": "返回标记：成功标记=0，失败标记=1"
          },
          "msg": {
            "type": "string",
            "description": "返回信息"
          },
          "data": {
            "$ref": "#/components/schemas/PagePurchasingAgent",
            "description": "数据"
          },
          "ok": {
            "type": "boolean",
            "readOnly": true
          }
        }
      }
    },
    "responses": {},
    "securitySchemes": {
      "Authorization": {
        "type": "oauth2",
        "flows": {
          "password": {
            "tokenUrl": "http://cloud-gateway:9999/auth/oauth2/token",
            "scopes": {
              "server": "server"
            }
          }
        }
      }
    }
  },
  "servers": [],
  "security": []
}