RechargeConfigGroupService.java 659 B

12345678910111213141516171819202122232425262728
  1. package com.kym.service;
  2. import com.kym.entity.RechargeConfigGroup;
  3. import com.kym.service.mybatisplus.MyBaseService;
  4. /**
  5. * 充值配置分组服务
  6. *
  7. * @author skyline
  8. * @since 2026-05-26
  9. */
  10. public interface RechargeConfigGroupService extends MyBaseService<RechargeConfigGroup> {
  11. /**
  12. * 根据站点ID获取分组
  13. */
  14. RechargeConfigGroup getByStationId(String stationId);
  15. /**
  16. * 获取平台默认分组(station_id IS NULL)
  17. */
  18. RechargeConfigGroup getDefaultGroup();
  19. /**
  20. * 为站点创建分组并复制默认分组的配置项
  21. */
  22. RechargeConfigGroup createGroupForStation(String stationId);
  23. }