CacheSqlManager.java 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.poyee.manager;
  2. import com.poyee.common.domain.entity.*;
  3. import com.poyee.common.dto.AppUserInfoDto;
  4. import java.util.List;
  5. /**
  6. * 注解式缓存,仅临时存储数据,比较简单
  7. * @author zhenhua.bian
  8. * @date 2025/10/23
  9. */
  10. public interface CacheSqlManager {
  11. List<SysDictData> getDict(String dictType);
  12. ApplicationInfo selectNextVersionApp(AppVersionParam appVersionParam);
  13. int getActCount(ActCountParam countParam);
  14. List<AppCarouselPicture> getBannerByType(List<String> types);
  15. String getOverPicture();
  16. /**
  17. * 查询已购买订单数
  18. */
  19. int getBuyOrderCount(Integer userId, Integer historyLimitDay);
  20. /**
  21. * 查询用户信息
  22. * @param id
  23. * @return
  24. */
  25. AppUserInfoDto searchUserInfoById(Integer id);
  26. /**
  27. * 查询用户券数量
  28. */
  29. int getUserCouponCount(Integer userId, List<String> couponIds);
  30. /**
  31. * 查询标签下用户id
  32. * @param catId
  33. * @return
  34. */
  35. List<Long> getUserIdByCatId(Long catId);
  36. }