Commit dbb2d6a8 by yangzhengze

更改用户导入模板

parent 7b52f1f2
......@@ -401,11 +401,6 @@ public class UserServiceImpl implements IUserService
//用户和岗位关联
List<UserPost> userPosts=new ArrayList<UserPost>();
for(User test:users){
System.out.println("userID="+test.getUserId());
System.out.println("username="+test.getUserName());
System.out.println("useroleids"+Arrays.toString(test.getRoleIds()));
System.out.println("userpostids"+Arrays.toString(test.getPostIds()));
//添加用户-角色关联表
for(int q=0;q<test.getRoleIds().length;q++){
UserRole userRole=new UserRole();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment