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

import cn.reghao.jutil.jdk.db.BaseMapper;
import cn.reghao.tnb.user.app.model.po.UserProfile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author reghao
 * @date 2024-02-14 14:59:15
 */
@Mapper
public interface UserProfileMapper extends BaseMapper<UserProfile> {
    void updateUserSignature(@Param("userId") long userId, @Param("signature") String signature);

    UserProfile findByUserId(long userId);
}
