package cn.reghao.tnb.user.app.db.mapper;

import cn.reghao.jutil.jdk.db.BaseMapper;
import cn.reghao.tnb.user.app.model.po.UserRecommend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author reghao
 * @date 2025-03-31 16:00:40
 */
@Mapper
public interface UserRecommendMapper extends BaseMapper<UserRecommend> {
    void updateMode(@Param("userId") long userId, @Param("mode") int mode);
    Integer findByUserId(long userId);
}
