|
@@ -78,6 +78,15 @@ public class SysUserController extends BaseController
|
78
|
78
|
if (user.getDeptId() != null && user.getDeptId() == 103L) {
|
79
|
79
|
list = postService.selectGmAssistant(user);
|
80
|
80
|
}
|
|
81
|
+ for (SysUser sysUser : list) {
|
|
82
|
+ StringBuilder postName = new StringBuilder();
|
|
83
|
+ List<Long> userPostList = postService.selectPostListByUserId(sysUser.getUserId());
|
|
84
|
+ if (userPostList.size() > 0) {
|
|
85
|
+ for (Long post : userPostList)
|
|
86
|
+ postName.append(postService.selectPostById(post).getPostName()).append("、");
|
|
87
|
+ sysUser.setPostNames(postName.substring(0, postName.length() - 1));
|
|
88
|
+ }
|
|
89
|
+ }
|
81
|
90
|
return getDataTable(list);
|
82
|
91
|
}
|
83
|
92
|
|