ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java
@@ -1,6 +1,6 @@
package com.ruoyi.system.mapper;
import com.ruoyi.common.core.page.BaseMapperPlus;
import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.SysPost;
import java.util.List;
@@ -8,9 +8,9 @@
/**
 * 岗位信息 数据层
 *
 * @author ruoyi
 * @author Lion Li
 */
public interface SysPostMapper extends BaseMapperPlus<SysPost> {
public interface SysPostMapper extends BaseMapperPlus<SysPostMapper, SysPost, SysPost> {
    /**
     * 根据用户ID获取岗位选择框列表
@@ -18,7 +18,7 @@
     * @param userId 用户ID
     * @return 选中岗位ID列表
     */
    public List<Integer> selectPostListByUserId(Long userId);
    List<Long> selectPostListByUserId(Long userId);
    /**
     * 查询用户所属岗位组
@@ -26,6 +26,6 @@
     * @param userName 用户名
     * @return 结果
     */
    public List<SysPost> selectPostsByUserName(String userName);
    List<SysPost> selectPostsByUserName(String userName);
}