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); }