Appearance
POST /dm-device/device/mttr/chart
Content-Type: application/json
触发按钮:chartAjax
入参
无
出参
传递对象:ResultData
无
前端校验规则
text
前端校验
└── 表单校验
└── deviceCode(设备编码)
└── 长度限制:maxlength=50后端逻辑
text
业务流程:确定统计区间后按统计维度绑定工厂范围并聚合维修指标生成MTTR图表
├── 确定统计区间 :294-306
├── 按执行人统计
│ └── DeviceMttrMapper.queryMttrChartByExcutor :315
├── 按月份统计
│ └── DeviceMttrMapper.queryMttrChartByMonth :322
└── 返回图表数据 :325后端校验规则
text
无涉及数据库表
| 库名.表名 | mapper.statement | 描述 |
|---|---|---|
| mttr_mapper | mttrMapper.queryMttrChartByExcutor | mttrMapper |
| mttr_mapper | mttrMapper.queryMttrChartByMonth | mttrMapper |