package com.welampiot.service; import com.welampiot.common.BaseResult; import com.welampiot.dto.LampInfoDTO; import com.welampiot.vo.LampCountVO; import com.welampiot.vo.LampListResponseVO; import com.welampiot.vo.LampLogVO; import com.welampiot.vo.LampVO; import org.apache.ibatis.annotations.Param; import java.util.List; public interface LampService { Integer getCountByVO(LampCountVO lampCountVO); // 查询灯控数量 Float getDayConsumptionByVO(LampCountVO lampCountVO); // 查询用电量 Float getConsumptionByVO(LampCountVO lampCountVO); // 查询当天用电量 List getConsumptionListByVO(LampCountVO lampCountVO); List getListByVO(LampListResponseVO lampListResponseVO); LampInfoDTO getDetailsById(Integer id,Integer version); Integer findByVO(LampInfoDTO lampInfoDTO); Integer checkData(LampInfoDTO lampInfoDTO); BaseResult add(LampInfoDTO lampInfoDTO); BaseResult update(LampInfoDTO lampInfoDTO); Integer deleteById(@Param("id")Integer id); Integer updateLight(LampInfoDTO lampInfoDTO); List getListByIdList(@Param("idList")List idList); Integer getLampPoleCountByVO(LampCountVO lampCountVO); List areaInfoLampList(LampListResponseVO lampListResponseVO); LampInfoDTO getDetailsByAddress(@Param("address")String address,@Param("version")Integer version); List groupSelectLamp(LampListResponseVO lampListResponseVO); List getNavByVO(LampListResponseVO lampListResponseVO); List getLampPoleDetailListByLampPoleId(@Param("lampPoleId")Integer lampPoleId); List getLampInfoListByDTO(LampInfoDTO dto); List getLampLocationByGroupId(Integer id); List getLampLocationByLoopId(Integer id); Integer getLampInstallTotalByDTO(LampInfoDTO dto); Integer getLampLightTotalByDTO(LampInfoDTO dto); Integer getLampOnlineTotalByDTO(LampInfoDTO dto); Integer getLampFaultTotalByDTO(LampInfoDTO dto); void changeLampLocationById(LampInfoDTO dto); Integer getSectionOfLampCountBySectionId(Integer id); String getNameOrNumber(Integer type,Integer value,Integer version); LampInfoDTO getLampInfoDTOById(Integer id); List getLampList(LampVO vo); Integer getLampTotal(LampVO vo); List getLampDataByLampIds(List lampIds); List getLampListByLampPoleId(Integer lampPoleId); Integer getLampPoleIdByLampId(Integer id); Integer getLampCountByLampPoleId(Integer lampPoleId); }