package com.gonghang.h5clientapp.web;

import com.gonghang.h5clientapp.common.ResultData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * Created by shiwn on 2022/7/5 8:59
 */
@Api(tags = {"上海工商银行，掌上运维"})
public interface GhH5Api {
    @ApiOperation(value = "查询机器人列表")
    ResultData getRobotList();

    @ApiOperation(value = "查询机器人数据")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "robotId", value = "机器人id", dataType = "int")
    })
    ResultData getRobotInfo(Integer robotId);

    @ApiOperation(value = "查询任务列表")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "pageNum", value = "第几页（默认1）", dataType = "int"),
            @ApiImplicitParam(name = "pageSize", value = "每页大小（默认20）", dataType = "int"),
            @ApiImplicitParam(name = "robotId", value = "机器人id", dataType = "int")
    })
    ResultData getTaskList(Integer pageNum, Integer pageSize, Integer robotId);

    @ApiOperation(value = "查询报告列表")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "pageNum", value = "第几页（默认1）", dataType = "int"),
            @ApiImplicitParam(name = "pageSize", value = "每页大小（默认20）", dataType = "int"),
            @ApiImplicitParam(name = "robotId", value = "机器人id", dataType = "int")
    })
    ResultData getReportList(Integer pageNum, Integer pageSize, Integer robotId);
}
