package com.poyee.manager; import com.poyee.common.domain.entity.*; import com.poyee.common.dto.AppUserInfoDto; import java.util.List; /** * 注解式缓存,仅临时存储数据,比较简单 * @author zhenhua.bian * @date 2025/10/23 */ public interface CacheSqlManager { List getDict(String dictType); ApplicationInfo selectNextVersionApp(AppVersionParam appVersionParam); int getActCount(ActCountParam countParam); List getBannerByType(List types); String getOverPicture(); /** * 查询已购买订单数 */ int getBuyOrderCount(Integer userId, Integer historyLimitDay); /** * 查询用户信息 * @param id * @return */ AppUserInfoDto searchUserInfoById(Integer id); /** * 查询用户券数量 */ int getUserCouponCount(Integer userId, List couponIds); /** * 查询标签下用户id * @param catId * @return */ List getUserIdByCatId(Long catId); }