From 209654fdff7206c2638d9fbe26eb0fb17a68adb4 Mon Sep 17 00:00:00 2001 From: zendwang Date: Thu, 2 Dec 2021 20:13:47 +0800 Subject: [PATCH] =?UTF-8?q?fix=20selectPostListByUserId=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E5=87=BA=E5=8F=82=E8=B0=83=E6=95=B4=E4=B8=BALong?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/system/mapper/SysPostMapper.java | 2 +- .../main/java/com/ruoyi/system/service/ISysPostService.java | 2 +- .../com/ruoyi/system/service/impl/SysPostServiceImpl.java | 2 +- .../src/main/resources/mapper/system/SysPostMapper.xml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java index 50a5c752c..2e305cf05 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysPostMapper.java @@ -18,7 +18,7 @@ public interface SysPostMapper extends BaseMapperPlus { * @param userId 用户ID * @return 选中岗位ID列表 */ - List selectPostListByUserId(Long userId); + List selectPostListByUserId(Long userId); /** * 查询用户所属岗位组 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java index a049928ce..d31532276 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java @@ -45,7 +45,7 @@ public interface ISysPostService extends IService { * @param userId 用户ID * @return 选中岗位ID列表 */ - List selectPostListByUserId(Long userId); + List selectPostListByUserId(Long userId); /** * 校验岗位名称 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysPostServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysPostServiceImpl.java index 4e04f3a19..f136de6b8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysPostServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysPostServiceImpl.java @@ -80,7 +80,7 @@ public class SysPostServiceImpl extends ServicePlusImpl selectPostListByUserId(Long userId) { + public List selectPostListByUserId(Long userId) { return baseMapper.selectPostListByUserId(userId); } diff --git a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml index c009a6cf7..eebc0a774 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml @@ -29,7 +29,7 @@ from sys_post - select p.post_id from sys_post p left join sys_user_post up on up.post_id = p.post_id @@ -45,4 +45,4 @@ where u.user_name = #{userName} - \ No newline at end of file +