| | |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Service("deviceErrorService") |
| | | public class DeviceErrorServiceImpl extends ServiceImpl<DeviceErrorMapper, DeviceError> implements DeviceErrorService { |
| | |
| | | public Integer deleteDeviceError(String device, Integer deviceId) { |
| | | return this.baseMapper.deleteByDeviceAndDeviceId(device, deviceId); |
| | | } |
| | | |
| | | @Override |
| | | public List<DeviceError> selectDeviceErrorList(Long id, String device, Integer deviceId, Integer curr, Integer limit) { |
| | | return this.baseMapper.selectDeviceErrorList(id,device, deviceId,curr,limit); |
| | | } |
| | | |
| | | @Override |
| | | public Long selectDeviceErrorListTotal(Long id,String device, Integer deviceId) { |
| | | return this.baseMapper.selectDeviceErrorListTotal(id,device, deviceId); |
| | | } |
| | | } |