数据大屏
  1. ZtTaskController
数据大屏
  • 默认模块
    • DigitalDashboard
      • ZtTaskController
        • 获取各个状态的禅道任务的数量
          GET
        • 根据传入的状态查询数据
          GET
      • ProgressController
        • 根据 Id 获取研发进度
        • 修改保存研发进度
      • TestTaskController
        • 新增主任务
        • 根据Id获取测试任务
        • 更新测试任务, 并且生成子任务
        • 结束所有异常停止的任务
        • 获取当天的运行情况
        • getDataByMileage
      • TestReportController
        • 获取近一周每天的运行情况 以及 近六个月每月的运行情况
      • TestDeviceController
        • 根据条件查询设备列表
      • 文件操作控制器
        • 上传文件
        • 下载文件(浏览器直接下载)
        • 删除文件
        • 根据桶名和文件获取直链
      • TestAttendanceRecordsController
        • getAllType
      • DingTalkController
        • getAttendanceRecords
      • XhLinksController
        • updateByPrimaryKeySelective
        • insertSelective
        • deleteByIds
        • selectByPrimaryKey
        • findAll
      • XhLinksCategoriesController
        • findAll
        • deleteByPrimaryKey
        • insertSelective
        • updateByPrimaryKeySelective
        • selectByPrimaryKey
      • LoginController
        • 用户登录接口
        • isLogin
        • tokenInfo
        • logout
        • 用户登录接口
      • RoleController
        • 新增角色 POST /api/role
        • 更新角色 PUT /api/role
        • 根据ID获取角色详情 GET /api/role/1
        • 获取角色列表 (支持分页和筛选)
        • 删除角色 DELETE /api/role/1
    • ZNSystem
      • MgJob
        • 通过主键查询单条作业数据
        • 新增作业数据
        • 新增作业数据(选择性)
        • 修改作业数据
        • 修改作业数据(选择性)
        • 删除作业数据
      • MgAlgorithm
        • 通过主键查询单条算法数据
        • 新增算法数据
        • 新增算法数据(选择性)
        • 修改算法数据
        • 修改算法数据(选择性)
        • 删除算法数据
      • MgRequirements
        • 通过主键查询单条需求数据
        • 新增需求数据
        • 新增需求数据(选择性)
        • 修改需求数据
        • 修改需求数据(选择性)
        • 删除需求数据
      • MgTask
        • 通过主键查询单条任务数据
        • 新增任务数据
        • 新增任务数据(选择性)
        • 修改任务数据
        • 修改任务数据(选择性)
        • 删除任务数据
    • xhzn-navigation
      • LinksCategoriesController
        • insertSelective
        • selectByPrimaryKey
        • updateByPrimaryKeySelective
        • findAll
        • deleteByPrimaryKey
      • LinksController
        • insert
        • selectByPrimaryKey
        • updateByPrimaryKeySelective
        • insertSelective
        • findAll
        • deleteByPrimaryKey
        • deleteByIds
    • xhzn-versions
      • SoftwareController
        • list
        • getById
        • create
        • update
        • check
      • VersionListController
        • list
        • getBySoftwareId
        • update
        • create
        • deleteVersion
    • Default Group
    • 数据模型
      • Schemas
        • MgJob
        • MgAlgorithm
        • MgRequirements
        • MgTask
      • 示例数据模型
        • Pet
        • Category
        • Tag
      • 禅道任务实体
  • 默认模块
    • xhzn-navigation
      • LinksCategoriesController
        • insertSelective
        • selectByPrimaryKey
        • updateByPrimaryKeySelective
        • findAll
        • deleteByPrimaryKey
      • LinksController
        • insert
        • selectByPrimaryKey
        • updateByPrimaryKeySelective
        • insertSelective
        • findAll
        • deleteByPrimaryKey
        • deleteByIds
    • xhzn-versions
      • SoftwareController
        • list
        • getById
        • create
        • update
        • check
      • VersionListController
        • list
        • getBySoftwareId
        • update
        • create
        • deleteVersion
    • Default Group
    • 数据模型
      • 示例数据模型
        • Pet
        • Category
        • Tag
  • 默认模块
    • xhzn-navigation
      • LinksCategoriesController
        • insertSelective
        • selectByPrimaryKey
        • updateByPrimaryKeySelective
        • findAll
        • deleteByPrimaryKey
      • LinksController
        • insert
        • selectByPrimaryKey
        • updateByPrimaryKeySelective
        • insertSelective
        • findAll
        • deleteByPrimaryKey
        • deleteByIds
    • xhzn-versions
      • SoftwareController
        • list
        • getById
        • create
        • update
        • check
      • VersionListController
        • list
        • getBySoftwareId
        • update
        • create
        • deleteVersion
    • Default Group
    • 数据模型
      • 示例数据模型
        • Pet
        • Category
        • Tag
  1. ZtTaskController

根据传入的状态查询数据

开发中
GET
/api/task/getZtTasks
根据传入的状态查询数据

请求参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:8086/api/task/getZtTasks?status=wait&PageNum=1&PageSize=10'

返回响应

🟢200Success
text/plain
示例
{
    "total": 5,
    "rows": [
        {
            "id": 1602,
            "project": 0,
            "parent": 1601,
            "execution": 1,
            "module": 0,
            "design": 0,
            "story": 0,
            "storyVersion": 1,
            "designVersion": 0,
            "fromBug": 0,
            "feedback": 0,
            "fromIssue": 0,
            "name": "51.图型数据库 排版问题  添加曲线颜色标志",
            "type": "ui",
            "mode": "",
            "pri": 3,
            "estimate": 0,
            "consumed": 8,
            "left": 48,
            "deadline": "2023-11-29T16:00:00.000+00:00",
            "status": "pause",
            "subStatus": "",
            "color": "",
            "mailto": "",
            "desc": "<p>图型数据库 排版问题  添加曲线颜色标志</p>\n<p><br /></p>",
            "version": 1,
            "openedBy": "wxj",
            "openedDate": "2023-11-30T07:22:04.000+00:00",
            "assignedTo": "hxj",
            "assignedDate": "2023-12-29T08:22:07.000+00:00",
            "estStarted": "2023-11-29T16:00:00.000+00:00",
            "realStarted": "2023-12-01T00:00:00.000+00:00",
            "finishedBy": "",
            "finishedDate": null,
            "finishedList": "",
            "canceledBy": "",
            "canceledDate": null,
            "closedBy": "",
            "closedDate": null,
            "planDuration": 0,
            "realDuration": 0,
            "closedReason": "",
            "lastEditedBy": "hxj",
            "lastEditedDate": "2025-01-09T05:00:09.000+00:00",
            "activatedDate": "2023-12-25T06:49:54.000+00:00",
            "order": 0,
            "repo": 0,
            "mr": 0,
            "entry": "",
            "lines": "",
            "v1": "",
            "v2": "",
            "deleted": "0",
            "vision": "rnd"
        }
    ],
    "code": 200,
    "msg": "查询成功"
}
修改于 2025-03-08 01:07:53
上一页
获取各个状态的禅道任务的数量
下一页
根据 Id 获取研发进度
Built with