23 lines
509 B
Java
23 lines
509 B
Java
![]() |
package net.maku.system.dao;
|
||
|
|
||
|
import net.maku.framework.common.dao.BaseDao;
|
||
|
import net.maku.system.entity.SysUserPostEntity;
|
||
|
import org.apache.ibatis.annotations.Mapper;
|
||
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* 用户岗位关系
|
||
|
*
|
||
|
* @author 阿沐 babamu@126.com
|
||
|
*/
|
||
|
@Mapper
|
||
|
public interface SysUserPostDao extends BaseDao<SysUserPostEntity> {
|
||
|
|
||
|
/**
|
||
|
* 岗位ID列表
|
||
|
* @param userId 用户ID
|
||
|
*/
|
||
|
List<Long> getPostIdList(@Param("userId") Long userId);
|
||
|
}
|