公共API


分页查询

[TOC]

简要描述
  • 分页查询
请求URL
  • /app/appConfigData/getAppConfigDayElectricityInfoByPage
请求方式
  • POST
参数
参数名 必选 类型 说明
current int 当前页
size int 页容量
date String 时间 当年第一天 yyyy-MM-dd
返回示例
  {
    "code": "200",
    "success": true,
    "msg": "success",
    "data": {
        "records": [
            {
                "id": 3,
                "electricDate": "2022-08-02",
                "electric": 3.64,
                "yoyElectric": 14.58,
                "loadDate": "2022-08-02",
                "loadValue": 1832,
                "yoyLoad": 15.96,
                "totalElectric": 548.75,
                "yoyTotalElectric": 6.11,
                "electricMonth": 8,
                "monthTotalElectric": 7.14,
                "yoyMonthTotalElectric": 18.12
            }
        ],
        "total": 2,
        "size": 1,
        "current": 1,
        "orders": [],
        "optimizeCountSql": true,
        "searchCount": true,
        "countId": null,
        "maxLimit": null,
        "pages": 2
    }
}
返回参数说明
@TableId(value = "id", type = IdType.AUTO)
private Integer id;

@ApiModelProperty(value = "日期")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date electricDate;

@ApiModelProperty(value = "日电量")
private BigDecimal electric;

@ApiModelProperty(value = "日电量同比")
private BigDecimal yoyElectric;

@ApiModelProperty(value = "日最高负荷日期")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date loadDate;

@ApiModelProperty(value = "日最高负荷")
private BigDecimal loadValue;

@ApiModelProperty(value = "日最高负荷同比")
private BigDecimal yoyLoad;

@ApiModelProperty(value = "年用电量")
private BigDecimal totalElectric;

@ApiModelProperty(value = "年用电量同比")
private BigDecimal yoyTotalElectric;

@ApiModelProperty(value = "月份")
private Integer electricMonth;

@ApiModelProperty(value = "月用电量")
private BigDecimal monthTotalElectric;

@ApiModelProperty(value = "月用电量同比")
private BigDecimal yoyMonthTotalElectric;
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML