From edea9cd16753f1646179463dc88c82d0c658135e Mon Sep 17 00:00:00 2001 From: "15989082884@163.com" <15989082884@163.com> Date: Wed, 24 Jan 2024 18:43:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=86=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=86=97=E4=BD=99=E5=AD=97=E6=AE=B5=EF=BC=8C=E5=B2=97=E4=BD=8D?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../serve/modules/sys/service/impl/SysPostUserServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/qs/serve/modules/sys/service/impl/SysPostUserServiceImpl.java b/src/main/java/com/qs/serve/modules/sys/service/impl/SysPostUserServiceImpl.java index e1e394d7..e79ce4ac 100644 --- a/src/main/java/com/qs/serve/modules/sys/service/impl/SysPostUserServiceImpl.java +++ b/src/main/java/com/qs/serve/modules/sys/service/impl/SysPostUserServiceImpl.java @@ -71,12 +71,11 @@ public class SysPostUserServiceImpl extends ServiceImpl lqw = new LambdaQueryWrapper<>(); lqw.likeRight(SysPostUser::getPathIds,orgPathIds+"_"); - lqw.select(SysPostUser::getId,SysPostUser::getPathIds,SysPostUser::getPathNames); + lqw.select(SysPostUser::getId,SysPostUser::getPathIds); List postUserList = this.list(lqw); if(CollectionUtil.isNotEmpty(postUserList)){ for (SysPostUser postUser : postUserList) { postUser.setPathIds(postUser.getPathIds().replace(orgPathIds,newPathIds)); -// postUser.setPostName(postUser.getPathNames().replace(orgPathNames,newPathNames)); } this.updateBatchById(postUserList); }