ChargeDao.java 1.5 KB

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