ICameraDetailService.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.fdkankan.manage.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.fdkankan.manage.entity.CameraDetail;
  4. import com.fdkankan.manage.entity.JyUser;
  5. import java.util.HashMap;
  6. import java.util.List;
  7. /**
  8. * <p>
  9. * 相机子表 服务类
  10. * </p>
  11. *
  12. * @author
  13. * @since 2022-06-16
  14. */
  15. public interface ICameraDetailService extends IService<CameraDetail> {
  16. void unbindCamera(Long cameraId);
  17. CameraDetail getByCameraId(Long cameraId);
  18. List<CameraDetail> getByCameraIds(List<Long> cameraIds);
  19. void deleteByCameraId(Long cameraId);
  20. HashMap<Long, Long> getCountGroupByUserId(List<Long> userIdList);
  21. HashMap<Long, Long> getCountGroupByCompanyId();
  22. HashMap<Long, Long> getSceneCountGroupByCameraId();
  23. Long getCountByCompanyId(Long companyId);
  24. List<CameraDetail> getListByCompanyId(Integer companyId);
  25. List<CameraDetail> getByUserName(String userName);
  26. void delAgentId(Integer agentId);
  27. List<CameraDetail> getByUserId(Long id);
  28. void addUsedSpace(Long cameraId, Long space);
  29. void giveSuperAdmin(JyUser jyUser);
  30. }