1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package com.welampiot.dao;
- 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 LampDao {
- Integer getCountByVO(LampCountVO lampCountVO); // 查询灯控数量
- Float getDayConsumptionByVO(LampCountVO lampCountVO);
- Float getConsumptionByVO(LampCountVO lampCountVO);
- List<LampLogVO> getConsumptionListByVO(LampCountVO lampCountVO);
- List<LampInfoDTO> getListByVO(LampListResponseVO lampListResponseVO);
- LampInfoDTO getDetailsById(@Param("id")Integer id,@Param("version")Integer version);
- LampInfoDTO getDetailsByAddress(@Param("address")String address,@Param("version")Integer version);
- Integer findByVO(LampInfoDTO lampInfoDTO);
- Integer checkData(LampInfoDTO lampInfoDTO);
- Integer add(LampInfoDTO lampInfoDTO);
- Integer update(LampInfoDTO lampInfoDTO);
- Integer deleteById(@Param("id")Integer id);
- 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(@Param("id") Integer id);
- List<LampInfoDTO> getLampLocationByLoopId(@Param("id") Integer id);
- Integer getLampInstallTotalByDTO(LampInfoDTO dto);
- Integer getLampLightTotalByDTO(LampInfoDTO dto);
- Integer getLampOnlineTotalByDTO(LampInfoDTO dto);
- Integer getLampFaultTotalByDTO(LampInfoDTO dto);
- void changeLampLocationById(LampInfoDTO dto);
- Integer getSectionOfLampCountBySectionId(@Param("id") Integer id);
- String getNameOrNumber(@Param("type") Integer type,@Param("value") Integer value,@Param("version") Integer version);
- LampInfoDTO getLampInfoDTOById(@Param("id") Integer id);
- List<LampInfoDTO> getLampList(LampVO vo);
- Integer getLampTotal(LampVO vo);
- }
|