From bcba649b0299b40c7ca53c74306b9de83df7f305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=85=E6=88=BF?= Date: Mon, 29 Dec 2025 10:32:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=81=E5=88=A4=E9=82=80=E8=AF=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=B7=BB=E5=8A=A0=E8=B4=9F=E8=B4=A3=E5=9C=BA=E5=9C=B0?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - MartialJudgeInviteVO: 添加venueName字段 - MartialJudgeInviteMapper.xml: 关联查询场地名称 Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- .../modules/martial/mapper/MartialJudgeInviteMapper.xml | 5 ++++- .../modules/martial/pojo/vo/MartialJudgeInviteVO.java | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springblade/modules/martial/mapper/MartialJudgeInviteMapper.xml b/src/main/java/org/springblade/modules/martial/mapper/MartialJudgeInviteMapper.xml index 538a8be..1c9dbde 100644 --- a/src/main/java/org/springblade/modules/martial/mapper/MartialJudgeInviteMapper.xml +++ b/src/main/java/org/springblade/modules/martial/mapper/MartialJudgeInviteMapper.xml @@ -27,6 +27,7 @@ + @@ -71,11 +72,13 @@ ji.referee_type, j.name AS judge_name, j.level AS judge_level, - c.competition_name + c.competition_name, + v.venue_name FROM martial_judge_invite ji LEFT JOIN martial_judge j ON ji.judge_id = j.id LEFT JOIN martial_competition c ON ji.competition_id = c.id + LEFT JOIN martial_venue v ON ji.venue_id = v.id WHERE ji.is_deleted = 0 AND ji.competition_id = #{judgeInvite.competitionId} diff --git a/src/main/java/org/springblade/modules/martial/pojo/vo/MartialJudgeInviteVO.java b/src/main/java/org/springblade/modules/martial/pojo/vo/MartialJudgeInviteVO.java index 13aafcd..78517c9 100644 --- a/src/main/java/org/springblade/modules/martial/pojo/vo/MartialJudgeInviteVO.java +++ b/src/main/java/org/springblade/modules/martial/pojo/vo/MartialJudgeInviteVO.java @@ -74,4 +74,10 @@ public class MartialJudgeInviteVO extends MartialJudgeInvite { @Schema(description = "赛事名称") private String competitionName; + /** + * 场地名称 + */ + @Schema(description = "场地名称") + private String venueName; + }