From 420a43cdd59c7a267d1e0a20b339de7626938819 Mon Sep 17 00:00:00 2001 From: younger007 <1304593345@qq.com> Date: 星期一, 14 三月 2022 10:52:29 +0800 Subject: [PATCH] update ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java. 和文件下载那边一样,存在跨域问题 --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java index 6261a87..f3b5847 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java @@ -23,9 +23,10 @@ * 鏍规嵁瑙掕壊ID鏌ヨ閮ㄩ棬鏍戜俊鎭� * * @param roleId 瑙掕壊ID + * @param deptCheckStrictly 閮ㄩ棬鏍戦�夋嫨椤规槸鍚﹀叧鑱旀樉绀� * @return 閫変腑閮ㄩ棬鍒楄〃 */ - public List<Integer> selectDeptListByRoleId(Long roleId); + public List<Long> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly); /** * 鏍规嵁閮ㄩ棬ID鏌ヨ淇℃伅 @@ -93,11 +94,11 @@ public int updateDept(SysDept dept); /** - * 淇敼鎵�鍦ㄩ儴闂ㄧ殑鐖剁骇閮ㄩ棬鐘舵�� + * 淇敼鎵�鍦ㄩ儴闂ㄦ甯哥姸鎬� * - * @param dept 閮ㄩ棬 + * @param deptIds 閮ㄩ棬ID缁� */ - public void updateDeptStatus(SysDept dept); + public void updateDeptStatusNormal(Long[] deptIds); /** * 淇敼瀛愬厓绱犲叧绯� -- Gitblit v1.9.3