|
@@ -123,12 +123,6 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
return R.ok();
|
|
|
}
|
|
|
|
|
|
- private <T> void check(T value, T value2, String msg) {
|
|
|
- if (value.toString().equals(value2.toString())) {
|
|
|
- throw new CommRuntimeException(msg);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
@PostMapping("historyList")
|
|
|
@ApiOperation("设备访问历史查询")
|
|
|
public R<List<DeviceInfoDto.Vo>> historyList() {
|
|
@@ -179,4 +173,10 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
IPage<DeviceInfoQueryPage> iPage = baseMapper.queryPage(toIPage(page.getPage()), page);
|
|
|
return R.ok(toPageBean(DeviceInfoDto.Vo2.class, iPage));
|
|
|
}
|
|
|
+
|
|
|
+ private <T> void check(T value, T value2, String msg) {
|
|
|
+ if (value.toString().equals(value2.toString())) {
|
|
|
+ throw new CommRuntimeException(msg);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|