1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- 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<LampLogVO> getConsumptionListByVO(LampCountVO lampCountVO);
- List<LampInfoDTO> 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<LampInfoDTO> getListByIdList(@Param("idList")List idList);
- Integer getLampPoleCountByVO(LampCountVO lampCountVO);
- List<LampInfoDTO> areaInfoLampList(LampListResponseVO lampListResponseVO);
- LampInfoDTO getDetailsByAddress(@Param("address")String address,@Param("version")Integer version);
- List<LampInfoDTO> groupSelectLamp(LampListResponseVO lampListResponseVO);
- List<LampInfoDTO> getNavByVO(LampListResponseVO lampListResponseVO);
- List<LampInfoDTO> getLampPoleDetailListByLampPoleId(@Param("lampPoleId")Integer lampPoleId);
- List<LampInfoDTO> getLampInfoListByDTO(LampInfoDTO dto);
- List<LampInfoDTO> getLampLocationByGroupId(Integer id);
- List<LampInfoDTO> 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<LampInfoDTO> getLampList(LampVO vo);
- Integer getLampTotal(LampVO vo);
- List<LampInfoDTO> getLampDataByLampIds(List<String> lampIds);
- List<LampInfoDTO> getLampListByLampPoleId(Integer lampPoleId);
- Integer getLampPoleIdByLampId(Integer id);
- Integer getLampCountByLampPoleId(Integer lampPoleId);
- }
|