package com.webmanage.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.webmanage.entity.UserPoints;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* 用户积分Mapper接口
|
*
|
* @author webmanage
|
* @date 2024-08-07
|
*/
|
@Mapper
|
public interface UserPointsMapper extends BaseMapper<UserPoints> {
|
|
/**
|
* 根据用户ID查询积分信息
|
*/
|
UserPoints selectByUserId(@Param("userId") String userId);
|
|
/**
|
* 根据单位ID查询积分信息
|
*/
|
UserPoints selectByUnitId(@Param("unitId") String unitId);
|
}
|