|
@@ -508,7 +508,8 @@ public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements Ga
|
|
public Boolean statusUpdate(Long id, Integer status) {
|
|
public Boolean statusUpdate(Long id, Integer status) {
|
|
return super.update(new LambdaUpdateWrapper<Game>()
|
|
return super.update(new LambdaUpdateWrapper<Game>()
|
|
.set(Game::getStatus, status)
|
|
.set(Game::getStatus, status)
|
|
- .set(Game::getUpdateTime, LocalDateTime.now()));
|
|
|
|
|
|
+ .set(Game::getUpdateTime, LocalDateTime.now())
|
|
|
|
+ .eq(Game::getId, id));
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|