feat(report): 添加设备保养与故障分析看板功能
- 新增Board5Controller提供设备保养与故障分析看板的API接口 - 添加Board5Service服务层处理设备数据分析逻辑 - 创建Board5Mapper数据访问层实现数据库查询操作 - 新增多个VO类用于封装看板数据模型包括工单统计、维修时间、设备状态等 - 配置Board5Mapper.xml实现各类统计数据的SQL查询语句 - 实现设备状态分布、故障来源分析、产量TOP5等统计功能 - 添加保养执行情况、巡检执行情况等数据统计查询接口master
parent
09d81b8a26
commit
78b6ea367e
@ -0,0 +1,57 @@
|
||||
package com.aucma.report.domain.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Board5 设备状态分布VO
|
||||
* 实验设备、未检设备、正常设备、异常设备
|
||||
*
|
||||
* @author YinQ
|
||||
*/
|
||||
public class Board5DeviceStatusDistributionVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 实验设备占比 */
|
||||
private Long experimentPercent;
|
||||
|
||||
/** 未检设备占比 */
|
||||
private Long uncheckedPercent;
|
||||
|
||||
/** 正常设备占比 */
|
||||
private Long normalPercent;
|
||||
|
||||
/** 异常设备占比 */
|
||||
private Long abnormalPercent;
|
||||
|
||||
public Long getExperimentPercent() {
|
||||
return experimentPercent;
|
||||
}
|
||||
|
||||
public void setExperimentPercent(Long experimentPercent) {
|
||||
this.experimentPercent = experimentPercent;
|
||||
}
|
||||
|
||||
public Long getUncheckedPercent() {
|
||||
return uncheckedPercent;
|
||||
}
|
||||
|
||||
public void setUncheckedPercent(Long uncheckedPercent) {
|
||||
this.uncheckedPercent = uncheckedPercent;
|
||||
}
|
||||
|
||||
public Long getNormalPercent() {
|
||||
return normalPercent;
|
||||
}
|
||||
|
||||
public void setNormalPercent(Long normalPercent) {
|
||||
this.normalPercent = normalPercent;
|
||||
}
|
||||
|
||||
public Long getAbnormalPercent() {
|
||||
return abnormalPercent;
|
||||
}
|
||||
|
||||
public void setAbnormalPercent(Long abnormalPercent) {
|
||||
this.abnormalPercent = abnormalPercent;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.aucma.report.domain.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Board5 设备巡检执行情况VO
|
||||
* 应检设备、完成率
|
||||
*
|
||||
* @author YinQ
|
||||
*/
|
||||
public class Board5InspectStatisticsVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 应检设备数量 */
|
||||
private Long deviceCount;
|
||||
|
||||
/** 设备巡检完成率 */
|
||||
private String completeRate;
|
||||
|
||||
public Long getDeviceCount() {
|
||||
return deviceCount;
|
||||
}
|
||||
|
||||
public void setDeviceCount(Long deviceCount) {
|
||||
this.deviceCount = deviceCount;
|
||||
}
|
||||
|
||||
public String getCompleteRate() {
|
||||
return completeRate;
|
||||
}
|
||||
|
||||
public void setCompleteRate(String completeRate) {
|
||||
this.completeRate = completeRate;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
package com.aucma.report.domain.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Board5 产量机台TOP5 VO
|
||||
* 设备名称、百分比、产量
|
||||
*
|
||||
* @author YinQ
|
||||
*/
|
||||
public class Board5ProductionTopVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 设备名称 */
|
||||
private String deviceName;
|
||||
|
||||
/** 百分比(相对于最大产量) */
|
||||
private Long percent;
|
||||
|
||||
/** 产量 */
|
||||
private Long production;
|
||||
|
||||
public String getDeviceName() {
|
||||
return deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public Long getPercent() {
|
||||
return percent;
|
||||
}
|
||||
|
||||
public void setPercent(Long percent) {
|
||||
this.percent = percent;
|
||||
}
|
||||
|
||||
public Long getProduction() {
|
||||
return production;
|
||||
}
|
||||
|
||||
public void setProduction(Long production) {
|
||||
this.production = production;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.aucma.report.domain.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Board5 维修时间统计VO
|
||||
* 平均响应时间、平均维修时间
|
||||
*
|
||||
* @author YinQ
|
||||
*/
|
||||
public class Board5RepairTimeStatisticsVo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 平均响应时间(分钟) */
|
||||
private String avgResponseTime;
|
||||
|
||||
/** 平均维修时间(小时) */
|
||||
private String avgRepairTime;
|
||||
|
||||
public String getAvgResponseTime() {
|
||||
return avgResponseTime;
|
||||
}
|
||||
|
||||
public void setAvgResponseTime(String avgResponseTime) {
|
||||
this.avgResponseTime = avgResponseTime;
|
||||
}
|
||||
|
||||
public String getAvgRepairTime() {
|
||||
return avgRepairTime;
|
||||
}
|
||||
|
||||
public void setAvgRepairTime(String avgRepairTime) {
|
||||
this.avgRepairTime = avgRepairTime;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue