660 lines
18 KiB
JSON
660 lines
18 KiB
JSON
{
|
||
"openapi": "3.0.1",
|
||
"info": {
|
||
"title": "OA移动端Api",
|
||
"version": "v3"
|
||
},
|
||
"paths": {
|
||
"/api/v3/WorkStatistics/TestImToMQ": {
|
||
"get": {
|
||
"tags": [
|
||
"WorkStatistics"
|
||
],
|
||
"summary": "testIM",
|
||
"parameters": [
|
||
{
|
||
"name": "imToUserId",
|
||
"in": "query",
|
||
"description": "",
|
||
"schema": {
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v3/WorkStatistics/WorkDataStatisticsCount": {
|
||
"get": {
|
||
"tags": [
|
||
"WorkStatistics"
|
||
],
|
||
"summary": "工作数量数据统计",
|
||
"parameters": [
|
||
{
|
||
"name": "BeginTime",
|
||
"in": "query",
|
||
"description": "开始时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
},
|
||
{
|
||
"name": "EndTime",
|
||
"in": "query",
|
||
"description": "结束时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"content": {
|
||
"text/plain": {
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/components/schemas/WorkDataStatisticsCountViewDto"
|
||
}
|
||
}
|
||
},
|
||
"application/json": {
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/components/schemas/WorkDataStatisticsCountViewDto"
|
||
}
|
||
}
|
||
},
|
||
"text/json": {
|
||
"schema": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/components/schemas/WorkDataStatisticsCountViewDto"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v3/WorkStatistics/CloudSchoolWorkDataStatistics": {
|
||
"get": {
|
||
"tags": [
|
||
"WorkStatistics"
|
||
],
|
||
"summary": "各云校统计(总部长才有)",
|
||
"parameters": [
|
||
{
|
||
"name": "TaskTypeEnum",
|
||
"in": "query",
|
||
"description": "任务类型枚举",
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
}
|
||
},
|
||
{
|
||
"name": "BeginTime",
|
||
"in": "query",
|
||
"description": "开始时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
},
|
||
{
|
||
"name": "EndTime",
|
||
"in": "query",
|
||
"description": "结束时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"content": {
|
||
"text/plain": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CloudSchoolWorkDataStatisticsViewDto"
|
||
}
|
||
},
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CloudSchoolWorkDataStatisticsViewDto"
|
||
}
|
||
},
|
||
"text/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CloudSchoolWorkDataStatisticsViewDto"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v3/WorkStatistics/SchoolWorkDataStatistics": {
|
||
"get": {
|
||
"tags": [
|
||
"WorkStatistics"
|
||
],
|
||
"summary": "学校统计",
|
||
"parameters": [
|
||
{
|
||
"name": "TaskTypeEnum",
|
||
"in": "query",
|
||
"description": "任务类型枚举",
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
}
|
||
},
|
||
{
|
||
"name": "SeacherKey",
|
||
"in": "query",
|
||
"description": "学校名称搜索",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"name": "CloudSchoolId",
|
||
"in": "query",
|
||
"description": "总部长统计页面-各云校统计页面跳转需要传",
|
||
"schema": {
|
||
"type": "integer",
|
||
"format": "int64",
|
||
"nullable": true
|
||
}
|
||
},
|
||
{
|
||
"name": "BeginTime",
|
||
"in": "query",
|
||
"description": "开始时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
},
|
||
{
|
||
"name": "EndTime",
|
||
"in": "query",
|
||
"description": "结束时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"content": {
|
||
"text/plain": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SchoolWorkDataStatisticsViewDto"
|
||
}
|
||
},
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SchoolWorkDataStatisticsViewDto"
|
||
}
|
||
},
|
||
"text/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SchoolWorkDataStatisticsViewDto"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v3/WorkStatistics/LearningOfficerWorkDataStatistics": {
|
||
"get": {
|
||
"tags": [
|
||
"WorkStatistics"
|
||
],
|
||
"summary": "学习官统计",
|
||
"parameters": [
|
||
{
|
||
"name": "TaskTypeEnum",
|
||
"in": "query",
|
||
"description": "任务类型枚举",
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
}
|
||
},
|
||
{
|
||
"name": "SeacherKey",
|
||
"in": "query",
|
||
"description": "学习官名称搜索",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
{
|
||
"name": "SchoolId",
|
||
"in": "query",
|
||
"description": "学校ID",
|
||
"schema": {
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
},
|
||
{
|
||
"name": "BeginTime",
|
||
"in": "query",
|
||
"description": "开始时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
},
|
||
{
|
||
"name": "EndTime",
|
||
"in": "query",
|
||
"description": "结束时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"content": {
|
||
"text/plain": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/LearningOfficerWorkDataStatisticsViewDto"
|
||
}
|
||
},
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/LearningOfficerWorkDataStatisticsViewDto"
|
||
}
|
||
},
|
||
"text/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/LearningOfficerWorkDataStatisticsViewDto"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v3/WorkStatistics/WorkDataDetailsStatistics": {
|
||
"get": {
|
||
"tags": [
|
||
"WorkStatistics"
|
||
],
|
||
"summary": "统计详细",
|
||
"parameters": [
|
||
{
|
||
"name": "TaskTypeEnum",
|
||
"in": "query",
|
||
"description": "任务类型枚举",
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
}
|
||
},
|
||
{
|
||
"name": "UserId",
|
||
"in": "query",
|
||
"description": "学习官ID",
|
||
"schema": {
|
||
"type": "integer",
|
||
"format": "int64"
|
||
}
|
||
},
|
||
{
|
||
"name": "BeginTime",
|
||
"in": "query",
|
||
"description": "开始时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
},
|
||
{
|
||
"name": "EndTime",
|
||
"in": "query",
|
||
"description": "结束时间 格式 yyyy-MM-dd",
|
||
"schema": {
|
||
"type": "string",
|
||
"format": "date-time",
|
||
"nullable": true
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "OK",
|
||
"content": {
|
||
"text/plain": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/WorkDataDetailsStatisticsViewDto"
|
||
}
|
||
},
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/WorkDataDetailsStatisticsViewDto"
|
||
}
|
||
},
|
||
"text/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/WorkDataDetailsStatisticsViewDto"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"components": {
|
||
"schemas": {
|
||
"CloudSchoolWorkDataStatisticsDetailsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"cloudSchoolName": {
|
||
"type": "string",
|
||
"description": "云校名称"
|
||
},
|
||
"cloudSchoolId": {
|
||
"type": "integer",
|
||
"description": "云校ID",
|
||
"format": "int64"
|
||
},
|
||
"workCount": {
|
||
"type": "integer",
|
||
"description": "工作数量",
|
||
"format": "int32"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"CloudSchoolWorkDataStatisticsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"taskTypeEnum": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
},
|
||
"taskTypeName": {
|
||
"type": "string",
|
||
"description": "任务类型中文"
|
||
},
|
||
"beginTime": {
|
||
"type": "string",
|
||
"description": "统计开始时间 格式yyyy-MM-dd"
|
||
},
|
||
"endTime": {
|
||
"type": "string",
|
||
"description": "统计结束时间 格式yyyy-MM-dd"
|
||
},
|
||
"details": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/components/schemas/CloudSchoolWorkDataStatisticsDetailsViewDto"
|
||
},
|
||
"description": "云校数据"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"LearningOfficerWorkDataStatisticsDetailsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"userId": {
|
||
"type": "integer",
|
||
"description": "学习官ID",
|
||
"format": "int64"
|
||
},
|
||
"realName": {
|
||
"type": "string",
|
||
"description": "学习官名称"
|
||
},
|
||
"workCount": {
|
||
"type": "integer",
|
||
"description": "工作数量",
|
||
"format": "int32"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"LearningOfficerWorkDataStatisticsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"taskTypeEnum": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
},
|
||
"taskTypeName": {
|
||
"type": "string",
|
||
"description": "任务类型中文"
|
||
},
|
||
"beginTime": {
|
||
"type": "string",
|
||
"description": "统计开始时间 格式yyyy-MM-dd"
|
||
},
|
||
"endTime": {
|
||
"type": "string",
|
||
"description": "统计结束时间 格式yyyy-MM-dd"
|
||
},
|
||
"schoolName": {
|
||
"type": "string",
|
||
"description": "学校名称"
|
||
},
|
||
"details": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/components/schemas/LearningOfficerWorkDataStatisticsDetailsViewDto"
|
||
},
|
||
"description": "学习官统计数据"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"SchoolWorkDataStatisticsDetailsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"schoolName": {
|
||
"type": "string",
|
||
"description": "学校名称"
|
||
},
|
||
"schoolId": {
|
||
"type": "integer",
|
||
"description": "学校ID",
|
||
"format": "int64"
|
||
},
|
||
"workCount": {
|
||
"type": "integer",
|
||
"description": "工作数量",
|
||
"format": "int32"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"SchoolWorkDataStatisticsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"taskTypeEnum": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
},
|
||
"taskTypeName": {
|
||
"type": "string",
|
||
"description": "任务类型中文"
|
||
},
|
||
"beginTime": {
|
||
"type": "string",
|
||
"description": "统计开始时间 格式yyyy-MM-dd"
|
||
},
|
||
"endTime": {
|
||
"type": "string",
|
||
"description": "统计结束时间 格式yyyy-MM-dd"
|
||
},
|
||
"cloudSchoolName": {
|
||
"type": "string",
|
||
"description": "云校名称"
|
||
},
|
||
"details": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/components/schemas/SchoolWorkDataStatisticsDetailsViewDto"
|
||
},
|
||
"description": "学校统计数据"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"SysTaskTypeEnums": {
|
||
"enum": [
|
||
1,
|
||
2,
|
||
3,
|
||
4,
|
||
5,
|
||
6,
|
||
7,
|
||
8,
|
||
9,
|
||
10,
|
||
11,
|
||
12,
|
||
13
|
||
],
|
||
"type": "integer",
|
||
"description": "任务类型枚举",
|
||
"format": "int32"
|
||
},
|
||
"WorkDataDetailsStatisticsDetailsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer",
|
||
"description": "任务ID",
|
||
"format": "int64"
|
||
},
|
||
"classesId": {
|
||
"type": "integer",
|
||
"description": "备 注:班级id(班级任务)\r\n默认值:",
|
||
"format": "int64",
|
||
"nullable": true
|
||
},
|
||
"classesName": {
|
||
"type": "string",
|
||
"description": "备 注:班级名称(班级任务)\r\n默认值:",
|
||
"nullable": true
|
||
},
|
||
"startTime": {
|
||
"type": "string",
|
||
"description": "备 注:任务开始时间\r\n默认值:",
|
||
"format": "date-time"
|
||
},
|
||
"endTime": {
|
||
"type": "string",
|
||
"description": "备 注:任务结束时间\r\n默认值:",
|
||
"format": "date-time"
|
||
},
|
||
"taskTitleSuffix": {
|
||
"type": "string",
|
||
"description": "备 注:任务标题后缀,用于展示\r\n默认值:"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"WorkDataDetailsStatisticsViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"taskTypeEnum": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
},
|
||
"taskTypeName": {
|
||
"type": "string",
|
||
"description": "任务类型中文"
|
||
},
|
||
"beginTime": {
|
||
"type": "string",
|
||
"description": "统计开始时间 格式yyyy-MM-dd"
|
||
},
|
||
"endTime": {
|
||
"type": "string",
|
||
"description": "统计结束时间 格式yyyy-MM-dd"
|
||
},
|
||
"realName": {
|
||
"type": "string",
|
||
"description": "学习官名称-统计对象"
|
||
},
|
||
"details": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/components/schemas/WorkDataDetailsStatisticsDetailsViewDto"
|
||
},
|
||
"description": "任务详细"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"WorkDataStatisticsCountViewDto": {
|
||
"type": "object",
|
||
"properties": {
|
||
"taskTypeEnum": {
|
||
"$ref": "#/components/schemas/SysTaskTypeEnums"
|
||
},
|
||
"taskTypeName": {
|
||
"type": "string",
|
||
"description": "任务类型中文"
|
||
},
|
||
"workCount": {
|
||
"type": "integer",
|
||
"description": "工作数量",
|
||
"format": "int32"
|
||
}
|
||
},
|
||
"additionalProperties": false,
|
||
"description": "工作数量数据统计结果"
|
||
}
|
||
},
|
||
"securitySchemes": {
|
||
"Bearer": {
|
||
"type": "apiKey",
|
||
"description": "在下框中输入请求头中需要添加Jwt授权Token:Bearer {Token},注意中间有空格",
|
||
"name": "Authorization",
|
||
"in": "header"
|
||
}
|
||
}
|
||
},
|
||
"security": [
|
||
{
|
||
"Bearer": [ ]
|
||
}
|
||
],
|
||
"tags": [
|
||
{
|
||
"name": "WorkStatistics",
|
||
"description": "学习官基础工作统计"
|
||
}
|
||
]
|
||
} |