滨州
    滨州
    • (年/月,水厂/区县 )查询用水量
      GET
    • 行政区划,时间 查询用水量
      GET

      行政区划,时间 查询用水量

      开发中
      GET
      http://127.0.0.1:9023/consumption/plantlistByCondition
      用水量都是月数据,前端在时间范围选择时,选到月就好,传时间值2025-01-01 00:00:00这个格式,返回数据中根据ysl倒叙排列

      请求参数

      Query 参数
      xzqh
      string 
      行政区划编码
      可选
      示例值:
      371623000000
      beginTime
      string 
      开始时间
      可选
      示例值:
      2025-01-01 00:00:00
      endTime
      string 
      结束时间
      可选
      示例值:
      2025-07-29 23:59:59

      示例代码

      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:9023/consumption/plantlistByCondition?xzqh=371623000000&beginTime=2025-01-01 00:00:00&endTime=2025-07-29 23:59:59'

      返回响应

      🟢200成功
      application/json
      Body
      msg
      string 
      必需
      code
      integer 
      必需
      data
      array [object {12}] 
      必需
      createBy
      null 
      必需
      createTime
      null 
      必需
      updateBy
      null 
      必需
      updateTime
      null 
      必需
      remark
      null 
      必需
      id
      null 
      必需
      plantCode
      string 
      水厂编码
      必需
      date
      null 
      必需
      ysl
      integer 
      用水量
      必需
      plantName
      string 
      水厂名称
      必需
      xzqh
      null 
      必需
      regionCode
      null 
      必需
      示例
      {
          "msg": "string",
          "code": 0,
          "data": [
              {
                  "createBy": null,
                  "createTime": null,
                  "updateBy": null,
                  "updateTime": null,
                  "remark": null,
                  "id": null,
                  "plantCode": "string",
                  "date": null,
                  "ysl": 0,
                  "plantName": "string",
                  "xzqh": null,
                  "regionCode": null
              }
          ]
      }
      修改于 2025-06-27 08:10:25
      上一页
      (年/月,水厂/区县 )查询用水量
      Built with