|
|
@@ -104,6 +104,7 @@ public class CameraServiceImpl extends BaseServiceImpl<CameraMapper, Camera> imp |
|
|
|
IPage<Camera> page = new Page<>(request.getPage(), request.getLimit());
|
|
|
|
IPage<Camera> pageData = cameraMapper.selectPage(page, new LambdaQueryWrapper<Camera>()
|
|
|
|
.eq(Camera::getMark, MarkTypeEnum.VALID.getCode())
|
|
|
|
.eq(Camera::getTenantId, ShiroUtils.getTenantId())
|
|
|
|
.like(StringUtils.isNotEmpty(request.getCameraName()), Camera::getCameraName, request.getCameraName())
|
|
|
|
.orderByDesc(Camera::getCreateTime));
|
|
|
|
for (Camera record : pageData.getRecords()) {
|