| 1234567891011121314151617181920212223242526 |
- 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 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);
- }
|