Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
antai-sport-http-server
Project
Project
Details
Activity
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
antai-sport
antai-sport-http-server
Commits
78c4197b
Commit
78c4197b
authored
Sep 19, 2022
by
liming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系列赛淘汰赛主页数据
parent
8ab81607
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
973 additions
and
892 deletions
+973
-892
antai-sport.ndm2
doc/antai-sport.ndm2
+875
-849
SeriesMatchFinalists.java
...server/repository/series/entity/SeriesMatchFinalists.java
+5
-0
SeriesController.java
...rver/api/business/series/controller/SeriesController.java
+8
-0
SeriesBusinessMapper.java
...rver/api/business/series/mapper/SeriesBusinessMapper.java
+7
-1
SeriesService.java
...ver/server/api/business/series/service/SeriesService.java
+15
-0
SeriesKnockoutMatchDetailVO.java
...r/api/business/series/vo/SeriesKnockoutMatchDetailVO.java
+0
-42
SeriesKnockoutMatchListVO.java
...ver/api/business/series/vo/SeriesKnockoutMatchListVO.java
+30
-0
SeriesBusinessMapper.xml
...src/main/resources/mapper/series/SeriesBusinessMapper.xml
+33
-0
No files found.
doc/antai-sport.ndm2
View file @
78c4197b
...
...
@@ -22814,8 +22814,8 @@
},
{
"objectType": "Table_MYSQL",
"name": "series_
match_finalists
",
"comment": "系列赛
具体比赛入围列表
",
"name": "series_
notice
",
"comment": "系列赛
通知
",
"engine": "InnoDB",
"characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
...
...
@@ -22890,7 +22890,7 @@
},
{
"objectType": "TableField_MYSQL",
"name": "
match
_id",
"name": "
series
_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
...
...
@@ -22905,20 +22905,20 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "系列赛
比赛
id",
"comment": "系列赛id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
match
_id"
"oldName": "
series
_id"
},
{
"objectType": "TableField_MYSQL",
"name": "
sport_user_id
",
"type": "
bigint
",
"length":
-2147483648
,
"name": "
content
",
"type": "
varchar
",
"length":
500
,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
...
...
@@ -22931,18 +22931,18 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
入围玩家id
",
"comment": "
通知内容
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
sport_user_id
"
"oldName": "
content
"
},
{
"objectType": "TableField_MYSQL",
"name": "sta
rt_order
",
"name": "sta
tus
",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
...
...
@@ -22957,14 +22957,40 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
位置序列
",
"comment": "
状态 10 未发布 20 已发布
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "start_order"
"oldName": "status"
},
{
"objectType": "TableField_MYSQL",
"name": "show_order",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "0",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "显示顺序",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "show_order"
},
{
"objectType": "TableField_MYSQL",
...
...
@@ -23247,6 +23273,76 @@
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
...
...
@@ -23265,8 +23361,8 @@
},
{
"objectType": "Table_MYSQL",
"name": "series_
notice
",
"comment": "
系列赛通知
",
"name": "series_
area
",
"comment": "
赛区
",
"engine": "InnoDB",
"characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
...
...
@@ -23367,35 +23463,9 @@
},
{
"objectType": "TableField_MYSQL",
"name": "
content
",
"name": "
name
",
"type": "varchar",
"length": 500,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "通知内容",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "content"
},
{
"objectType": "TableField_MYSQL",
"name": "status",
"type": "int",
"length": -2147483648,
"length": 255,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
...
...
@@ -23408,14 +23478,14 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
状态 10 未发布 20 已发布
",
"comment": "
赛区名称
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
status
"
"oldName": "
name
"
},
{
"objectType": "TableField_MYSQL",
...
...
@@ -23812,8 +23882,8 @@
},
{
"objectType": "Table_MYSQL",
"name": "series_
area
",
"comment": "
赛区
",
"name": "series_
match
",
"comment": "
系列赛具体比赛
",
"engine": "InnoDB",
"characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
...
...
@@ -23914,9 +23984,9 @@
},
{
"objectType": "TableField_MYSQL",
"name": "
name
",
"type": "
varchar
",
"length":
255
,
"name": "
round_id
",
"type": "
bigint
",
"length":
-2147483648
,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
...
...
@@ -23929,19 +23999,19 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
赛区名称
",
"comment": "
轮次id
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
name
"
"oldName": "
round_id
"
},
{
"objectType": "TableField_MYSQL",
"name": "
show_order
",
"type": "int",
"name": "
area_id
",
"type": "
big
int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -23952,22 +24022,22 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "
0
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
显示顺序
",
"comment": "
赛区id
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
show_order
"
"oldName": "
area_id
"
},
{
"objectType": "TableField_MYSQL",
"name": "
version
",
"type": "
big
int",
"name": "
type
",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -23978,50 +24048,50 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "
0
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
版本号
",
"comment": "
类型 10 预选赛 20 淘汰赛
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
version
"
"oldName": "
type
"
},
{
"objectType": "TableField_MYSQL",
"name": "
deleted
",
"type": "
tinyint
",
"length":
-2147483648
,
"name": "
name
",
"type": "
varchar
",
"length":
100
,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"charset": "
utf8mb4
",
"collation": "
utf8mb4_0900_ai_ci
",
"isNullable": true,
"defaultType": "
Others
",
"defaultValue": "
0
",
"defaultType": "
Null
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
删除标记
",
"comment": "
比赛名称
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
deleted
"
"oldName": "
name
"
},
{
"objectType": "TableField_MYSQL",
"name": "
create_by
",
"type": "
bigint
",
"length":
-2147483648
,
"decimals":
-2147483648
,
"name": "
map
",
"type": "
varchar
",
"length":
255
,
"decimals":
0
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -24033,21 +24103,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
创建人
",
"comment": "
地图key
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
create_by
"
"oldName": "
map
"
},
{
"objectType": "TableField_MYSQL",
"name": "
create_time
",
"type": "
datetime
",
"length":
-2147483648
,
"decimals":
-2147483648
,
"name": "
path
",
"type": "
varchar
",
"length":
255
,
"decimals":
0
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -24056,22 +24126,22 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "
CURRENT_TIMESTAMP
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
创建时间
",
"comment": "
赛道key
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
create_time
"
"oldName": "
path
"
},
{
"objectType": "TableField_MYSQL",
"name": "
update_by
",
"type": "
bigint
",
"name": "
entry_time
",
"type": "
datetime
",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -24081,22 +24151,22 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Others
",
"defaultType": "
Null
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
修改人
",
"comment": "
允许进入时间
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
update_by
"
"oldName": "
entry_time
"
},
{
"objectType": "TableField_MYSQL",
"name": "
update
_time",
"name": "
start
_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
...
...
@@ -24107,530 +24177,9 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": true,
"isAutoInc": false,
"comment": "修改时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "update_time"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "id",
"keyLength": 0,
"order": "",
"oldName": "id"
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "series_match",
"comment": "系列赛具体比赛",
"engine": "InnoDB",
"characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
"autoIncrement": 76,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "DYNAMIC",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "sport_user_summary",
"encryption": false,
"createOptions": "row_format=DYNAMIC",
"createTime": "2021-09-26 11:09:37",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 0,
"maxDataLength": 0,
"rows": 72,
"updateTime": "2022-01-25 11:38:29",
"DDL": "CREATE TABLE `sport_user_summary` (\n `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',\n `type` int DEFAULT NULL COMMENT '汇总类型 1.骑行 2.跑步',\n `user_id` bigint DEFAULT NULL COMMENT '用户id',\n `total_distance` decimal(18,2) DEFAULT NULL COMMENT '总骑行距离',\n `total_climb_distance` decimal(18,2) DEFAULT NULL COMMENT '总爬坡高度',\n `total_duration` int DEFAULT NULL COMMENT '总持续时长',\n `version` bigint DEFAULT '0' COMMENT '版本号',\n `deleted` tinyint DEFAULT '0' COMMENT '删除标记',\n `ct_date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',\n `lm_user_id` bigint DEFAULT NULL COMMENT '修改人id',\n `lm_date` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',\n PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='运动记录汇总'",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": true,
"comment": "主键",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "id"
},
{
"objectType": "TableField_MYSQL",
"name": "series_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "系列赛id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "series_id"
},
{
"objectType": "TableField_MYSQL",
"name": "round_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "轮次id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "round_id"
},
{
"objectType": "TableField_MYSQL",
"name": "area_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "赛区id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "area_id"
},
{
"objectType": "TableField_MYSQL",
"name": "type",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "类型 10 预选赛 20 淘汰赛",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "type"
},
{
"objectType": "TableField_MYSQL",
"name": "name",
"type": "varchar",
"length": 100,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛名称",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "name"
},
{
"objectType": "TableField_MYSQL",
"name": "map",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "地图key",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "map"
},
{
"objectType": "TableField_MYSQL",
"name": "path",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "赛道key",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "path"
},
{
"objectType": "TableField_MYSQL",
"name": "entry_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "允许进入时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "entry_time"
},
{
"objectType": "TableField_MYSQL",
"name": "start_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛开始时间",
"columnFormat": "",
...
...
@@ -27084,8 +26633,190 @@
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "id",
"type": "bigint",
"name": "id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": false,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": true,
"comment": "主键",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "id"
},
{
"objectType": "TableField_MYSQL",
"name": "series_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "系列赛id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "series_id"
},
{
"objectType": "TableField_MYSQL",
"name": "round_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "轮次id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "round_id"
},
{
"objectType": "TableField_MYSQL",
"name": "match_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "match_id"
},
{
"objectType": "TableField_MYSQL",
"name": "player_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "玩家id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "player_id"
},
{
"objectType": "TableField_MYSQL",
"name": "entry_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛进入时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "entry_time"
},
{
"objectType": "TableField_MYSQL",
"name": "finish_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛完成时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "finish_time"
},
{
"objectType": "TableField_MYSQL",
"name": "duration",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -27094,24 +26825,24 @@
"isBinary": false,
"charset": "",
"collation": "",
"isNullable":
fals
e,
"defaultType": "
Others
",
"isNullable":
tru
e,
"defaultType": "
Null
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc":
tru
e,
"comment": "
主键
",
"isAutoInc":
fals
e,
"comment": "
比赛用时(秒)
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
id
"
"oldName": "
duration
"
},
{
"objectType": "TableField_MYSQL",
"name": "
series_id
",
"type": "
big
int",
"name": "
match_rank
",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -27121,25 +26852,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Others
",
"defaultType": "
Null
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
系列赛id
",
"comment": "
比赛名次
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
series_id
"
"oldName": "
match_rank
"
},
{
"objectType": "TableField_MYSQL",
"name": "
round_id
",
"type": "
bigint
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"name": "
distance
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27147,25 +26878,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Others
",
"defaultType": "
Null
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
轮次id
",
"comment": "
骑行总长度
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
round_id
"
"oldName": "
distance
"
},
{
"objectType": "TableField_MYSQL",
"name": "
match_id
",
"type": "
bigint
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"name": "
climb_distance
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27173,25 +26904,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Others
",
"defaultType": "
Null
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
比赛id
",
"comment": "
爬坡距离
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
match_id
"
"oldName": "
climb_distance
"
},
{
"objectType": "TableField_MYSQL",
"name": "
player_id
",
"type": "
bigint
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"name": "
avg_ftp
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27199,25 +26930,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Others
",
"defaultType": "
Null
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
玩家id
",
"comment": "
平均功率
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
player_id
"
"oldName": "
avg_ftp
"
},
{
"objectType": "TableField_MYSQL",
"name": "
entry_time
",
"type": "d
atetime
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"name": "
avg_speed
",
"type": "d
ecimal
",
"length":
1
8,
"decimals":
2
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27229,19 +26960,19 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
比赛进入时间
",
"comment": "
平均速度
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
entry_time
"
"oldName": "
avg_speed
"
},
{
"objectType": "TableField_MYSQL",
"name": "
finish_tim
e",
"type": "
datetime
",
"name": "
calori
e",
"type": "
int
",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -27251,25 +26982,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Null
",
"defaultType": "
Others
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
比赛完成时间
",
"comment": "
卡路里
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
finish_tim
e"
"oldName": "
calori
e"
},
{
"objectType": "TableField_MYSQL",
"name": "
duration
",
"type": "
int
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"name": "
weight
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27277,25 +27008,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Null
",
"defaultType": "
Others
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
比赛用时(秒)
",
"comment": "
体重
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
duration
"
"oldName": "
weight
"
},
{
"objectType": "TableField_MYSQL",
"name": "
match_rank
",
"type": "
int
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"name": "
one_minutes_ftp
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27303,22 +27034,22 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Null
",
"defaultType": "
Others
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
比赛名次
",
"comment": "
1分钟平均最佳FTP
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
match_rank
"
"oldName": "
one_minutes_ftp
"
},
{
"objectType": "TableField_MYSQL",
"name": "
distance
",
"name": "
five_minutes_ftp
",
"type": "decimal",
"length": 18,
"decimals": 2,
...
...
@@ -27329,22 +27060,22 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Null
",
"defaultType": "
Others
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
骑行总长度
",
"comment": "
5分钟平均最佳FTP
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
distance
"
"oldName": "
five_minutes_ftp
"
},
{
"objectType": "TableField_MYSQL",
"name": "
climb_distance
",
"name": "
twenty_minutes_ftp
",
"type": "decimal",
"length": 18,
"decimals": 2,
...
...
@@ -27355,22 +27086,22 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Null
",
"defaultType": "
Others
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
爬坡距离
",
"comment": "
20分钟平均最佳FTP
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
climb_distance
"
"oldName": "
twenty_minutes_ftp
"
},
{
"objectType": "TableField_MYSQL",
"name": "
avg_ftp
",
"name": "
one_minutes_wkg
",
"type": "decimal",
"length": 18,
"decimals": 2,
...
...
@@ -27381,22 +27112,74 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Null
",
"defaultType": "
Others
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
平均功率
",
"comment": "
1分钟平均最佳功体比
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
avg_ftp
"
"oldName": "
one_minutes_wkg
"
},
{
"objectType": "TableField_MYSQL",
"name": "avg_speed",
"name": "five_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "5分钟平均最佳功体比",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "five_minutes_wkg"
},
{
"objectType": "TableField_MYSQL",
"name": "twenty_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "20分钟平均最佳功体比",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "twenty_minutes_wkg"
},
{
"objectType": "TableField_MYSQL",
"name": "score",
"type": "decimal",
"length": 18,
"decimals": 2,
...
...
@@ -27407,22 +27190,74 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "得分",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "score"
},
{
"objectType": "TableField_MYSQL",
"name": "praise_num",
"type": "int",
"length": 0,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "获攒数量",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "praise_num"
},
{
"objectType": "TableField_MYSQL",
"name": "status",
"type": "tinyint",
"length": 4,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
平均速度
",
"comment": "
比赛状态10:未完成比赛 20:完成比赛
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
avg_speed
"
"oldName": "
status
"
},
{
"objectType": "TableField_MYSQL",
"name": "
calorie
",
"name": "
result_confirm_status
",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
...
...
@@ -27437,21 +27272,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
卡路里
",
"comment": "
成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
calorie
"
"oldName": "
result_confirm_status
"
},
{
"objectType": "TableField_MYSQL",
"name": "
weight
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"name": "
finished
",
"type": "
bit
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27460,24 +27295,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "
0
",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
体重
",
"comment": "
是否结束
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
weight
"
"oldName": "
finished
"
},
{
"objectType": "TableField_MYSQL",
"name": "
one_minutes_ftp
",
"type": "d
ecimal
",
"length":
1
8,
"decimals":
2
,
"name": "
create_time
",
"type": "d
atetime
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27486,24 +27321,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "
CURRENT_TIMESTAMP
",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
1分钟平均最佳FTP
",
"comment": "
创建时间
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
one_minutes_ftp
"
"oldName": "
create_time
"
},
{
"objectType": "TableField_MYSQL",
"name": "
five_minutes_ftp
",
"type": "d
ecimal
",
"length":
1
8,
"decimals":
2
,
"name": "
update_time
",
"type": "d
atetime
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27512,50 +27347,318 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp":
fals
e,
"defaultValue": "
CURRENT_TIMESTAMP
",
"isOnUpdateCurrentTimestamp":
tru
e,
"isAutoInc": false,
"comment": "
5分钟平均最佳FTP
",
"comment": "
修改时间
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "five_minutes_ftp"
},
"oldName": "update_time"
}
],
"indexes": [],
"primaryKey": {
"objectType": "PrimaryKey_MYSQL",
"name": "",
"fields": [
{
"objectType": "IndexField_MYSQL",
"name": "id",
"keyLength": 0,
"order": "",
"oldName": "id"
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
}
],
"oldName": "",
"indexMethod": "BTREE",
"comment": ""
},
"foreignKeys": [],
"triggers": [],
"tablePartitions": []
},
{
"objectType": "Table_MYSQL",
"name": "series_match_finalists",
"comment": "系列赛具体比赛入围列表",
"engine": "InnoDB",
"characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
"autoIncrement": 76,
"tablespace": "",
"storage": "",
"insertMethod": "",
"connection": "",
"checksum": false,
"rowFormat": "DYNAMIC",
"avgRowLength": 0,
"maxRows": 0,
"minRows": 0,
"keyBlockSize": 0,
"packKeys": "",
"delayKeyWrite": false,
"dataDirectory": "",
"indexDirectory": "",
"statsAutoRecalc": "",
"statsPersistent": "",
"statsSamplePages": 0,
"union": "",
"pageCheckSum": false,
"transactional": false,
"compression": "",
"oldName": "sport_user_summary",
"encryption": false,
"createOptions": "row_format=DYNAMIC",
"createTime": "2021-09-26 11:09:37",
"checkTime": "",
"dataFree": 0,
"dataLength": 16384,
"indexLength": 0,
"maxDataLength": 0,
"rows": 72,
"updateTime": "2022-01-25 11:38:29",
"DDL": "CREATE TABLE `sport_user_summary` (\n `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',\n `type` int DEFAULT NULL COMMENT '汇总类型 1.骑行 2.跑步',\n `user_id` bigint DEFAULT NULL COMMENT '用户id',\n `total_distance` decimal(18,2) DEFAULT NULL COMMENT '总骑行距离',\n `total_climb_distance` decimal(18,2) DEFAULT NULL COMMENT '总爬坡高度',\n `total_duration` int DEFAULT NULL COMMENT '总持续时长',\n `version` bigint DEFAULT '0' COMMENT '版本号',\n `deleted` tinyint DEFAULT '0' COMMENT '删除标记',\n `ct_date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',\n `lm_user_id` bigint DEFAULT NULL COMMENT '修改人id',\n `lm_date` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',\n PRIMARY KEY (`id`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='运动记录汇总'",
"partitionBy": "",
"partitionByExpr": "",
"partitions": 0,
"partitionKeyAlgorithm": "",
"subPartitionBy": "",
"subPartitionByExpr": "",
"subPartitions": 0,
"subPartitionKeyAlgorithm": "",
"fields": [
{
"objectType": "TableField_MYSQL",
"name": "
twenty_minutes_ftp
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"name": "
id
",
"type": "
bigint
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable":
tru
e,
"isNullable":
fals
e,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc":
fals
e,
"comment": "
20分钟平均最佳FTP
",
"isAutoInc":
tru
e,
"comment": "
主键
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
twenty_minutes_ftp
"
"oldName": "
id
"
},
{
"objectType": "TableField_MYSQL",
"name": "
one_minutes_wkg
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"name": "
match_id
",
"type": "
bigint
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27567,21 +27670,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
1分钟平均最佳功体比
",
"comment": "
系列赛比赛id
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
one_minutes_wkg
"
"oldName": "
match_id
"
},
{
"objectType": "TableField_MYSQL",
"name": "
five_minutes_wkg
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"name": "
round_id
",
"type": "
bigint
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27593,21 +27696,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
5分钟平均最佳功体比
",
"comment": "
轮次id
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
five_minutes_wkg
"
"oldName": "
round_id
"
},
{
"objectType": "TableField_MYSQL",
"name": "
twenty_minutes_wkg
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"name": "
sport_user_id
",
"type": "
bigint
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27619,21 +27722,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
20分钟平均最佳功体比
",
"comment": "
入围玩家id
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
twenty_minutes_wkg
"
"oldName": "
sport_user_id
"
},
{
"objectType": "TableField_MYSQL",
"name": "s
core
",
"type": "
decimal
",
"length":
1
8,
"decimals":
2
,
"name": "s
tart_order
",
"type": "
int
",
"length":
-214748364
8,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27645,21 +27748,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
得分
",
"comment": "
位置序列
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "s
core
"
"oldName": "s
tart_order
"
},
{
"objectType": "TableField_MYSQL",
"name": "
praise_num
",
"type": "int",
"length":
0
,
"decimals":
0
,
"name": "
version
",
"type": "
big
int",
"length":
-2147483648
,
"decimals":
-2147483648
,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
...
...
@@ -27668,23 +27771,23 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "
0
",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
获攒数量
",
"comment": "
版本号
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
praise_num
"
"oldName": "
version
"
},
{
"objectType": "TableField_MYSQL",
"name": "
status
",
"name": "
deleted
",
"type": "tinyint",
"length":
4
,
"length":
-2147483648
,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
...
...
@@ -27693,23 +27796,23 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "
Null
",
"defaultValue": "",
"defaultType": "
Others
",
"defaultValue": "
0
",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
比赛状态10:未完成比赛 20:完成比赛
",
"comment": "
删除标记
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
status
"
"oldName": "
deleted
"
},
{
"objectType": "TableField_MYSQL",
"name": "
result_confirm_status
",
"type": "int",
"name": "
create_by
",
"type": "
big
int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -27723,19 +27826,19 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级
",
"comment": "
创建人
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
result_confirm_status
"
"oldName": "
create_by
"
},
{
"objectType": "TableField_MYSQL",
"name": "
finished
",
"type": "
bit
",
"name": "
create_time
",
"type": "
datetime
",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -27746,22 +27849,22 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "
0
",
"defaultValue": "
CURRENT_TIMESTAMP
",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
是否结束
",
"comment": "
创建时间
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
finished
"
"oldName": "
create_time
"
},
{
"objectType": "TableField_MYSQL",
"name": "
create_time
",
"type": "
datetime
",
"name": "
update_by
",
"type": "
bigint
",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
...
...
@@ -27772,17 +27875,17 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "
CURRENT_TIMESTAMP
",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "
创建时间
",
"comment": "
修改人
",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "
create_time
"
"oldName": "
update_by
"
},
{
"objectType": "TableField_MYSQL",
...
...
@@ -27935,83 +28038,6 @@
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
"keyLength": 0,
"order": "",
"oldName": ""
},
{
"objectType": "IndexField_MYSQL",
"name": "",
repository/src/main/java/com/antai/sport/http/server/repository/series/entity/SeriesMatchFinalists.java
View file @
78c4197b
...
...
@@ -32,6 +32,11 @@ public class SeriesMatchFinalists implements Serializable {
*/
private
Long
matchId
;
/**
* 轮次id
*/
private
Long
roundId
;
/**
* 入围玩家id
*/
...
...
server-api/src/main/java/com/antai/sport/http/server/server/api/business/series/controller/SeriesController.java
View file @
78c4197b
...
...
@@ -76,5 +76,13 @@ public class SeriesController {
return
success
();
}
@ApiOperation
(
"8.获取淘汰赛首页收据"
)
@PostMapping
(
"knockout/match/{roundId}/{sportUserId}"
)
public
ResponseEntity
<
Result
<
SeriesKnockoutMatchHomeVO
>>
getSeriesKnockoutMatchHomeData
(
@PathVariable
(
"roundId"
)
Long
roundId
,
@PathVariable
(
"sportUserId"
)
Long
sportUserId
)
{
return
success
(
seriesService
.
getSeriesKnockoutMatchHomeData
(
roundId
,
sportUserId
));
}
}
server-api/src/main/java/com/antai/sport/http/server/server/api/business/series/mapper/SeriesBusinessMapper.java
View file @
78c4197b
...
...
@@ -42,5 +42,11 @@ public interface SeriesBusinessMapper {
@Param
(
"createTime"
)
LocalDateTime
createTime
);
IPage
<
SeriesQualifyingMatchRankVO
>
getSeriesQualifyingMatchRank
(
IPage
<
SeriesQualifyingMatchRankVO
>
page
,
@Param
(
"param"
)
SeriesQualifyingMatchRankDTO
param
);
@Param
(
"param"
)
SeriesQualifyingMatchRankDTO
param
);
SeriesKnockoutMatchListVO
getUserSeriesKnockoutMatch
(
@Param
(
"roundId"
)
Long
roundId
,
@Param
(
"sportUserId"
)
Long
sportUserId
);
List
<
SeriesKnockoutMatchListVO
>
getOtherSeriesKnockoutMatchList
(
@Param
(
"roundId"
)
Long
roundId
,
@Param
(
"sportUserId"
)
Long
sportUserId
);
}
server-api/src/main/java/com/antai/sport/http/server/server/api/business/series/service/SeriesService.java
View file @
78c4197b
...
...
@@ -262,4 +262,19 @@ public class SeriesService {
});
}
/**
* 加载淘汰赛主页数据
*
* @param roundId
* @param sportUserId
* @return
*/
public
SeriesKnockoutMatchHomeVO
getSeriesKnockoutMatchHomeData
(
Long
roundId
,
Long
sportUserId
)
{
SeriesKnockoutMatchHomeVO
result
=
new
SeriesKnockoutMatchHomeVO
();
result
.
setMyMatch
(
seriesBusinessMapper
.
getUserSeriesKnockoutMatch
(
roundId
,
sportUserId
));
result
.
setMatchList
(
seriesBusinessMapper
.
getOtherSeriesKnockoutMatchList
(
roundId
,
sportUserId
));
return
result
;
}
}
server-api/src/main/java/com/antai/sport/http/server/server/api/business/series/vo/SeriesKnockoutMatchDetailVO.java
deleted
100644 → 0
View file @
8ab81607
package
com
.
antai
.
sport
.
http
.
server
.
server
.
api
.
business
.
series
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
import
java.util.List
;
@ApiModel
(
"淘汰赛比赛数据"
)
@Data
public
class
SeriesKnockoutMatchDetailVO
{
@ApiModelProperty
(
"比赛id"
)
public
Long
id
;
@ApiModelProperty
(
"比赛名称"
)
public
String
name
;
@ApiModelProperty
(
"logo"
)
private
String
logo
;
@ApiModelProperty
(
"地图"
)
private
String
map
;
@ApiModelProperty
(
"赛道"
)
private
String
path
;
@ApiModelProperty
(
"允许进入时间 yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
entryTime
;
@ApiModelProperty
(
"开始比赛时间 yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
startTime
;
@ApiModelProperty
(
"比赛结束时间 yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
endTime
;
@ApiModelProperty
(
"长度"
)
private
BigDecimal
distance
;
@ApiModelProperty
(
"爬坡高度"
)
private
BigDecimal
climbDistance
;
@ApiModelProperty
(
"选手数量"
)
private
Integer
userNum
;
@ApiModelProperty
(
"赛事描述"
)
private
String
description
;
}
server-api/src/main/java/com/antai/sport/http/server/server/api/business/series/vo/SeriesKnockoutMatchListVO.java
View file @
78c4197b
package
com
.
antai
.
sport
.
http
.
server
.
server
.
api
.
business
.
series
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
@ApiModel
(
"淘汰赛比赛列表VO"
)
@Data
public
class
SeriesKnockoutMatchListVO
{
@ApiModelProperty
(
"比赛id"
)
public
Long
id
;
@ApiModelProperty
(
"比赛名称"
)
public
String
name
;
@ApiModelProperty
(
"地图"
)
private
String
map
;
@ApiModelProperty
(
"赛道"
)
private
String
path
;
@ApiModelProperty
(
"允许进入时间 yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
entryTime
;
@ApiModelProperty
(
"开始比赛时间 yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
startTime
;
@ApiModelProperty
(
"比赛结束时间 yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
endTime
;
@ApiModelProperty
(
"长度"
)
private
BigDecimal
distance
;
@ApiModelProperty
(
"爬坡高度"
)
private
BigDecimal
climbDistance
;
@ApiModelProperty
(
"入围人员数量"
)
private
Integer
userNum
;
@ApiModelProperty
(
"赛事描述"
)
private
String
description
;
}
server-api/src/main/resources/mapper/series/SeriesBusinessMapper.xml
View file @
78c4197b
...
...
@@ -98,4 +98,37 @@
left join sport_user_training_log t4 on t4.game_mode = 30 and t1.record_id = t4.record_id
where t1.round_id = #{param.roundId} and t1.area_id = #{param.areaId}
</select>
<select
id=
"getUserSeriesKnockoutMatch"
resultType=
"com.antai.sport.http.server.server.api.business.series.vo.SeriesKnockoutMatchListVO"
>
select t1.*,
(select count(1) from series_match_finalists s1 where s1.match_id = t1.id) as userNum
from series_match t1
where t1.deleted = 0 and t1.status = 20
and t1.id in (
select w1.match_id
from series_match_finalists w1
where w1.round_id = #{roundId} and w1.sport_user_id = #{sportUserId}
)
limit 1
</select>
<select
id=
"getOtherSeriesKnockoutMatchList"
resultType=
"com.antai.sport.http.server.server.api.business.series.vo.SeriesKnockoutMatchListVO"
>
select t1.*,ifnull(t2.userNum,0) as userNum
from series_match t1
left join (
select match_id,count(1) as userNum
from series_match_finalists j1
where j1.round_id = #{roundId}
group by match_id
) t2 on t1.id = t2.match_id
where t1.deleted = 0 and t1.status = 20 and t1.round_id = #{roundId}
and t1.id not in (
select w1.match_id
from series_match_finalists w1
where w1.round_id = #{roundId} and w1.sport_user_id = #{sportUserId}
)
order by t1.start_time
</select>
</mapper>
\ No newline at end of file
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