|  | @@ -4,7 +4,6 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
 |  |  import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 |  |  import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 | 
											
												
													
														|  |  import com.zanxiang.module.redis.service.IDistributedLockComponent;
 |  |  import com.zanxiang.module.redis.service.IDistributedLockComponent;
 | 
											
												
													
														|  | -import com.zanxiang.module.util.DateUtil;
 |  | 
 | 
											
												
													
														|  |  import com.zanxiang.module.util.JsonUtil;
 |  |  import com.zanxiang.module.util.JsonUtil;
 | 
											
												
													
														|  |  import com.zanxiang.mybatis.entity.GameUser;
 |  |  import com.zanxiang.mybatis.entity.GameUser;
 | 
											
												
													
														|  |  import com.zanxiang.mybatis.entity.GameUserRole;
 |  |  import com.zanxiang.mybatis.entity.GameUserRole;
 | 
											
										
											
												
													
														|  | @@ -78,11 +77,10 @@ public class GameUserRoleServiceImpl extends ServiceImpl<GameUserRoleMapper, Gam
 | 
											
												
													
														|  |                      .set(GameUserRole::getRoleLevel, param.getRoleLevel())
 |  |                      .set(GameUserRole::getRoleLevel, param.getRoleLevel())
 | 
											
												
													
														|  |                      .set(GameUserRole::getServerId, param.getServerId())
 |  |                      .set(GameUserRole::getServerId, param.getServerId())
 | 
											
												
													
														|  |                      .set(GameUserRole::getServerName, param.getServerName())
 |  |                      .set(GameUserRole::getServerName, param.getServerName())
 | 
											
												
													
														|  | -                    .set(param.getRoleCreateTime() != null, GameUserRole::getCreateTime, param.getRoleCreateTime() == null ? null : DateUtil.secondToLocalDateTime(param.getRoleCreateTime()))
 |  | 
 | 
											
												
													
														|  | -                    .set(param.getRoleGradeUpdateTime() != null, GameUserRole::getUpdateTime, param.getRoleGradeUpdateTime() == null ? null : DateUtil.secondToLocalDateTime(param.getRoleGradeUpdateTime()))
 |  | 
 | 
											
												
													
														|  |                      .set(param.getRoleVipLevel() != null, GameUserRole::getRoleVipLevel, param.getRoleVipLevel())
 |  |                      .set(param.getRoleVipLevel() != null, GameUserRole::getRoleVipLevel, param.getRoleVipLevel())
 | 
											
												
													
														|  |                      .set(param.getRolePower() != null, GameUserRole::getRolePower, param.getRolePower())
 |  |                      .set(param.getRolePower() != null, GameUserRole::getRolePower, param.getRolePower())
 | 
											
												
													
														|  |                      .set(param.getPlatformCoin() != null, GameUserRole::getPlatformCoin, param.getPlatformCoin())
 |  |                      .set(param.getPlatformCoin() != null, GameUserRole::getPlatformCoin, param.getPlatformCoin())
 | 
											
												
													
														|  | 
 |  | +                    .set(GameUserRole::getUpdateTime, LocalDateTime.now())
 | 
											
												
													
														|  |                      .eq(GameUserRole::getGameId, userData.getGameId())
 |  |                      .eq(GameUserRole::getGameId, userData.getGameId())
 | 
											
												
													
														|  |                      .eq(GameUserRole::getRoleId, param.getRoleId())
 |  |                      .eq(GameUserRole::getRoleId, param.getRoleId())
 | 
											
												
													
														|  |              );
 |  |              );
 |