ISceneCooperationService.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package com.fdkankan.ucenter.service;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.fdkankan.ucenter.entity.*;
  4. import com.baomidou.mybatisplus.extension.service.IService;
  5. import com.fdkankan.ucenter.vo.request.SceneCooperationParam;
  6. import com.fdkankan.ucenter.vo.request.SceneParam;
  7. import com.fdkankan.ucenter.vo.response.SceneNumVo;
  8. import java.util.HashMap;
  9. import java.util.List;
  10. /**
  11. * <p>
  12. * 服务类
  13. * </p>
  14. *
  15. * @author
  16. * @since 2022-07-04
  17. */
  18. public interface ISceneCooperationService extends IService<SceneCooperation> {
  19. Long getCooperationSceneNum(Long userId, List<Integer> sceneSourceList);
  20. List<SceneNumVo> getGroupCooperationSceneNum(Long userId);
  21. void deleteCooperationList(List<ScenePro> sceneProList, List<ScenePlus> scenePlusList,List<Long> userIds) ;
  22. void deleteCooperationList(List<String> numList,List<Long> userIds,String sceneType) ;
  23. List<SceneCooperation> saveBatchByList(List<String> numList, List<Long> userId ,String type,String sceneType);
  24. JSONObject sceneResourceList(SceneCooperationParam param);
  25. JSONObject cooperationSceneListNew(SceneParam param, String username);
  26. void saveCooperation(SceneCooperationParam param, String username);
  27. void deleteCooperation(SceneCooperationParam param, String username);
  28. List<SceneResource> getResourceByNum(String sceneNum);
  29. List<String> getNumByUserIds(List<Long> userIds);
  30. HashMap<String, List<User>> getByNumList(List<String> numList,String sceneType);
  31. List<SceneCooperation> getByNum(String num,String sceneType);
  32. Object cooperationSceneList(SceneParam param, String username);
  33. ProductOrder saveBatchCooperation(SceneCooperationParam param, String username);
  34. void successAddCooperation(List<String> numList,List<Long> userIds,Long loginUserId,Long cameraId,String lang,String sceneType, List<ProductCooperation> needPay );
  35. ProductOrder saveCamera(SceneCooperationParam param, String username);
  36. void saveByRegister(User register, String registerCooperationMeshNum, String mesh);
  37. }