|
@@ -28,11 +28,10 @@ public class DeviceServiceImpl implements IDeviceService {
|
|
|
* @param
|
|
|
* @return 设备
|
|
|
*/
|
|
|
- @Cacheable(value = "device", key = "#root.methodName + '_' + #deviceId", unless = "#result == null")
|
|
|
// TODO 22--slaveId
|
|
|
@Override
|
|
|
public List<DeviceVO> selectBySpan(DeviceVO deviceVO) {
|
|
|
- List<DeviceVO> device = deviceMapper.selectBySpan(deviceVO.getDeviceName(),deviceVO.getTs());
|
|
|
+ List<DeviceVO> device = deviceMapper.selectBySpan(deviceVO.getDeviceName(),deviceVO.getTs(),deviceVO.getTs1());
|
|
|
return device;
|
|
|
}
|
|
|
|