RechargeLevelService.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package com.zsElectric.boot.business.service;
  2. import com.zsElectric.boot.business.model.entity.RechargeLevel;
  3. import com.zsElectric.boot.business.model.form.RechargeLevelForm;
  4. import com.zsElectric.boot.business.model.query.RechargeLevelQuery;
  5. import com.zsElectric.boot.business.model.vo.RechargeLevelVO;
  6. import com.baomidou.mybatisplus.core.metadata.IPage;
  7. import com.baomidou.mybatisplus.extension.service.IService;
  8. /**
  9. * 充值档位信息服务类
  10. *
  11. * @author zsElectric
  12. * @since 2025-12-12 14:47
  13. */
  14. public interface RechargeLevelService extends IService<RechargeLevel> {
  15. /**
  16. *充值档位信息分页列表
  17. *
  18. * @return {@link IPage<RechargeLevelVO>} 充值档位信息分页列表
  19. */
  20. IPage<RechargeLevelVO> getRechargeLevelPage(RechargeLevelQuery queryParams);
  21. /**
  22. * 获取充值档位信息表单数据
  23. *
  24. * @param id 充值档位信息ID
  25. * @return 充值档位信息表单数据
  26. */
  27. RechargeLevelForm getRechargeLevelFormData(Long id);
  28. /**
  29. * 新增充值档位信息
  30. *
  31. * @param formData 充值档位信息表单对象
  32. * @return 是否新增成功
  33. */
  34. boolean saveRechargeLevel(RechargeLevelForm formData);
  35. /**
  36. * 修改充值档位信息
  37. *
  38. * @param id 充值档位信息ID
  39. * @param formData 充值档位信息表单对象
  40. * @return 是否修改成功
  41. */
  42. boolean updateRechargeLevel(Long id, RechargeLevelForm formData);
  43. /**
  44. * 删除充值档位信息
  45. *
  46. * @param ids 充值档位信息ID,多个以英文逗号(,)分割
  47. * @return 是否删除成功
  48. */
  49. boolean deleteRechargeLevels(String ids);
  50. }