IScenePlusService.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.fdkankan.ucenter.service;
  2. import com.fdkankan.ucenter.common.PageInfo;
  3. import com.fdkankan.ucenter.common.Result;
  4. import com.fdkankan.ucenter.entity.CameraDetail;
  5. import com.fdkankan.ucenter.entity.ScenePlus;
  6. import com.baomidou.mybatisplus.extension.service.IService;
  7. import com.fdkankan.ucenter.vo.ResponseScene;
  8. import com.fdkankan.ucenter.vo.request.RequestScene;
  9. import org.springframework.web.bind.annotation.RequestParam;
  10. import java.io.IOException;
  11. import java.util.HashMap;
  12. import java.util.List;
  13. /**
  14. * <p>
  15. * 场景主表 服务类
  16. * </p>
  17. *
  18. * @author
  19. * @since 2022-07-04
  20. */
  21. public interface IScenePlusService extends IService<ScenePlus> {
  22. Long getCountByUserId(Long userId, List<?> sceneSourceList);
  23. Long getCountByUserId(Long userId, Integer cameraType);
  24. List<ScenePlus> getListByCameraId(Long cameraId);
  25. void bindOrUnCamera(List<Long> cameraIds, Long id);
  26. List<ScenePlus> getListByCameraIds(List<Long> cameraIds);
  27. List<ScenePlus> getListByNums(List<String> numList);
  28. HashMap<Long, ScenePlus> getMapByIds(List<Long> sceneIds);
  29. ScenePlus getByNum(String sceneNum);
  30. Long copyV4Scene(ScenePlus scenePlus,String newNum, CameraDetail cameraDetail) ;
  31. List<ScenePlus> getByIds(List<Long> plusIds);
  32. Result pageSceneWithHouseType(RequestScene param, String token);
  33. Result getArPathByNum(String num);
  34. Long getCountByCameraId(Long cameraId);
  35. }