1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- package com.fdkankan.manage.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.fdkankan.manage.entity.CameraDetail;
- import com.fdkankan.manage.entity.JyUser;
- import java.util.HashMap;
- import java.util.List;
- /**
- * <p>
- * 相机子表 服务类
- * </p>
- *
- * @author
- * @since 2022-06-16
- */
- public interface ICameraDetailService extends IService<CameraDetail> {
- void unbindCamera(Long cameraId);
- CameraDetail getByCameraId(Long cameraId);
- List<CameraDetail> getByCameraIds(List<Long> cameraIds);
- void deleteByCameraId(Long cameraId);
- HashMap<Long, Long> getCountGroupByUserId(List<Long> userIdList);
- HashMap<Long, Long> getCountGroupByCompanyId();
- HashMap<Long, Long> getSceneCountGroupByCameraId();
- Long getCountByCompanyId(Long companyId);
- List<CameraDetail> getListByCompanyId(Integer companyId);
- List<CameraDetail> getByUserName(String userName);
- void delAgentId(Integer agentId);
- List<CameraDetail> getByUserId(Long id);
- void addUsedSpace(Long cameraId, Long space);
- void giveSuperAdmin(JyUser jyUser);
- }
|