ruoyi/src/main/java/com/ruoyi/project/system/service/ISysPostService.java
@@ -58,6 +58,14 @@ public String checkPostCodeUnique(SysPost post); /** * 通过岗位ID查询岗位使用数量 * * @param postId 岗位ID * @return 结果 */ public int countUserPostById(Long postId); /** * 删除岗位信息 * * @param postId 岗位ID @@ -66,6 +74,15 @@ public int deletePostById(Long postId); /** * 批量删除岗位信息 * * @param postIds 需要删除的岗位ID * @return 结果 * @throws Exception 异常 */ public int deletePostByIds(Long[] postIds); /** * 新增保存岗位信息 * * @param post 岗位信息