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
68c5099c
Commit
68c5099c
authored
Jan 26, 2022
by
haoyanbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CountMatch
parent
05414353
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
org_player.go
app/mobile/service/dto/org_player.go
+1
-0
org_player.go
app/mobile/service/org_player.go
+1
-1
No files found.
app/mobile/service/dto/org_player.go
View file @
68c5099c
...
@@ -99,6 +99,7 @@ type OrgPlayerRoundsScoring struct {
...
@@ -99,6 +99,7 @@ type OrgPlayerRoundsScoring struct {
MatchStartTime
string
`json:"matchStartTime"`
MatchStartTime
string
`json:"matchStartTime"`
MatchEndTime
string
`json:"matchEndTime"`
MatchEndTime
string
`json:"matchEndTime"`
TeamName
string
`json:"teamName"`
TeamName
string
`json:"teamName"`
CountMatch
string
`json:"countMatch" comment:"场次"`
SeasonName
string
`json:"seasonName" comment:"赛季名称"`
SeasonName
string
`json:"seasonName" comment:"赛季名称"`
LeagueName
string
`json:"leagueName" comment:"联赛级别"`
LeagueName
string
`json:"leagueName" comment:"联赛级别"`
dto
.
RoundsScoring
dto
.
RoundsScoring
...
...
app/mobile/service/org_player.go
View file @
68c5099c
...
@@ -275,7 +275,7 @@ func (e *OrgPlayer) GetRoundsScoring(c *dto.OrgPlayerGetInfoReq, matchId []strin
...
@@ -275,7 +275,7 @@ func (e *OrgPlayer) GetRoundsScoring(c *dto.OrgPlayerGetInfoReq, matchId []strin
func
(
e
*
OrgPlayer
)
GetSeasonRoundsScoring
(
playerId
string
,
matchId
[]
string
,
data
*
[]
dto
.
OrgPlayerRoundsScoring
)
error
{
func
(
e
*
OrgPlayer
)
GetSeasonRoundsScoring
(
playerId
string
,
matchId
[]
string
,
data
*
[]
dto
.
OrgPlayerRoundsScoring
)
error
{
var
err
error
var
err
error
field
:=
"om.season_id as id, omtp.team_id, ot.team_name, ol.league_name, os.season_name,"
+
field
:=
"om.season_id as id, omtp.team_id, ot.team_name, ol.league_name, os.season_name,
count(omtp.id)as count_match,
"
+
"sum(omtp.scoring)as scoring,"
+
"sum(omtp.scoring)as scoring,"
+
"sum(omtp.rebound)as rebound,"
+
"sum(omtp.rebound)as rebound,"
+
"sum(omtp.assist)as assist,"
+
"sum(omtp.assist)as assist,"
+
...
...
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