Files
school-developer/docs/采购管理模块.openapi.json
2026-01-29 11:47:29 +08:00

2873 lines
76 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"openapi": "3.0.1",
"info": {
"title": "采购管理模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "特殊情况管理"
},
{
"name": "采购附件管理"
},
{
"name": "采购品目管理"
},
{
"name": "采购申请管理"
},
{
"name": "招标代理管理"
}
],
"paths": {
"/purchase/purchasingspec": {
"post": {
"summary": "新增特殊情况",
"deprecated": false,
"description": "新增特殊情况表",
"operationId": "save",
"tags": [
"特殊情况管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"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": "需求模版下载"
}
},
"type": "object"
}
}
},
"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",
"tags": [
"特殊情况管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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",
"tags": [
"特殊情况管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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_1",
"tags": [
"采购品目管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"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:是"
}
},
"type": "object"
}
}
},
"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_1",
"tags": [
"采购品目管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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_1",
"tags": [
"采购品目管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PurchasingApplyVO"
}
}
},
"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": "提交采购申请(启动流程)",
"operationId": "submit",
"tags": [
"采购申请管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PurchasingApplyVO"
}
}
},
"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_2",
"tags": [
"采购申请管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PurchasingApplyVO"
}
}
},
"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_2",
"tags": [
"采购申请管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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": "主键",
"required": false,
"example": 0,
"schema": {
"type": "integer",
"format": "int64",
"description": "主键"
}
},
{
"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": "createUser",
"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": "updateUser",
"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": "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": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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/purchasingagent": {
"post": {
"summary": "新增招标代理",
"deprecated": false,
"description": "新增招标代理表",
"operationId": "save_3",
"tags": [
"招标代理管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"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": "代理名称"
}
},
"type": "object"
}
}
},
"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_3",
"tags": [
"招标代理管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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_3",
"tags": [
"招标代理管理"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "",
"example": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468",
"schema": {
"type": "string",
"default": "Bearer 0185a70b-d5b7-4f3d-bb42-11f6dbe3c468"
}
}
],
"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": []
}
}
},
"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": "需求模版下载"
}
}
},
"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:是"
}
}
},
"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": "主键"
},
"code": {
"type": "string",
"description": "编号"
},
"createBy": {
"type": "string",
"description": "创建人",
"readOnly": true
},
"createUser": {
"type": "string",
"description": "创建人(流程系统使用)",
"readOnly": true
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间",
"readOnly": true
},
"updateBy": {
"type": "string",
"description": "更新人",
"readOnly": true
},
"updateUser": {
"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:服务"
},
"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终止"
}
}
},
"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": []
}