zs 1 年之前
父节点
当前提交
824a15ce02
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/service/course.service.ts

+ 1 - 1
src/service/course.service.ts

@@ -37,7 +37,7 @@ export class CourseService extends BaseService<modelType> {
       const res = this.computedTeam(list, team_id);
       const info = this.getOtherInfoFromList(list, team_id);
       await this.AppModel.updateOne(
-        { team_id: team_id },
+        { team_id: team_id, match_id: match_id },
         { score: res.score.toString() }
       );
       rList.push({ ...info, ...res });