|
|
@@ -1119,7 +1119,7 @@ public class SysStudentServiceImpl implements ISysStudentService {
|
|
|
List<SysPost> sysPostList = postMapper.selectPostList(post);
|
|
|
if(!sysPostList.isEmpty()){
|
|
|
if(sysPostList.get(0).getRoleIds()!=null && !"".equals(sysPostList.get(0).getRoleIds())){
|
|
|
- Long[] roleIds = Arrays.asList(sysPostList.get(0).getRoleIds().split(",")).stream().toArray((Long[]::new));
|
|
|
+ Long[] roleIds = Arrays.asList(sysPostList.get(0).getRoleIds().split(",")).stream().map(a->Long.parseLong(a+"")).toArray((Long[]::new));
|
|
|
newSysUser.setRoleIds(roleIds);
|
|
|
}
|
|
|
}
|