Commit 78c4197b authored by liming's avatar liming

系列赛淘汰赛主页数据

parent 8ab81607
...@@ -22814,8 +22814,8 @@ ...@@ -22814,8 +22814,8 @@
}, },
{ {
"objectType": "Table_MYSQL", "objectType": "Table_MYSQL",
"name": "series_match_finalists", "name": "series_notice",
"comment": "系列赛具体比赛入围列表", "comment": "系列赛通知",
"engine": "InnoDB", "engine": "InnoDB",
"characterSet": "utf8mb4", "characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci", "collation": "utf8mb4_0900_ai_ci",
...@@ -22890,7 +22890,7 @@ ...@@ -22890,7 +22890,7 @@
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "match_id", "name": "series_id",
"type": "bigint", "type": "bigint",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
...@@ -22905,20 +22905,20 @@ ...@@ -22905,20 +22905,20 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "系列赛比赛id", "comment": "系列赛id",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "match_id" "oldName": "series_id"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "sport_user_id", "name": "content",
"type": "bigint", "type": "varchar",
"length": -2147483648, "length": 500,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
...@@ -22931,18 +22931,18 @@ ...@@ -22931,18 +22931,18 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "入围玩家id", "comment": "通知内容",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "sport_user_id" "oldName": "content"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "start_order", "name": "status",
"type": "int", "type": "int",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
...@@ -22957,14 +22957,40 @@ ...@@ -22957,14 +22957,40 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "位置序列", "comment": "状态 10 未发布 20 已发布",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "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", "objectType": "TableField_MYSQL",
...@@ -23247,6 +23273,76 @@ ...@@ -23247,6 +23273,76 @@
"order": "", "order": "",
"oldName": "" "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", "objectType": "IndexField_MYSQL",
"name": "", "name": "",
...@@ -23265,8 +23361,8 @@ ...@@ -23265,8 +23361,8 @@
}, },
{ {
"objectType": "Table_MYSQL", "objectType": "Table_MYSQL",
"name": "series_notice", "name": "series_area",
"comment": "系列赛通知", "comment": "赛区",
"engine": "InnoDB", "engine": "InnoDB",
"characterSet": "utf8mb4", "characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci", "collation": "utf8mb4_0900_ai_ci",
...@@ -23367,35 +23463,9 @@ ...@@ -23367,35 +23463,9 @@
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "content", "name": "name",
"type": "varchar", "type": "varchar",
"length": 500, "length": 255,
"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,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
...@@ -23408,14 +23478,14 @@ ...@@ -23408,14 +23478,14 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "状态 10 未发布 20 已发布", "comment": "赛区名称",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "status" "oldName": "name"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
...@@ -23812,8 +23882,8 @@ ...@@ -23812,8 +23882,8 @@
}, },
{ {
"objectType": "Table_MYSQL", "objectType": "Table_MYSQL",
"name": "series_area", "name": "series_match",
"comment": "赛区", "comment": "系列赛具体比赛",
"engine": "InnoDB", "engine": "InnoDB",
"characterSet": "utf8mb4", "characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci", "collation": "utf8mb4_0900_ai_ci",
...@@ -23914,9 +23984,9 @@ ...@@ -23914,9 +23984,9 @@
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "name", "name": "round_id",
"type": "varchar", "type": "bigint",
"length": 255, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
...@@ -23929,19 +23999,19 @@ ...@@ -23929,19 +23999,19 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "赛区名称", "comment": "轮次id",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "name" "oldName": "round_id"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "show_order", "name": "area_id",
"type": "int", "type": "bigint",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -23952,22 +24022,22 @@ ...@@ -23952,22 +24022,22 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "0", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "显示顺序", "comment": "赛区id",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "show_order" "oldName": "area_id"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "version", "name": "type",
"type": "bigint", "type": "int",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -23978,50 +24048,50 @@ ...@@ -23978,50 +24048,50 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "0", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "版本号", "comment": "类型 10 预选赛 20 淘汰赛",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "version" "oldName": "type"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "deleted", "name": "name",
"type": "tinyint", "type": "varchar",
"length": -2147483648, "length": 100,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
"isBinary": false, "isBinary": false,
"charset": "", "charset": "utf8mb4",
"collation": "", "collation": "utf8mb4_0900_ai_ci",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "0", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "删除标记", "comment": "比赛名称",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "deleted" "oldName": "name"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "create_by", "name": "map",
"type": "bigint", "type": "varchar",
"length": -2147483648, "length": 255,
"decimals": -2147483648, "decimals": 0,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -24033,21 +24103,21 @@ ...@@ -24033,21 +24103,21 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "创建人", "comment": "地图key",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "create_by" "oldName": "map"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "create_time", "name": "path",
"type": "datetime", "type": "varchar",
"length": -2147483648, "length": 255,
"decimals": -2147483648, "decimals": 0,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -24056,22 +24126,22 @@ ...@@ -24056,22 +24126,22 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "创建时间", "comment": "赛道key",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "create_time" "oldName": "path"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "update_by", "name": "entry_time",
"type": "bigint", "type": "datetime",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -24081,22 +24151,22 @@ ...@@ -24081,22 +24151,22 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "修改人", "comment": "允许进入时间",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "update_by" "oldName": "entry_time"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "update_time", "name": "start_time",
"type": "datetime", "type": "datetime",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
...@@ -24107,530 +24177,9 @@ ...@@ -24107,530 +24177,9 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "CURRENT_TIMESTAMP", "defaultValue": "",
"isOnUpdateCurrentTimestamp": true, "isOnUpdateCurrentTimestamp": false,
"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,
"isAutoInc": false, "isAutoInc": false,
"comment": "比赛开始时间", "comment": "比赛开始时间",
"columnFormat": "", "columnFormat": "",
...@@ -27084,8 +26633,190 @@ ...@@ -27084,8 +26633,190 @@
"fields": [ "fields": [
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "id", "name": "id",
"type": "bigint", "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, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -27094,24 +26825,24 @@ ...@@ -27094,24 +26825,24 @@
"isBinary": false, "isBinary": false,
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": false, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": true, "isAutoInc": false,
"comment": "主键", "comment": "比赛用时(秒)",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "id" "oldName": "duration"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "series_id", "name": "match_rank",
"type": "bigint", "type": "int",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -27121,25 +26852,25 @@ ...@@ -27121,25 +26852,25 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "系列赛id", "comment": "比赛名次",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "series_id" "oldName": "match_rank"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "round_id", "name": "distance",
"type": "bigint", "type": "decimal",
"length": -2147483648, "length": 18,
"decimals": -2147483648, "decimals": 2,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27147,25 +26878,25 @@ ...@@ -27147,25 +26878,25 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "轮次id", "comment": "骑行总长度",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "round_id" "oldName": "distance"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "match_id", "name": "climb_distance",
"type": "bigint", "type": "decimal",
"length": -2147483648, "length": 18,
"decimals": -2147483648, "decimals": 2,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27173,25 +26904,25 @@ ...@@ -27173,25 +26904,25 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "比赛id", "comment": "爬坡距离",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "match_id" "oldName": "climb_distance"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "player_id", "name": "avg_ftp",
"type": "bigint", "type": "decimal",
"length": -2147483648, "length": 18,
"decimals": -2147483648, "decimals": 2,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27199,25 +26930,25 @@ ...@@ -27199,25 +26930,25 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Null",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "玩家id", "comment": "平均功率",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "player_id" "oldName": "avg_ftp"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "entry_time", "name": "avg_speed",
"type": "datetime", "type": "decimal",
"length": -2147483648, "length": 18,
"decimals": -2147483648, "decimals": 2,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27229,19 +26960,19 @@ ...@@ -27229,19 +26960,19 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "比赛进入时间", "comment": "平均速度",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "entry_time" "oldName": "avg_speed"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "finish_time", "name": "calorie",
"type": "datetime", "type": "int",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -27251,25 +26982,25 @@ ...@@ -27251,25 +26982,25 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Null", "defaultType": "Others",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "比赛完成时间", "comment": "卡路里",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "finish_time" "oldName": "calorie"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "duration", "name": "weight",
"type": "int", "type": "decimal",
"length": -2147483648, "length": 18,
"decimals": -2147483648, "decimals": 2,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27277,25 +27008,25 @@ ...@@ -27277,25 +27008,25 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Null", "defaultType": "Others",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "比赛用时(秒)", "comment": "体重",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "duration" "oldName": "weight"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "match_rank", "name": "one_minutes_ftp",
"type": "int", "type": "decimal",
"length": -2147483648, "length": 18,
"decimals": -2147483648, "decimals": 2,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27303,22 +27034,22 @@ ...@@ -27303,22 +27034,22 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Null", "defaultType": "Others",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "比赛名次", "comment": "1分钟平均最佳FTP",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "match_rank" "oldName": "one_minutes_ftp"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "distance", "name": "five_minutes_ftp",
"type": "decimal", "type": "decimal",
"length": 18, "length": 18,
"decimals": 2, "decimals": 2,
...@@ -27329,22 +27060,22 @@ ...@@ -27329,22 +27060,22 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Null", "defaultType": "Others",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "骑行总长度", "comment": "5分钟平均最佳FTP",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "distance" "oldName": "five_minutes_ftp"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "climb_distance", "name": "twenty_minutes_ftp",
"type": "decimal", "type": "decimal",
"length": 18, "length": 18,
"decimals": 2, "decimals": 2,
...@@ -27355,22 +27086,22 @@ ...@@ -27355,22 +27086,22 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Null", "defaultType": "Others",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "爬坡距离", "comment": "20分钟平均最佳FTP",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "climb_distance" "oldName": "twenty_minutes_ftp"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "avg_ftp", "name": "one_minutes_wkg",
"type": "decimal", "type": "decimal",
"length": 18, "length": 18,
"decimals": 2, "decimals": 2,
...@@ -27381,22 +27112,74 @@ ...@@ -27381,22 +27112,74 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Null", "defaultType": "Others",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "平均功率", "comment": "1分钟平均最佳功体比",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "avg_ftp" "oldName": "one_minutes_wkg"
}, },
{ {
"objectType": "TableField_MYSQL", "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", "type": "decimal",
"length": 18, "length": 18,
"decimals": 2, "decimals": 2,
...@@ -27407,22 +27190,74 @@ ...@@ -27407,22 +27190,74 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "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", "defaultType": "Null",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "平均速度", "comment": "比赛状态10:未完成比赛 20:完成比赛",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "avg_speed" "oldName": "status"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "calorie", "name": "result_confirm_status",
"type": "int", "type": "int",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
...@@ -27437,21 +27272,21 @@ ...@@ -27437,21 +27272,21 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "卡路里", "comment": "成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "calorie" "oldName": "result_confirm_status"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "weight", "name": "finished",
"type": "decimal", "type": "bit",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27460,24 +27295,24 @@ ...@@ -27460,24 +27295,24 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "", "defaultValue": "0",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "体重", "comment": "是否结束",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "weight" "oldName": "finished"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "one_minutes_ftp", "name": "create_time",
"type": "decimal", "type": "datetime",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27486,24 +27321,24 @@ ...@@ -27486,24 +27321,24 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "", "defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "1分钟平均最佳FTP", "comment": "创建时间",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "one_minutes_ftp" "oldName": "create_time"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "five_minutes_ftp", "name": "update_time",
"type": "decimal", "type": "datetime",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27512,50 +27347,318 @@ ...@@ -27512,50 +27347,318 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "", "defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": true,
"isAutoInc": false, "isAutoInc": false,
"comment": "5分钟平均最佳FTP", "comment": "修改时间",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "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", "objectType": "TableField_MYSQL",
"name": "twenty_minutes_ftp", "name": "id",
"type": "decimal", "type": "bigint",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
"isBinary": false, "isBinary": false,
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": false,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": true,
"comment": "20分钟平均最佳FTP", "comment": "主键",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "twenty_minutes_ftp" "oldName": "id"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "one_minutes_wkg", "name": "match_id",
"type": "decimal", "type": "bigint",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27567,21 +27670,21 @@ ...@@ -27567,21 +27670,21 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "1分钟平均最佳功体比", "comment": "系列赛比赛id",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "one_minutes_wkg" "oldName": "match_id"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "five_minutes_wkg", "name": "round_id",
"type": "decimal", "type": "bigint",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27593,21 +27696,21 @@ ...@@ -27593,21 +27696,21 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "5分钟平均最佳功体比", "comment": "轮次id",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "five_minutes_wkg" "oldName": "round_id"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "twenty_minutes_wkg", "name": "sport_user_id",
"type": "decimal", "type": "bigint",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27619,21 +27722,21 @@ ...@@ -27619,21 +27722,21 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "20分钟平均最佳功体比", "comment": "入围玩家id",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "twenty_minutes_wkg" "oldName": "sport_user_id"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "score", "name": "start_order",
"type": "decimal", "type": "int",
"length": 18, "length": -2147483648,
"decimals": 2, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27645,21 +27748,21 @@ ...@@ -27645,21 +27748,21 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "得分", "comment": "位置序列",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "score" "oldName": "start_order"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "praise_num", "name": "version",
"type": "int", "type": "bigint",
"length": 0, "length": -2147483648,
"decimals": 0, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
"setEnumValues": "", "setEnumValues": "",
...@@ -27668,23 +27771,23 @@ ...@@ -27668,23 +27771,23 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "", "defaultValue": "0",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "获攒数量", "comment": "版本号",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "praise_num" "oldName": "version"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "status", "name": "deleted",
"type": "tinyint", "type": "tinyint",
"length": 4, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
"isZeroFill": false, "isZeroFill": false,
...@@ -27693,23 +27796,23 @@ ...@@ -27693,23 +27796,23 @@
"charset": "", "charset": "",
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Null", "defaultType": "Others",
"defaultValue": "", "defaultValue": "0",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "比赛状态10:未完成比赛 20:完成比赛", "comment": "删除标记",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "status" "oldName": "deleted"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "result_confirm_status", "name": "create_by",
"type": "int", "type": "bigint",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -27723,19 +27826,19 @@ ...@@ -27723,19 +27826,19 @@
"defaultValue": "", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级", "comment": "创建人",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "result_confirm_status" "oldName": "create_by"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "finished", "name": "create_time",
"type": "bit", "type": "datetime",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -27746,22 +27849,22 @@ ...@@ -27746,22 +27849,22 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "0", "defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "是否结束", "comment": "创建时间",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "finished" "oldName": "create_time"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
"name": "create_time", "name": "update_by",
"type": "datetime", "type": "bigint",
"length": -2147483648, "length": -2147483648,
"decimals": -2147483648, "decimals": -2147483648,
"isUnsigned": false, "isUnsigned": false,
...@@ -27772,17 +27875,17 @@ ...@@ -27772,17 +27875,17 @@
"collation": "", "collation": "",
"isNullable": true, "isNullable": true,
"defaultType": "Others", "defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP", "defaultValue": "",
"isOnUpdateCurrentTimestamp": false, "isOnUpdateCurrentTimestamp": false,
"isAutoInc": false, "isAutoInc": false,
"comment": "创建时间", "comment": "修改人",
"columnFormat": "", "columnFormat": "",
"storage": "", "storage": "",
"isVirtual": false, "isVirtual": false,
"isGeneratedAlways": false, "isGeneratedAlways": false,
"virtualExpr": "", "virtualExpr": "",
"virtualType": "", "virtualType": "",
"oldName": "create_time" "oldName": "update_by"
}, },
{ {
"objectType": "TableField_MYSQL", "objectType": "TableField_MYSQL",
...@@ -27935,83 +28038,6 @@ ...@@ -27935,83 +28038,6 @@
"order": "", "order": "",
"oldName": "" "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", "objectType": "IndexField_MYSQL",
"name": "", "name": "",
...@@ -32,6 +32,11 @@ public class SeriesMatchFinalists implements Serializable { ...@@ -32,6 +32,11 @@ public class SeriesMatchFinalists implements Serializable {
*/ */
private Long matchId; private Long matchId;
/**
* 轮次id
*/
private Long roundId;
/** /**
* 入围玩家id * 入围玩家id
*/ */
......
...@@ -76,5 +76,13 @@ public class SeriesController { ...@@ -76,5 +76,13 @@ public class SeriesController {
return success(); 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));
}
} }
...@@ -43,4 +43,10 @@ public interface SeriesBusinessMapper { ...@@ -43,4 +43,10 @@ public interface SeriesBusinessMapper {
IPage<SeriesQualifyingMatchRankVO> getSeriesQualifyingMatchRank(IPage<SeriesQualifyingMatchRankVO> page, 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);
} }
...@@ -262,4 +262,19 @@ public class SeriesService { ...@@ -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;
}
} }
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;
}
package com.antai.sport.http.server.server.api.business.series.vo; 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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@ApiModel("淘汰赛比赛列表VO") @ApiModel("淘汰赛比赛列表VO")
@Data @Data
public class SeriesKnockoutMatchListVO { 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;
} }
...@@ -98,4 +98,37 @@ ...@@ -98,4 +98,37 @@
left join sport_user_training_log t4 on t4.game_mode = 30 and t1.record_id = t4.record_id 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} where t1.round_id = #{param.roundId} and t1.area_id = #{param.areaId}
</select> </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> </mapper>
\ No newline at end of file
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