LampService.java 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.welampiot.service;
  2. import com.welampiot.common.BaseResult;
  3. import com.welampiot.dto.LampInfoDTO;
  4. import com.welampiot.vo.LampCountVO;
  5. import com.welampiot.vo.LampListResponseVO;
  6. import com.welampiot.vo.LampLogVO;
  7. import com.welampiot.vo.LampVO;
  8. import org.apache.ibatis.annotations.Param;
  9. import java.util.List;
  10. public interface LampService {
  11. Integer getCountByVO(LampCountVO lampCountVO); // 查询灯控数量
  12. Float getDayConsumptionByVO(LampCountVO lampCountVO); // 查询用电量
  13. Float getConsumptionByVO(LampCountVO lampCountVO); // 查询当天用电量
  14. List<LampLogVO> getConsumptionListByVO(LampCountVO lampCountVO);
  15. List<LampInfoDTO> getListByVO(LampListResponseVO lampListResponseVO);
  16. LampInfoDTO getDetailsById(Integer id,Integer version);
  17. Integer findByVO(LampInfoDTO lampInfoDTO);
  18. Integer checkData(LampInfoDTO lampInfoDTO);
  19. BaseResult add(LampInfoDTO lampInfoDTO);
  20. BaseResult update(LampInfoDTO lampInfoDTO);
  21. Integer deleteById(@Param("id")Integer id);
  22. Integer updateLight(LampInfoDTO lampInfoDTO);
  23. List<LampInfoDTO> getListByIdList(@Param("idList")List idList);
  24. Integer getLampPoleCountByVO(LampCountVO lampCountVO);
  25. List<LampInfoDTO> areaInfoLampList(LampListResponseVO lampListResponseVO);
  26. LampInfoDTO getDetailsByAddress(@Param("address")String address,@Param("version")Integer version);
  27. List<LampInfoDTO> groupSelectLamp(LampListResponseVO lampListResponseVO);
  28. List<LampInfoDTO> getNavByVO(LampListResponseVO lampListResponseVO);
  29. List<LampInfoDTO> getLampPoleDetailListByLampPoleId(@Param("lampPoleId")Integer lampPoleId);
  30. List<LampInfoDTO> getLampInfoListByDTO(LampInfoDTO dto);
  31. List<LampInfoDTO> getLampLocationByGroupId(Integer id);
  32. List<LampInfoDTO> getLampLocationByLoopId(Integer id);
  33. Integer getLampInstallTotalByDTO(LampInfoDTO dto);
  34. Integer getLampLightTotalByDTO(LampInfoDTO dto);
  35. Integer getLampOnlineTotalByDTO(LampInfoDTO dto);
  36. Integer getLampFaultTotalByDTO(LampInfoDTO dto);
  37. void changeLampLocationById(LampInfoDTO dto);
  38. Integer getSectionOfLampCountBySectionId(Integer id);
  39. String getNameOrNumber(Integer type,Integer value,Integer version);
  40. LampInfoDTO getLampInfoDTOById(Integer id);
  41. List<LampInfoDTO> getLampList(LampVO vo);
  42. Integer getLampTotal(LampVO vo);
  43. List<LampInfoDTO> getLampDataByLampIds(List<String> lampIds);
  44. List<LampInfoDTO> getLampListByLampPoleId(Integer lampPoleId);
  45. Integer getLampPoleIdByLampId(Integer id);
  46. Integer getLampCountByLampPoleId(Integer lampPoleId);
  47. }