package com.kxs.user.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kxs.user.api.model.KxsShdScore;
import com.kxs.user.api.vo.kxsapp.shareholder.ShareholderGetMyStandardsAllVO;
import com.kxs.user.api.vo.kxsapp.shareholder.ShareholderGetMyStandardsVO;
import com.kxs.user.api.vo.kxsapp.subGetShareholderUserList.UserScoreListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 股东大盘分红用户积分表(KxsShdScore)表数据库访问层
 *
 * @author 系统
 * @since 2024-05-07 09:11:27
 */
@Mapper
public interface KxsShdScoreMapper extends BaseMapper<KxsShdScore> {

    ShareholderGetMyStandardsVO getMyStandards(@Param("month") String month,@Param("userCode") String userCode);

    ShareholderGetMyStandardsAllVO getMyStandardsAll(@Param("month") String month);

    Page<UserScoreListVO> getShareholderHighScoreUserList(Page<KxsShdScore> page, @Param("month") String month, @Param("type") Integer type);
}

