!120 selectPostListByUserId方法出参调整为Long

Merge pull request !120 from zendwang/dev
This commit is contained in:
疯狂的狮子Li
2021-12-03 02:40:05 +00:00
committed by Gitee
4 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param userId 用户ID
* @return 选中岗位ID列表
*/
List<Integer> selectPostListByUserId(Long userId);
List<Long> selectPostListByUserId(Long userId);
/**
* 校验岗位名称

View File

@ -80,7 +80,7 @@ public class SysPostServiceImpl extends ServicePlusImpl<SysPostMapper, SysPost,
* @return 选中岗位ID列表
*/
@Override
public List<Integer> selectPostListByUserId(Long userId) {
public List<Long> selectPostListByUserId(Long userId) {
return baseMapper.selectPostListByUserId(userId);
}