safety-eval-service-frontend/.api/safetyEval-org-personnel-fi.../spec.json

67 lines
3.0 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"openapi": "3.0.1",
"info": {
"title": "资质备案人员分页查询",
"version": "1.0.0"
},
"paths": {
"/safetyEval/org-personnel/filing/page": {
"get": {
"summary": "资质备案人员分页查询",
"tags": ["人员信息管理"],
"parameters": [
{ "name": "current", "in": "query", "schema": { "type": "integer", "format": "int64", "default": 1 } },
{ "name": "size", "in": "query", "schema": { "type": "integer", "format": "int64", "default": 10 } },
{ "name": "orders", "in": "query", "schema": { "type": "string" } },
{ "name": "startTime", "in": "query", "schema": { "type": "string" } },
{ "name": "endTime", "in": "query", "schema": { "type": "string" } },
{ "name": "keyword", "in": "query", "schema": { "type": "string" } },
{ "name": "orgId", "in": "query", "schema": { "type": "integer", "format": "int64" } },
{ "name": "personName", "in": "query", "schema": { "type": "string" } }
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/PageResponseQualFilingPersonnelInfoCO" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"PageResponseQualFilingPersonnelInfoCO": {
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"message": { "type": "string" },
"errMessage": { "type": "string" },
"data": { "type": "array", "items": { "$ref": "#/components/schemas/QualFilingPersonnelInfoCO" } },
"total": { "type": "integer", "format": "int64" }
}
},
"QualFilingPersonnelInfoCO": {
"type": "object",
"properties": {
"id": { "type": "string", "description": "主键ID (后端 Long / int64前端按字符串保证精度)" },
"filingId": { "type": "string", "description": "备案ID (后端 Long / int64)" },
"sourcePersonnelId": { "type": "string", "description": "原始人员ID (后端 Long / int64)" },
"personName": { "type": "string", "description": "人员姓名" },
"deptName": { "type": "string", "description": "部门名称" },
"positionName": { "type": "string", "description": "岗位名称" },
"genderCode": { "type": "integer", "description": "性别编码(1男2女)" },
"genderName": { "type": "string", "description": "性别名称" },
"birthDate": { "type": "string", "description": "出生日期" },
"registerEngineerFlag": { "type": "integer", "description": "是否注册安全工程师(1是2否)" },
"evaluatorCertNo": { "type": "string", "description": "评价师证书编号" },
"professionalCapabilityCodeList": { "type": "array", "items": { "type": "string" }, "description": "能力codeList" }
}
}
}
}
}