PlatformAccountService.java 671 B

123456789101112131415161718192021222324252627282930
  1. package com.kym.service;
  2. import com.kym.entity.PlatformAccount;
  3. import com.kym.entity.common.PageBean;
  4. import com.kym.entity.queryParams.CommonQueryParam;
  5. import com.kym.service.mybatisplus.MyBaseService;
  6. /**
  7. * 平台账户服务
  8. *
  9. * @author skyline
  10. * @since 2026-05-18
  11. */
  12. public interface PlatformAccountService extends MyBaseService<PlatformAccount> {
  13. /**
  14. * 获取平台账户(单行)
  15. */
  16. PlatformAccount getPlatformAccount();
  17. /**
  18. * 增加平台收入
  19. */
  20. void addRevenue(int amount);
  21. /**
  22. * 平台账户列表(管理端)
  23. */
  24. PageBean<PlatformAccount> listPlatformAccounts(CommonQueryParam params);
  25. }