8 天以前 a7f86b6000033c135f233d9fbf4131532b1ff95c
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/dept/PostApiImpl.java
@@ -13,7 +13,7 @@
/**
 * 岗位 API 实现类
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@Service
public class PostApiImpl implements PostApi {
@@ -32,4 +32,10 @@
        return BeanUtils.toBean(list, PostRespDTO.class);
    }
    @Override
    public List<PostRespDTO> getPostList() {
        List<PostDO> list = postService.getPostList(null, null);
        return BeanUtils.toBean(list, PostRespDTO.class);
    }
}