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/service/ISysUserService.java | 33 ++++++++++++++++++++++++++++++++- 1 files changed, 32 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java index 5bf1488..29193ce 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysUserService.java @@ -19,6 +19,22 @@ public List<SysUser> selectUserList(SysUser user); /** + * 鏍规嵁鏉′欢鍒嗛〉鏌ヨ宸插垎閰嶇敤鎴疯鑹插垪琛� + * + * @param user 鐢ㄦ埛淇℃伅 + * @return 鐢ㄦ埛淇℃伅闆嗗悎淇℃伅 + */ + public List<SysUser> selectAllocatedList(SysUser user); + + /** + * 鏍规嵁鏉′欢鍒嗛〉鏌ヨ鏈垎閰嶇敤鎴疯鑹插垪琛� + * + * @param user 鐢ㄦ埛淇℃伅 + * @return 鐢ㄦ埛淇℃伅闆嗗悎淇℃伅 + */ + public List<SysUser> selectUnallocatedList(SysUser user); + + /** * 閫氳繃鐢ㄦ埛鍚嶆煡璇㈢敤鎴� * * @param userName 鐢ㄦ埛鍚� @@ -82,6 +98,13 @@ public void checkUserAllowed(SysUser user); /** + * 鏍¢獙鐢ㄦ埛鏄惁鏈夋暟鎹潈闄� + * + * @param userId 鐢ㄦ埛id + */ + public void checkUserDataScope(Long userId); + + /** * 鏂板鐢ㄦ埛淇℃伅 * * @param user 鐢ㄦ埛淇℃伅 @@ -90,13 +113,21 @@ public int insertUser(SysUser user); /** + * 娉ㄥ唽鐢ㄦ埛淇℃伅 + * + * @param user 鐢ㄦ埛淇℃伅 + * @return 缁撴灉 + */ + public boolean registerUser(SysUser user); + + /** * 淇敼鐢ㄦ埛淇℃伅 * * @param user 鐢ㄦ埛淇℃伅 * @return 缁撴灉 */ public int updateUser(SysUser user); - + /** * 鐢ㄦ埛鎺堟潈瑙掕壊 * -- Gitblit v1.9.3