Commit 901ebaf8 authored by haoyanbin's avatar haoyanbin

omtp.match_id

parent 78c103ff
......@@ -28,7 +28,7 @@ func (e *OrgMatchEvaluate) GetPage(c *dto.OrgMatchEvaluateGetPageReq, p *actions
"ome.remark"
err = e.Orm.Table("org_match_team_player as omtp").
Select(field).
Joins("left join org_match_evaluate as ome on omtp.match_id = ome.id and omtp.rounds = ome.rounds and omtp.player_id = ome.player_id").
Joins("left join org_match_evaluate as ome on omtp.match_id = ome.match_id and omtp.rounds = ome.rounds and omtp.player_id = ome.player_id").
Joins("left join org_match as om on omtp.match_id = om.id and omtp.rounds = om.rounds").
Joins("left join org_league as ol on ol.id = om.league_id").
Joins("left join org_division as od on od.id = om.division_id").
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment