fix(mcp): 用纸统计类工具分类统一调整为 customer
This commit is contained in:
@@ -759,7 +759,7 @@
|
||||
客户用纸统计,1:1 复刻老系统 `POST /MonthlyStatistics/getMonthlyStatisticsMap`(MonthlyStatisticsController),
|
||||
分主体统计(DB)与换纸卷数(ES)两部分。
|
||||
|
||||
- 分类:hardware | 类型:读
|
||||
- 分类:customer | 类型:读
|
||||
- 主体数据来源:m0 `monthly_statistics`(XXL-Job 预聚合的站点日汇总,每站点每厕位/厕每天一行),
|
||||
`statistics_time` 范围 [startDate 00:00:00, endDate 23:59:59],可选 `buildingId/floor/toiletId/deviceType` 精确过滤。
|
||||
- 入参:`districtId`(必填正整数)、`startDate`/`endDate`(必填 yyyy-MM-dd,startDate≤endDate≤今天)、
|
||||
@@ -823,7 +823,7 @@
|
||||
|
||||
查询站点人均用纸统计,覆盖老 `StatisticsReportController` 的五个接口。
|
||||
|
||||
- 分类:district | 类型:读
|
||||
- 分类:customer | 类型:读
|
||||
- 数据来源:m0 `monthly_statistics` 日汇总表,固定 `soft_delete=0`、指定站点及日期范围;不查 ES。
|
||||
- 入参:`districtId`、`startDate`、`endDate`、`groupBy`(gender/floor/floorGender),以及可选
|
||||
`daily`、`deviceType`、`idStrList`。`floorGender+daily=true` 会报参数错误。
|
||||
@@ -846,7 +846,7 @@
|
||||
|
||||
查询站点设备日均用纸统计,覆盖老 `StatisticsReportController` 的五个硬件统计接口。
|
||||
|
||||
- 分类:hardware | 类型:读
|
||||
- 分类:customer | 类型:读
|
||||
- 数据来源:m0 `monthly_statistics`,固定 `soft_delete=0`、指定站点和日期范围,在数据库中完成聚合;不查 ES。
|
||||
- 入参:`districtId`、`startDate`、`endDate`、`view`,以及可选的 `deviceType`、`buildingIds`、
|
||||
`floors`、`toiletIds`。位置列表内部使用 IN,三个位置维度之间使用 AND。
|
||||
|
||||
Reference in New Issue
Block a user