浏览代码

补传信息

zhangxin 22 小时之前
父节点
当前提交
ffdfb58df7

+ 1 - 1
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/system/app/controller/AppGameController.java

@@ -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("上传成绩失败");
 		 }