ChargeDao.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package com.welampiot.dao;
  2. import com.welampiot.dto.ChargeDTO;
  3. import org.apache.ibatis.annotations.Param;
  4. import java.util.List;
  5. /**
  6. * ClassName: ChargeDao
  7. * Package: com.welampiot.dao
  8. * Description:
  9. *
  10. * @Author: zhj_Start
  11. * @Create: 2023/4/18 - 11:01
  12. * @Version: v1.0
  13. */
  14. public interface ChargeDao {
  15. List<ChargeDTO> getDevListByChargeDTO(ChargeDTO dto);
  16. Integer getTotalBySectionList(ChargeDTO dto);
  17. Integer getOnlineTotalBySectionList(ChargeDTO dto);
  18. Integer getAlarmTotalBySectionList(ChargeDTO dto);
  19. Integer getChargeTotalBySectionList(ChargeDTO dto);
  20. List<ChargeDTO> getChargeTimeBySectionList(ChargeDTO dto);
  21. List<ChargeDTO> getChargeMoneyBySectionList(ChargeDTO dto);
  22. List<ChargeDTO> getChargeEnergyBySectionList(ChargeDTO dto);
  23. ChargeDTO getChargeInfoByLampPoleId(@Param("lampPoleId") Integer lampPoleId);
  24. void deleteChargeById(@Param("id") Integer id);
  25. Integer getLampPoleIdByChargeId(@Param("id") Integer id);
  26. Integer getChargeCountByLampPoleId(@Param("lampPoleId") Integer lampPoleId);
  27. void updateLampPoleChargeData(ChargeDTO chargeDTO);
  28. Integer checkChargeData(ChargeDTO chargeDTO);
  29. }