package com.welampiot.dao; import com.welampiot.dto.ChargeDTO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * ClassName: ChargeDao * Package: com.welampiot.dao * Description: * * @Author: zhj_Start * @Create: 2023/4/18 - 11:01 * @Version: v1.0 */ public interface ChargeDao { List getDevListByChargeDTO(ChargeDTO dto); Integer getTotalBySectionList(ChargeDTO dto); Integer getOnlineTotalBySectionList(ChargeDTO dto); Integer getAlarmTotalBySectionList(ChargeDTO dto); Integer getChargeTotalBySectionList(ChargeDTO dto); List getChargeTimeBySectionList(ChargeDTO dto); List getChargeMoneyBySectionList(ChargeDTO dto); List getChargeEnergyBySectionList(ChargeDTO dto); ChargeDTO getChargeInfoByLampPoleId(@Param("lampPoleId") Integer lampPoleId); void deleteChargeById(@Param("id") Integer id); Integer getLampPoleIdByChargeId(@Param("id") Integer id); Integer getChargeCountByLampPoleId(@Param("lampPoleId") Integer lampPoleId); void updateLampPoleChargeData(ChargeDTO chargeDTO); Integer checkChargeData(ChargeDTO chargeDTO); }