| 
															
																@@ -137,6 +137,7 @@ public class UserGroupServiceImpl implements UserGroupService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntity.setRoleId(id); 
															 | 
															
															 | 
															
																             userRoleEntity.setRoleId(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntity.setUserId(userEntity.getId()); 
															 | 
															
															 | 
															
																             userRoleEntity.setUserId(userEntity.getId()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntity.setStatus(1); 
															 | 
															
															 | 
															
																             userRoleEntity.setStatus(1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            userRoleEntity.setCreateBy(currentUser.getUsername()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntities.add(userRoleEntity); 
															 | 
															
															 | 
															
																             userRoleEntities.add(userRoleEntity); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }); 
															 | 
															
															 | 
															
																         }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         if(userIds.size()>0){ 
															 | 
															
															 | 
															
																         if(userIds.size()>0){ 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -218,6 +219,7 @@ public class UserGroupServiceImpl implements UserGroupService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     @Transactional 
															 | 
															
															 | 
															
																     @Transactional 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     public int updateRolesByUserGroup(UserGroupDto userGroupDto) { 
															 | 
															
															 | 
															
																     public int updateRolesByUserGroup(UserGroupDto userGroupDto) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         UserGroup userGroup=new UserGroup(); 
															 | 
															
															 | 
															
																         UserGroup userGroup=new UserGroup(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        LoginUser currentUser = UserUtil.getCurrentUser(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         Integer groupId=userGroupDto.getGroupId(); 
															 | 
															
															 | 
															
																         Integer groupId=userGroupDto.getGroupId(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         userGroup.setId(groupId); 
															 | 
															
															 | 
															
																         userGroup.setId(groupId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         userGroupMapper.deleteUserGroupRelations(userGroup); 
															 | 
															
															 | 
															
																         userGroupMapper.deleteUserGroupRelations(userGroup); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -234,6 +236,7 @@ public class UserGroupServiceImpl implements UserGroupService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntity.setRoleId(userGroupDto.getRoleId()); 
															 | 
															
															 | 
															
																             userRoleEntity.setRoleId(userGroupDto.getRoleId()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntity.setUserId(id); 
															 | 
															
															 | 
															
																             userRoleEntity.setUserId(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntity.setStatus(1); 
															 | 
															
															 | 
															
																             userRoleEntity.setStatus(1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            userRoleEntity.setCreateBy(currentUser.getUsername()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             groupUsers.add(user); 
															 | 
															
															 | 
															
																             groupUsers.add(user); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             user.setStatus(1); 
															 | 
															
															 | 
															
																             user.setStatus(1); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             userRoleEntities.add(userRoleEntity); 
															 | 
															
															 | 
															
																             userRoleEntities.add(userRoleEntity); 
															 |