VppSettlementService.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. package com.usky.vpp.service;
  2. import com.usky.common.core.bean.CommonPage;
  3. import com.usky.vpp.domain.VppEnergyReadingMonthly;
  4. import javax.servlet.http.HttpServletResponse;
  5. import java.util.Map;
  6. /**
  7. * VppSettlementService 业务接口
  8. */
  9. public interface VppSettlementService {
  10. default Object stub(String action, Map<String, Object> params) {
  11. return null;
  12. }
  13. CommonPage<VppEnergyReadingMonthly> pageReading(Long id, String customerName, String calcCycle,
  14. Integer current, Integer size);
  15. /**
  16. * 导出月度电量核算数据(Excel)
  17. *
  18. * @param scope 导出范围:current / all / filtered
  19. * @param fileName 文件名(不含扩展名)
  20. * @param id 客户ID精确匹配(filtered 模式可用)
  21. * @param customerName 客户名称模糊匹配(filtered 模式可用)
  22. * @param calcCycle 核算周期,格式 yyyy-MM(filtered 模式可用)
  23. * @param current 当前页码(current 模式必传)
  24. * @param size 页大小(current 模式必传)
  25. */
  26. void exportReading(String scope, String fileName, Long id, String customerName, String calcCycle,
  27. Integer current, Integer size, HttpServletResponse response);
  28. }