fix(athlete): 选手列表过滤掉集体报名记录
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -12,6 +12,7 @@
|
||||
LEFT JOIN martial_competition c ON a.competition_id = c.id AND c.is_deleted = 0
|
||||
LEFT JOIN martial_project p ON a.project_id = p.id AND p.is_deleted = 0
|
||||
WHERE a.is_deleted = 0
|
||||
AND (a.team_name IS NULL OR a.player_name != a.team_name)
|
||||
<if test="athlete.competitionId != null">
|
||||
AND a.competition_id = #{athlete.competitionId}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user