|
@@ -127,7 +127,7 @@ public class AppGameController extends JeecgController<AppGame, IAppGameService>
|
|
|
@Operation(summary="赛事表-发布成绩")
|
|
|
@PutMapping(value = "/uploadScore")
|
|
|
public Result<String> uploadScore(@RequestBody AppGame appGame) {
|
|
|
- boolean save = appGameService.save(appGame);
|
|
|
+ boolean save = appGameService.updateById(appGame);
|
|
|
if (!save){
|
|
|
return Result.error("上传成绩失败");
|
|
|
}
|