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 getConsumptionListByVO(LampCountVO lampCountVO); List 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 groupSelectLamp(LampListResponseVO lampListResponseVO); }