|
|
|
@ -206,4 +206,15 @@ public class DeviceInterfaceServiceImpl implements IDeviceInterfaceService {
|
|
|
|
|
EquOperationRecord equipmentIntactRate = equOperationRecordMapper.getEquipmentIntactRate(equOperationRecord);
|
|
|
|
|
return success(equipmentIntactRate);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 看板刷新时间
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("master")
|
|
|
|
|
public AjaxResult getDeviceRefreshTime(EquOperationRecord equOperationRecord) {
|
|
|
|
|
String refreshTime = deviceInterfaceMapper.getDeviceRefreshTime(equOperationRecord);
|
|
|
|
|
int time = Integer.parseInt(refreshTime);
|
|
|
|
|
return success(time);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|