Commit 80df33c5 authored by liming's avatar liming

报名修改报名数量

parent 2b5608a1
......@@ -26225,8 +26225,8 @@
},
{
"objectType": "Table_MYSQL",
"name": "series_match_player_record",
"comment": "系列赛比赛记录",
"name": "series_round",
"comment": "系列赛",
"engine": "InnoDB",
"characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
......@@ -26327,7 +26327,7 @@
},
{
"objectType": "TableField_MYSQL",
"name": "round_id",
"name": "pre_round_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
......@@ -26342,21 +26342,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "轮次id",
"comment": "轮次id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "round_id"
"oldName": "pre_round_id"
},
{
"objectType": "TableField_MYSQL",
"name": "match_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"name": "name",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26368,19 +26368,19 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛id",
"comment": "轮次名称",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "match_id"
"oldName": "name"
},
{
"objectType": "TableField_MYSQL",
"name": "player_id",
"type": "bigint",
"name": "type",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
......@@ -26394,18 +26394,18 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "玩家id",
"comment": "类型 10 预选赛 20 淘汰赛",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "player_id"
"oldName": "type"
},
{
"objectType": "TableField_MYSQL",
"name": "entry_time",
"name": "start_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
......@@ -26416,25 +26416,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": "entry_time"
"oldName": "start_time"
},
{
"objectType": "TableField_MYSQL",
"name": "finish_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"name": "map",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26442,25 +26442,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛完成时间",
"comment": "地图key",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "finish_time"
"oldName": "map"
},
{
"objectType": "TableField_MYSQL",
"name": "duration",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"name": "path",
"type": "varchar",
"length": 255,
"decimals": 0,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26468,25 +26468,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛用时(秒)",
"comment": "赛道key",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "duration"
"oldName": "path"
},
{
"objectType": "TableField_MYSQL",
"name": "match_rank",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"name": "distance",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26498,18 +26498,18 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "比赛名次",
"comment": "总长度",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "match_rank"
"oldName": "distance"
},
{
"objectType": "TableField_MYSQL",
"name": "distance",
"name": "climb_distance",
"type": "decimal",
"length": 18,
"decimals": 2,
......@@ -26520,25 +26520,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": "distance"
"oldName": "climb_distance"
},
{
"objectType": "TableField_MYSQL",
"name": "climb_distance",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "chance",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26546,25 +26546,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": "climb_distance"
"oldName": "chance"
},
{
"objectType": "TableField_MYSQL",
"name": "avg_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "status",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26572,25 +26572,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "平均功率",
"comment": "状态 10 未发布 20 已发布",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "avg_ftp"
"oldName": "status"
},
{
"objectType": "TableField_MYSQL",
"name": "avg_speed",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "started",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26598,23 +26598,23 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Null",
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "平均速度",
"comment": "是否开始",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "avg_speed"
"oldName": "started"
},
{
"objectType": "TableField_MYSQL",
"name": "calorie",
"type": "int",
"name": "finished",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
......@@ -26625,24 +26625,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "0",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "卡路里",
"comment": "轮次是否已完成",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "calorie"
"oldName": "finished"
},
{
"objectType": "TableField_MYSQL",
"name": "weight",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "result_confirm",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26654,21 +26654,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "体重",
"comment": "成绩是否确认",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "weight"
"oldName": "result_confirm"
},
{
"objectType": "TableField_MYSQL",
"name": "one_minutes_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "final_round",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26680,21 +26680,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "1分钟平均最佳FTP",
"comment": "是否最后一轮",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "one_minutes_ftp"
"oldName": "final_round"
},
{
"objectType": "TableField_MYSQL",
"name": "five_minutes_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "show_order",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26703,24 +26703,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "0",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "5分钟平均最佳FTP",
"comment": "显示顺序",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "five_minutes_ftp"
"oldName": "show_order"
},
{
"objectType": "TableField_MYSQL",
"name": "twenty_minutes_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "version",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26729,24 +26729,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "0",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "20分钟平均最佳FTP",
"comment": "版本号",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "twenty_minutes_ftp"
"oldName": "version"
},
{
"objectType": "TableField_MYSQL",
"name": "one_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "deleted",
"type": "tinyint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26755,24 +26755,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "0",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "1分钟平均最佳功体比",
"comment": "删除标记",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "one_minutes_wkg"
"oldName": "deleted"
},
{
"objectType": "TableField_MYSQL",
"name": "five_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "create_by",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26784,21 +26784,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "5分钟平均最佳功体比",
"comment": "创建人",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "five_minutes_wkg"
"oldName": "create_by"
},
{
"objectType": "TableField_MYSQL",
"name": "twenty_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "create_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26807,24 +26807,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "20分钟平均最佳功体比",
"comment": "创建时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "twenty_minutes_wkg"
"oldName": "create_time"
},
{
"objectType": "TableField_MYSQL",
"name": "score",
"type": "decimal",
"length": 18,
"decimals": 2,
"name": "update_by",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26836,21 +26836,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "得分",
"comment": "修改人",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "score"
"oldName": "update_by"
},
{
"objectType": "TableField_MYSQL",
"name": "praise_num",
"type": "int",
"length": 0,
"decimals": 0,
"name": "update_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -26859,140 +26859,10 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": true,
"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": "比赛状态10:未完成比赛 20:完成比赛",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "status"
},
{
"objectType": "TableField_MYSQL",
"name": "result_confirm_status",
"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 无效 30已确认未晋级 40晋级",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "result_confirm_status"
},
{
"objectType": "TableField_MYSQL",
"name": "finished",
"type": "bit",
"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": "finished"
},
{
"objectType": "TableField_MYSQL",
"name": "create_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "create_time"
},
{
"objectType": "TableField_MYSQL",
"name": "update_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
"isBinary": false,
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": true,
"isAutoInc": false,
"comment": "修改时间",
"comment": "修改时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
......@@ -27203,6 +27073,27 @@
"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": "",
......@@ -27221,8 +27112,8 @@
},
{
"objectType": "Table_MYSQL",
"name": "series_round",
"comment": "系列赛",
"name": "series_match_player_record",
"comment": "系列赛比赛记录",
"engine": "InnoDB",
"characterSet": "utf8mb4",
"collation": "utf8mb4_0900_ai_ci",
......@@ -27323,7 +27214,7 @@
},
{
"objectType": "TableField_MYSQL",
"name": "pre_round_id",
"name": "round_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
......@@ -27338,21 +27229,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "轮次id",
"comment": "轮次id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "pre_round_id"
"oldName": "round_id"
},
{
"objectType": "TableField_MYSQL",
"name": "name",
"type": "varchar",
"length": 255,
"decimals": 0,
"name": "match_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27364,19 +27255,19 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "轮次名称",
"comment": "比赛id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "name"
"oldName": "match_id"
},
{
"objectType": "TableField_MYSQL",
"name": "type",
"type": "int",
"name": "player_id",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
......@@ -27390,18 +27281,18 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "类型 10 预选赛 20 淘汰赛",
"comment": "玩家id",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "type"
"oldName": "player_id"
},
{
"objectType": "TableField_MYSQL",
"name": "start_time",
"name": "entry_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
......@@ -27412,25 +27303,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "开始时间",
"comment": "比赛进入时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "start_time"
"oldName": "entry_time"
},
{
"objectType": "TableField_MYSQL",
"name": "map",
"type": "varchar",
"length": 255,
"decimals": 0,
"name": "finish_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27438,25 +27329,25 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "地图key",
"comment": "比赛完成时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "map"
"oldName": "finish_time"
},
{
"objectType": "TableField_MYSQL",
"name": "path",
"type": "varchar",
"length": 255,
"decimals": 0,
"name": "duration",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27464,18 +27355,44 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "赛道key",
"comment": "比赛用时(秒)",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "path"
"oldName": "duration"
},
{
"objectType": "TableField_MYSQL",
"name": "match_rank",
"type": "int",
"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": "match_rank"
},
{
"objectType": "TableField_MYSQL",
......@@ -27494,7 +27411,7 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "总长度",
"comment": "骑行总长度",
"columnFormat": "",
"storage": "",
"isVirtual": false,
......@@ -27516,11 +27433,11 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "爬坡高度",
"comment": "爬坡距离",
"columnFormat": "",
"storage": "",
"isVirtual": false,
......@@ -27531,7 +27448,59 @@
},
{
"objectType": "TableField_MYSQL",
"name": "chance",
"name": "avg_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"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": "avg_ftp"
},
{
"objectType": "TableField_MYSQL",
"name": "avg_speed",
"type": "decimal",
"length": 18,
"decimals": 2,
"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": "avg_speed"
},
{
"objectType": "TableField_MYSQL",
"name": "calorie",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
......@@ -27546,21 +27515,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "机会次数",
"comment": "卡路里",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "chance"
"oldName": "calorie"
},
{
"objectType": "TableField_MYSQL",
"name": "status",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"name": "weight",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27572,21 +27541,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "状态 10 未发布 20 已发布",
"comment": "体重",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "status"
"oldName": "weight"
},
{
"objectType": "TableField_MYSQL",
"name": "started",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"name": "one_minutes_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27598,21 +27567,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否开始",
"comment": "1分钟平均最佳FTP",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "started"
"oldName": "one_minutes_ftp"
},
{
"objectType": "TableField_MYSQL",
"name": "finished",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"name": "five_minutes_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27621,24 +27590,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "0",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "轮次是否已完成",
"comment": "5分钟平均最佳FTP",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "finished"
"oldName": "five_minutes_ftp"
},
{
"objectType": "TableField_MYSQL",
"name": "result_confirm",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"name": "twenty_minutes_ftp",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27650,21 +27619,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "成绩是否确认",
"comment": "20分钟平均最佳FTP",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "result_confirm"
"oldName": "twenty_minutes_ftp"
},
{
"objectType": "TableField_MYSQL",
"name": "final_round",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"name": "one_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27676,21 +27645,21 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "是否最后一轮",
"comment": "1分钟平均最佳功体比",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "final_round"
"oldName": "one_minutes_wkg"
},
{
"objectType": "TableField_MYSQL",
"name": "show_order",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"name": "five_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27699,24 +27668,24 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "0",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "显示顺序",
"comment": "5分钟平均最佳功体比",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "show_order"
"oldName": "five_minutes_wkg"
},
{
"objectType": "TableField_MYSQL",
"name": "version",
"type": "bigint",
"length": -2147483648,
"decimals": -2147483648,
"name": "twenty_minutes_wkg",
"type": "decimal",
"length": 18,
"decimals": 2,
"isUnsigned": false,
"isZeroFill": false,
"setEnumValues": "",
......@@ -27725,23 +27694,75 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "0",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "版本号",
"comment": "20分钟平均最佳功体比",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "version"
"oldName": "twenty_minutes_wkg"
},
{
"objectType": "TableField_MYSQL",
"name": "deleted",
"name": "score",
"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": "得分",
"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": -2147483648,
"length": 4,
"decimals": -2147483648,
"isUnsigned": false,
"isZeroFill": false,
......@@ -27750,23 +27771,23 @@
"charset": "",
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "0",
"defaultType": "Null",
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "删除标记",
"comment": "比赛状态10:未完成比赛 20:完成比赛",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "deleted"
"oldName": "status"
},
{
"objectType": "TableField_MYSQL",
"name": "create_by",
"type": "bigint",
"name": "result_confirm_status",
"type": "int",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
......@@ -27780,19 +27801,19 @@
"defaultValue": "",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建人",
"comment": "成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "create_by"
"oldName": "result_confirm_status"
},
{
"objectType": "TableField_MYSQL",
"name": "create_time",
"type": "datetime",
"name": "finished",
"type": "bit",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
......@@ -27803,22 +27824,22 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP",
"defaultValue": "0",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "创建时间",
"comment": "是否结束",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "create_time"
"oldName": "finished"
},
{
"objectType": "TableField_MYSQL",
"name": "update_by",
"type": "bigint",
"name": "create_time",
"type": "datetime",
"length": -2147483648,
"decimals": -2147483648,
"isUnsigned": false,
......@@ -27829,17 +27850,17 @@
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "",
"defaultValue": "CURRENT_TIMESTAMP",
"isOnUpdateCurrentTimestamp": false,
"isAutoInc": false,
"comment": "修改人",
"comment": "创建时间",
"columnFormat": "",
"storage": "",
"isVirtual": false,
"isGeneratedAlways": false,
"virtualExpr": "",
"virtualType": "",
"oldName": "update_by"
"oldName": "create_time"
},
{
"objectType": "TableField_MYSQL",
......@@ -28069,27 +28090,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": "",
......@@ -81,7 +81,7 @@ public class SeriesService {
}
SeriesDetailsVO result = seriesConverter.toSeriesDetailVO(series, status);
SeriesApply apply = seriesBusinessMapper.getSeriesApply(id, sportUserId);
if(apply != null) {
if (apply != null) {
result.setAreaId(apply.getAreaId());
}
result.setNoticeList(seriesBusinessMapper.getSeriesNotice(id));
......@@ -111,6 +111,9 @@ public class SeriesService {
SeriesApply seriesApply = seriesConverter.toSeriesApply(dto);
seriesApply.setCreateTime(LocalDateTime.now());
Series series = seriesMapper.selectById(dto.getSeriesId());
series.setApplyNum(series.getApplyNum() == null ? 1 : series.getApplyNum() + 1);
seriesMapper.updateById(series);
seriesApplyMapper.insert(seriesApply);
}
......@@ -324,10 +327,10 @@ public class SeriesService {
*/
public SeriesMatchRecordInitVO seriesKnockoutMatchRecordInit(SeriesKnockoutMatchRecordInitDTO dto) {
QueryWrapper<SeriesMatchFinalists> finalistsQuery = new QueryWrapper<>();
finalistsQuery.lambda().eq(SeriesMatchFinalists::getMatchId,dto.getMatchId())
.eq(SeriesMatchFinalists::getSportUserId,dto.getSportUserId());
finalistsQuery.lambda().eq(SeriesMatchFinalists::getMatchId, dto.getMatchId())
.eq(SeriesMatchFinalists::getSportUserId, dto.getSportUserId());
SeriesMatchFinalists finalists = seriesMatchFinalistsMapper.selectOne(finalistsQuery);
if(finalists == null){
if (finalists == null) {
throw new BusinessException("抱歉,您没有入围当前比赛!");
}
SeriesMatchRecordInitVO result = new SeriesMatchRecordInitVO();
......@@ -355,7 +358,7 @@ public class SeriesService {
return result;
}
public List<SeriesMatchForGameServerVO> getSeriesMatchForGameServer(){
public List<SeriesMatchForGameServerVO> getSeriesMatchForGameServer() {
return seriesBusinessMapper.getSeriesMatchForGameServer(LocalDateTime.now());
}
......
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