Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nbya
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoyanbin
nbya
Commits
418d9ed4
Commit
418d9ed4
authored
Jan 16, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
match_id
parent
3a9c02be
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
org_club_team.go
app/operate/service/org_club_team.go
+1
-1
org_match_evaluate.go
app/operate/service/org_match_evaluate.go
+1
-1
org_team_match_evaluate.go
app/operate/service/org_team_match_evaluate.go
+1
-1
org_team_player.go
app/operate/service/org_team_player.go
+1
-1
org_team_team.go
app/operate/service/org_team_team.go
+1
-1
No files found.
app/operate/service/org_club_team.go
View file @
418d9ed4
...
...
@@ -80,7 +80,7 @@ func (e *OrgClubTeam) GetMatchInfo(id string, p *actions.DataPermission, data *c
var
err
error
err
=
e
.
Orm
.
Table
(
"org_match_team_player as omtp"
)
.
Select
(
"omtp.team_id, ol.league_name, os.season_name,"
+
Select
(
"omtp.team_id, o
mtp.match_id, o
l.league_name, os.season_name,"
+
"oc.club_name, ot.team_name, omtp.player_id, om.season_id"
)
.
Joins
(
"left join org_club as oc on omtp.club_id = oc.id"
)
.
Joins
(
"left join org_team as ot on omtp.team_id = ot.id"
)
.
...
...
app/operate/service/org_match_evaluate.go
View file @
418d9ed4
...
...
@@ -48,7 +48,7 @@ func (e *OrgMatchEvaluate) GetMatchInfo(id string, p *actions.DataPermission, da
var
err
error
err
=
e
.
Orm
.
Table
(
"org_match_team_player as omtp"
)
.
Select
(
"omtp.id, ol.league_name, od.division_name, os.season_name, om.rounds,"
+
Select
(
"omtp.id, o
mtp.match_id, omtp.team_id, o
l.league_name, od.division_name, os.season_name, om.rounds,"
+
"oc.club_name, ot.team_name, omtp.player_name, omtp.player_number, omtp.position,"
+
"ome.wonderful_moment_img, ome.wonderful_moment_mv,ome.wonderful_moment_img_title,"
+
"ome.wonderful_moment_mv_title, omtp.player_id, om.season_id,"
+
...
...
app/operate/service/org_team_match_evaluate.go
View file @
418d9ed4
...
...
@@ -49,7 +49,7 @@ func (e *OrgTeamMatchEvaluate) GetMatchInfo(id string, p *actions.DataPermission
var
err
error
err
=
e
.
Orm
.
Table
(
"org_match_team_player as omtp"
)
.
Select
(
"omtp.id, omtp.match_id, ol.league_name, od.division_name, os.season_name, om.rounds,"
+
Select
(
"omtp.id, omtp.match_id, o
mtp.team_id, o
l.league_name, od.division_name, os.season_name, om.rounds,"
+
"oc.club_name, ot.team_name, omtp.player_name, omtp.player_number, omtp.position,"
+
"ome.wonderful_moment_img, ome.wonderful_moment_mv,ome.wonderful_moment_img_title,"
+
"ome.wonderful_moment_mv_title, ome.content, omtp.player_id, om.season_id"
)
.
...
...
app/operate/service/org_team_player.go
View file @
418d9ed4
...
...
@@ -46,7 +46,7 @@ func (e *OrgTeamPlayer) GetMatchInfo(id string, p *actions.DataPermission, data
var
err
error
err
=
e
.
Orm
.
Table
(
"org_match_team_player as omtp"
)
.
Select
(
"omtp.id, ol.league_name, os.season_name,"
+
Select
(
"omtp.id, o
mtp.match_id, omtp.team_id, o
l.league_name, os.season_name,"
+
"oc.club_name, ot.team_name, omtp.player_name, omtp.player_number, omtp.position,"
+
"omtp.player_id, om.rounds, om.season_id"
)
.
Joins
(
"left join org_club as oc on omtp.club_id = oc.id"
)
.
...
...
app/operate/service/org_team_team.go
View file @
418d9ed4
...
...
@@ -80,7 +80,7 @@ func (e *OrgTeamTeam) GetMatchInfo(id string, p *actions.DataPermission, data *c
var
err
error
err
=
e
.
Orm
.
Table
(
"org_match_team_player as omtp"
)
.
Select
(
"omtp.team_id, ol.league_name, os.season_name,"
+
Select
(
"omtp.team_id, o
mtp.match_id, o
l.league_name, os.season_name,"
+
"oc.club_name, ot.team_name, omtp.player_id, om.season_id"
)
.
Joins
(
"left join org_club as oc on omtp.club_id = oc.id"
)
.
Joins
(
"left join org_team as ot on omtp.team_id = ot.id"
)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment