|
@@ -90,6 +90,16 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
private final String keyPrefix = "device:history:";
|
|
|
|
|
|
|
|
|
+ @Override
|
|
|
+ @ApiOperation("分页")
|
|
|
+ public R<PageBean<DeviceInfoDto.Vo>> pageSingle(DeviceInfoDto.PageSingle dto) {
|
|
|
+ PageBean pageBean = dto.getPage();
|
|
|
+ LambdaQueryWrapper<DeviceInfo> lqw = new MybatisPlusQuery().eqWrapper(dto,DeviceInfo.class)
|
|
|
+ .build();
|
|
|
+ IPage<DeviceInfo> iPage = page(toIPage(pageBean), lqw);
|
|
|
+ return R.ok(toPageBean(DeviceInfoDto.Vo.class, iPage));
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
@ApiOperation("对象查询")
|
|
|
public R<DeviceInfoDto.Vo> obj(DeviceInfoDto.Obj obj) {
|
|
@@ -262,6 +272,8 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
@Override
|
|
|
@ApiOperation("更新商户点位")
|
|
|
public R updatePlace(@RequestBody @Validated DeviceInfoDto.UpdatePlace updatePlace) {
|