恢复榜单

back_recharge
zhangshanxue 2020-11-25 20:28:11 +08:00
parent 6c7b164b53
commit c35dbf7dbe
24 changed files with 1436 additions and 0 deletions

View File

@ -0,0 +1,86 @@
10000833 1
10001770 1
10002473 1
10014317 1
10019754 1
10000829 2
10001432 2
10000814 5
10002226 6
10001978 11
10022028 12
10002951 14
10000863 15
10000823 21
10001903 24
10002131 24
10002319 25
10005960 38
10013863 39
10000860 46
10002462 47
10002432 48
10019689 48
10002668 50
10016814 50
10002859 51
10000824 52
10002522 52
10020337 52
10002054 53
10003646 54
10021426 54
10000837 55
10001637 55
10001764 55
10002810 55
10002815 56
10002871 57
10021405 57
10002475 58
10002377 59
10002505 60
10002886 63
10022101 63
10000947 64
10002744 68
10007219 70
10000842 72
10002465 75
10002633 88
10001380 99
10010188 99
10001165 109
10012434 111
10001141 114
10002353 116
10002623 119
10002481 120
10002640 121
10002138 122
10003431 122
10014283 122
10000832 123
10002073 125
10002069 126
10015379 126
10001537 129
10003582 132
10008851 132
10002149 135
10001072 136
10013398 136
10002415 137
10011934 137
10001222 138
10001969 138
10002639 140
10002804 142
10000915 153
10015232 171
10001011 180
10001096 198
10001928 215
10001944 327
10002242 358

View File

@ -0,0 +1,51 @@
10000833 1
10000814 2
10002505 3
10002465 10
10001165 11
10022028 12
10007219 13
10000863 15
10000823 21
10000947 24
10000824 26
10005960 38
10001380 41
10000860 46
10002633 47
10010188 51
10002623 53
10002353 54
10002073 55
10012434 55
10002138 56
10002481 56
10014283 56
10001141 58
10000842 59
10002377 59
10002640 59
10000832 61
10015379 61
10003431 62
10008851 63
10022101 63
10001537 64
10002069 65
10002149 65
10015232 65
10001072 66
10001969 66
10002415 66
10013398 66
10003582 67
10011934 67
10001222 68
10002639 68
10002242 69
10002804 70
10000915 96
10001096 98
10001928 101
10001011 105

View File

@ -0,0 +1,120 @@
10005748 1
10006003 1
10004176 2
10004417 2
10006426 2
10005238 3
10003778 12
10008255 13
10004215 14
10007079 15
10004143 16
10007498 16
10006268 22
10007292 25
10004448 26
10005329 26
10005726 32
10007021 33
10008157 35
10004067 39
10006500 40
10022069 42
10008439 44
10005838 45
10004105 46
10005068 48
10008251 49
10003903 51
10005666 52
10003032 54
10005124 54
10008324 54
10004531 55
10005153 56
10007401 56
10005739 57
10004459 58
10007808 58
10003876 59
10005976 61
10018068 63
10006883 65
10007529 65
10007958 66
10007377 67
10007524 68
10007221 70
10005264 72
10003652 79
10007599 81
10004909 86
10004587 89
10004011 99
10007333 100
10011978 102
10003926 103
10003465 105
10007709 107
10003624 108
10005552 108
10005814 108
10004733 109
10006805 111
10008221 111
10008459 111
10003136 112
10008518 112
10005969 114
10008117 115
10003696 116
10003897 116
10005578 117
10003078 118
10004575 118
10005258 118
10003010 120
10005470 120
10005972 120
10006993 120
10005231 121
10005538 121
10003181 122
10004435 123
10007848 123
10003236 124
10004113 125
10006041 125
10003984 126
10003142 127
10007939 128
10004921 133
10007026 133
10006174 134
10006486 134
10007772 134
10006917 135
10007794 135
10003727 136
10005964 136
10005099 137
10005364 137
10005416 138
10006080 138
10008132 138
10003931 141
10007728 142
10007153 143
10005747 173
10003015 185
10005551 190
10003005 194
10006868 197
10003745 278
10003637 285
10003595 292
10008593 297
10006345 392
10003314 581
10006024 702

View File

@ -0,0 +1,85 @@
10005748 1
10005838 2
10004215 13
10003652 23
10003903 24
10004448 26
10005153 26
10005329 26
10007377 27
10004587 33
10008157 35
10003465 38
10004011 38
10003624 39
10005552 40
10004733 41
10022069 42
10007599 43
10011978 43
10003926 45
10008221 46
10005814 47
10004575 48
10003696 50
10006805 50
10003136 52
10005969 53
10003078 54
10003595 54
10005538 54
10007709 54
10003010 55
10003236 55
10003181 56
10008117 56
10004113 57
10005578 57
10006993 57
10005231 58
10005470 58
10003876 59
10003897 59
10003984 59
10004435 59
10005258 59
10007333 59
10008459 59
10005551 60
10008518 60
10003142 61
10004909 61
10004921 61
10006868 61
10006917 61
10007153 61
10007848 61
10006041 62
10006883 62
10007772 62
10005099 63
10007026 63
10007939 63
10005972 64
10005364 65
10006486 65
10005416 66
10006080 66
10006174 66
10007794 66
10007958 66
10008132 66
10003727 67
10005964 67
10006345 67
10005747 68
10006024 68
10003931 69
10007728 69
10003015 74
10003005 96
10008593 96
10003745 134
10003637 138
10003314 257

View File

@ -0,0 +1,49 @@
10006955 1
10007463 3
10008947 26
10011498 30
10008816 37
10008965 49
10008680 52
10006981 53
10018577 55
10008695 57
10010473 57
10008806 58
10009207 59
10007148 61
10008062 62
10006522 65
10008974 65
10008714 66
10008047 67
10006808 69
10006619 70
10009010 70
10009294 83
10009114 89
10007541 90
10009069 93
10009151 99
10006865 109
10006415 111
10019241 111
10009589 113
10009683 114
10009171 115
10007643 120
10009161 124
10006472 125
10008112 129
10008199 131
10006408 132
10006459 132
10007842 132
10009088 132
10019146 135
10006367 137
10007626 137
10008306 138
10020787 139
10006382 272

View File

@ -0,0 +1,30 @@
10008974 14
10008947 26
10009114 27
10011498 30
10007541 48
10009069 50
10009171 51
10009589 51
10006865 52
10009294 52
10006981 53
10009683 56
10009151 57
10007643 59
10008112 59
10006472 60
10007842 61
10019241 61
10009161 62
10006408 64
10009088 64
10019146 64
10006367 65
10006459 65
10007626 66
10008199 66
10008306 66
10020787 69
10006382 74

View File

@ -0,0 +1,86 @@
10000833 1
10001770 1
10002473 1
10014317 1
10019754 1
10000829 2
10001432 2
10000814 5
10002226 6
10001978 11
10022028 12
10002951 14
10000863 15
10000823 21
10001903 24
10002131 24
10002319 25
10005960 38
10013863 39
10000860 46
10002462 47
10002432 48
10019689 48
10002668 50
10016814 50
10002859 51
10000824 52
10002522 52
10020337 52
10002054 53
10003646 54
10021426 54
10000837 55
10001637 55
10001764 55
10002810 55
10002815 56
10002871 57
10021405 57
10002475 58
10002377 59
10002505 60
10002886 63
10022101 63
10000947 64
10002744 68
10007219 70
10000842 72
10002465 75
10002633 88
10001380 99
10010188 99
10001165 109
10012434 111
10001141 114
10002353 116
10002623 119
10002481 120
10002640 121
10002138 122
10003431 122
10014283 122
10000832 123
10002073 125
10002069 126
10015379 126
10001537 129
10003582 132
10008851 132
10002149 135
10001072 136
10013398 136
10002415 137
10011934 137
10001222 138
10001969 138
10002639 140
10002804 142
10000915 153
10015232 171
10001011 180
10001096 198
10001928 215
10001944 327
10002242 358

View File

@ -0,0 +1,6 @@
10022135 38
10021728 2360
10022460 3200
10022134 6310
10008975 8350

View File

@ -0,0 +1,4 @@
10022135 12
10021728 360
10008975 4090

View File

@ -0,0 +1,46 @@
10010437 1
10010240 36
10010125 40
10010021 41
10009349 48
10010460 49
10010253 52
10010261 55
10009807 57
10009676 59
10010826 59
10010548 63
10009384 64
10010695 67
10009547 68
10009339 70
10010299 72
10009935 74
10009401 77
10009519 81
10010442 89
10009440 95
10009564 104
10009835 105
10009732 107
10009340 110
10010560 112
10010710 113
10010825 113
10009601 114
10009672 117
10010799 120
10009803 122
10009911 122
10010129 122
10010490 122
10010784 122
10009473 128
10009405 133
10010148 138
10009388 164
10009395 183
10009457 210
10010242 221
10009486 269

View File

@ -0,0 +1,29 @@
10009401 14
10009340 40
10009440 44
10010442 44
10009732 46
10009835 47
10009564 48
10009601 50
10010784 50
10010710 53
10009803 54
10010825 54
10009519 56
10009672 56
10010490 56
10010129 57
10010799 57
10009911 58
10010560 58
10009676 59
10010242 59
10009405 62
10009473 64
10010148 66
10009395 68
10009486 97
10009388 99
10009457 104

View File

@ -0,0 +1,39 @@
10011452 37
10011662 37
10010974 51
10011015 54
10010930 57
10011278 61
10012935 61
10011620 62
10011778 64
10011468 66
10011208 69
10010935 70
10011240 73
10012656 83
10013320 97
10011730 100
10010909 101
10010891 103
10013363 104
10011189 105
10011170 109
10010913 111
10011651 118
10011441 121
10011393 123
10017093 124
10010884 132
10012619 133
10011757 134
10015956 135
10010970 137
10011154 154
10013262 156
10013860 172
10013562 212
10011707 229
10013232 242
10013389 431

View File

@ -0,0 +1,28 @@
10011240 4
10011154 15
10012656 25
10010909 36
10013232 39
10011730 41
10013363 42
10010891 46
10011651 46
10010913 47
10011170 48
10013320 53
10011393 55
10011189 56
10011441 57
10012619 61
10012935 61
10017093 61
10011757 62
10010884 63
10013860 63
10011778 64
10010970 65
10015956 65
10013562 68
10013262 93
10011707 95

View File

@ -0,0 +1,64 @@
10014716 1
10017470 1
10013550 2
10013856 2
10014605 2
10015184 3
10015111 4
10014903 17
10014284 30
10022222 34
10014256 40
10015006 48
10015326 54
10014214 55
10013449 56
10013985 56
10014540 56
10013436 60
10013964 62
10014160 62
10014670 63
10013888 64
10014606 66
10014752 66
10013448 68
10013685 69
10013625 72
10013725 75
10015521 75
10014581 78
10015121 78
10013747 80
10015030 95
10013977 101
10013592 102
10013457 106
10014301 107
10014853 111
10013628 113
10015546 115
10014142 117
10013438 118
10014822 118
10013590 120
10014595 121
10014365 123
10013451 126
10013435 127
10015011 130
10015280 131
10013626 132
10014715 133
10013652 134
10013434 135
10013534 135
10013437 136
10013519 137
10013586 137
10015233 137
10013491 150
10014573 159
10014186 195
10014309 228

View File

@ -0,0 +1,41 @@
10014752 3
10015006 6
10013747 25
10013725 26
10015121 30
10022222 34
10015521 37
10014581 38
10015030 38
10014301 39
10013592 40
10013977 41
10013628 49
10013457 50
10013438 52
10014670 53
10015546 53
10014142 55
10014595 55
10014853 55
10013491 57
10013590 57
10014573 58
10013451 59
10014822 59
10014365 61
10013435 62
10013626 62
10013437 64
10013652 64
10015011 64
10015280 64
10013519 65
10013534 65
10014715 65
10015233 66
10013586 67
10013434 68
10014186 95
10014309 95

View File

@ -0,0 +1,78 @@
10016265 1
10016357 3
10017371 15
10017571 25
10016575 27
10017138 27
10017237 29
10016954 35
10017421 36
10016634 39
10016885 40
10017092 44
10015714 49
10016576 51
10017090 51
10016637 52
10017572 52
10016538 55
10017393 55
10016512 57
10016497 58
10016328 61
10017044 61
10017148 62
10017201 62
10017570 64
10015865 65
10017276 66
10016699 67
10017672 67
10021897 67
10017231 68
10016578 71
10016772 77
10016284 81
10015781 91
10015646 95
10016418 95
10015622 97
10016824 99
10016984 100
10017103 101
10020798 102
10017437 105
10016547 107
10016638 107
10020909 115
10017182 116
10017515 116
10016756 117
10016072 118
10017038 118
10017020 119
10015628 122
10015826 124
10015834 124
10017275 124
10015919 125
10017131 128
10019634 128
10016659 129
10019730 129
10017058 130
10017392 130
10015591 131
10017034 132
10015599 133
10015604 133
10015617 134
10017541 136
10015594 137
10017652 139
10016174 140
10016822 186
10016021 232
10017106 244
10017310 285

View File

@ -0,0 +1,50 @@
10016497 4
10016575 4
10016772 15
10016284 25
10017571 25
10017276 26
10015781 29
10015646 33
10015622 38
10016418 42
10016638 44
10017182 48
10015628 52
10020798 52
10016824 53
10016984 53
10017515 55
10017038 56
10017275 56
10020909 56
10016512 57
10016547 57
10017020 58
10017131 59
10016756 60
10017058 60
10017392 60
10015826 61
10015919 61
10016659 61
10015594 62
10017034 62
10015604 63
10016072 63
10015834 64
10019634 64
10015599 65
10015617 65
10015591 66
10017437 66
10017541 66
10017652 66
10019730 66
10021897 67
10016174 68
10016021 70
10016822 81
10017310 82
10017106 102

View File

@ -0,0 +1,133 @@
10018811 1
10020536 1
10017776 2
10018616 2
10019790 2
10020029 2
10017962 13
10019597 18
10019519 19
10019858 23
10017750 24
10022020 24
10019063 25
10019846 27
10018062 28
10019780 29
10017706 31
10019629 37
10018152 38
10019221 38
10019681 39
10019348 40
10018380 46
10018080 47
10018853 48
10018653 49
10019331 49
10018490 50
10019014 50
10018320 52
10019492 52
10019621 52
10019900 52
10017697 53
10018361 53
10018951 53
10017917 54
10018097 54
10019660 54
10017718 55
10019080 55
10022102 56
10017787 57
10019555 57
10017788 58
10019425 58
10019882 58
10019910 58
10019573 59
10018111 60
10018126 61
10018544 61
10018806 61
10017737 62
10018448 62
10018588 63
10018937 65
10019349 65
10019929 65
10019735 66
10017702 67
10017784 71
10019453 75
10018856 77
10017705 80
10019172 81
10021679 85
10018271 91
10019811 93
10019897 93
10018293 95
10019067 97
10019620 98
10017998 103
10017732 104
10017862 104
10019590 105
10020000 105
10018101 106
10018781 115
10017956 118
10017741 119
10018724 119
10017929 122
10019601 122
10017898 123
10019584 124
10018316 126
10018623 128
10020625 128
10020019 129
10017792 130
10019543 130
10019662 130
10018707 131
10019041 131
10019316 131
10019635 131
10017901 132
10018445 133
10019841 133
10017723 134
10017996 134
10018681 134
10019496 135
10017944 136
10018804 136
10019035 137
10017736 139
10018465 139
10018504 139
10018000 140
10018338 140
10018233 153
10018747 153
10017987 154
10017845 161
10019051 164
10019603 164
10020333 164
10019998 165
10017960 167
10017693 191
10017786 247
10019854 273
10017873 282
10018300 322
10019478 339
10018546 353
10019151 501
10019817 832
10018985 2592

View File

@ -0,0 +1,82 @@
10018811 1
10020029 2
10019555 6
10019629 10
10017705 11
10021679 16
10019597 18
10017750 24
10019453 24
10022020 24
10018856 26
10018985 30
10017706 31
10018271 35
10019172 35
10019811 36
10019590 38
10019897 38
10019348 40
10017862 42
10020000 43
10017998 46
10018101 49
10017732 52
10019621 52
10018293 53
10018951 53
10019584 53
10019603 53
10019660 54
10019841 54
10018781 55
10018316 56
10022102 56
10017741 58
10019620 58
10017956 59
10019601 59
10017929 60
10020019 60
10017693 61
10018707 61
10019051 61
10020625 61
10018448 62
10018623 62
10019543 62
10017723 63
10018445 63
10019041 63
10019496 63
10017898 64
10017901 64
10018681 64
10018804 64
10019635 64
10020333 64
10017792 65
10017996 65
10019035 65
10019316 65
10018338 66
10018465 66
10019662 66
10017736 67
10017944 67
10018504 67
10018724 67
10018000 68
10018747 69
10019854 69
10017987 71
10018233 72
10019151 73
10017845 79
10018546 87
10019998 98
10017960 101
10017786 104
10017873 140
10019478 281

View File

@ -0,0 +1,112 @@
10020958 1
10020072 2
10020360 2
10020322 4
10020082 22
10020570 26
10020043 37
10021181 38
10020489 39
10020190 42
10020988 42
10021550 44
10020581 46
10021336 46
10020217 47
10020065 48
10020249 50
10020722 50
10020346 51
10021534 51
10020056 52
10020156 52
10020455 52
10020496 52
10021370 52
10020574 53
10021118 53
10021236 53
10021422 53
10020390 54
10020396 54
10021092 55
10021069 56
10021513 56
10020484 57
10021345 57
10021385 57
10020510 58
10020907 58
10021184 59
10020532 60
10021183 61
10020075 62
10020345 62
10020579 62
10020990 63
10021569 63
10021763 63
10020181 64
10020254 64
10020644 64
10020999 64
10021473 64
10022177 65
10020557 66
10020651 66
10020915 66
10021115 66
10020916 67
10021344 67
10021551 67
10020420 68
10020060 70
10020469 70
10021492 70
10020188 71
10020726 75
10020621 82
10021149 82
10020707 83
10020434 94
10020901 94
10020175 102
10020783 104
10020762 106
10021491 108
10021055 109
10020148 116
10020289 118
10020505 119
10021114 121
10020517 124
10020095 126
10020110 126
10020894 126
10020047 129
10020809 132
10020051 133
10020159 133
10020219 133
10020275 133
10021284 133
10020527 134
10020083 135
10021533 136
10020079 137
10020112 137
10020120 137
10020702 137
10020888 137
10020134 138
10021144 138
10020115 160
10020412 171
10020076 173
10020054 218
10020795 282
10020471 323
10020084 454
10020085 506
10021231 1183

View File

@ -0,0 +1,55 @@
10020072 2
10020907 2
10021184 2
10020726 12
10021149 19
10020621 26
10020707 29
10020783 37
10020175 39
10020190 42
10020762 47
10021491 47
10020901 48
10020056 50
10020095 52
10020156 52
10020894 52
10021055 52
10020148 54
10020289 54
10020505 55
10020085 56
10020047 60
10020115 60
10020517 61
10021114 61
10020219 62
10020345 62
10020412 62
10020051 63
10020275 63
10021569 63
10020110 64
10020159 64
10020915 64
10020083 65
10020120 65
10020527 65
10020809 65
10021284 65
10021533 65
10022177 65
10020112 66
10020134 66
10020702 66
10021144 66
10020079 67
10020888 67
10021551 67
10020076 101
10020795 106
10020054 113
10020471 161
10021231 575

View File

@ -0,0 +1,28 @@
10021830 37
10021838 39
10021934 42
10022133 43
10022086 51
10022280 51
10021955 53
10021836 55
10021893 56
10021832 59
10021882 59
10021952 60
10021808 61
10021894 63
10021806 65
10021815 65
10021904 65
10021831 66
10021848 66
10021912 66
10022041 66
10022176 66
10021794 68
10021871 68
10021949 69
10021807 98
10021860 105

View File

@ -0,0 +1,28 @@
10021830 37
10021838 39
10021934 42
10022133 43
10022086 51
10022280 51
10021955 53
10021836 55
10021893 56
10021832 59
10021882 59
10021952 60
10021808 61
10021894 63
10021806 65
10021815 65
10021904 65
10021831 66
10021848 66
10021912 66
10022041 66
10022176 66
10021794 68
10021871 68
10021949 69
10021807 98
10021860 105

View File

@ -1,10 +1,28 @@
package com.ljsd.jieling.kefu;
import com.ljsd.GameApplication;
import com.ljsd.jieling.db.mongo.AreaManager;
import com.ljsd.jieling.db.redis.RedisKey;
import com.ljsd.jieling.db.redis.RedisUtil;
import com.ljsd.jieling.logic.activity.ActivityLogic;
import com.ljsd.jieling.logic.arena.ArenaLogic;
import org.springframework.data.redis.core.Cursor;
import org.springframework.data.redis.core.ZSetOperations;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
/**
* Description: gm线
* Author: zsx
* CreateDate: 2019/9/26 11:48
* <p>
* //global_gm
*/
public class Cmd_global_gm extends GmAbstract {
@Override
@ -14,6 +32,94 @@ public class Cmd_global_gm extends GmAbstract {
// String key = RedisKey.getKey(RedisKey.FORCE_RANK, "", false);
// RedisUtil.getInstence().zsetAddOne(key, String.valueOf(10000+i), 10000+i);
// }
try {
String jsonPath;
String osName = System.getProperty("os.name");
jsonPath = "../conf/";
if (osName.matches("^(?i)Windows.*$")) {// Window 系统
jsonPath = "conf/";
}
int areaId = AreaManager.areaId;
Set<Integer> activityID = new HashSet<>();
activityID.add(50001);
activityID.add(50000);
HashMap<Integer, File> map = new HashMap<>();
for (int id : activityID) {
File file = new File(jsonPath + "fix_" + areaId + "_" + id+".txt" );
if (!file.exists()) {
LOGGER.info("the {} is not exist", file.getName());
continue;
}
map.put(id, file);
}
for (int id : activityID) {
boolean b = ActivityLogic.getInstance().checkGlobleActivityOpen(id);
if (!b) {
continue;
}
if (!map.containsKey(id)) {
continue;
}
File file = map.get(id);
HashMap<Integer, Integer> integerIntegerHashMap = new HashMap<>();
String line;
try (BufferedReader bufferedReader = new BufferedReader(new FileReader(file))) {
while ((line = bufferedReader.readLine()) != null) {
if (line.isEmpty()) {
continue;
}
String[] prarms = line.split("\\t");
integerIntegerHashMap.put(Integer.valueOf(prarms[0]),Integer.valueOf(prarms[1]));
}
}
file.renameTo(new File(jsonPath + "fix_" + areaId + "_" + id+".txt" + "_hadfix"));
String key = RedisUtil.getInstence().getKey(RedisKey.EXPERT_RANK, Integer.toString(id));
// String key2 = RedisUtil.getInstence().getKey(RedisKey.GUILD_SHEJI_SCORE_RANK, Integer.toString(id));
integerIntegerHashMap.forEach((integer, integer2) -> {
String uid =new String();
double score = 0d;
Set<ZSetOperations.TypedTuple<String>> set = RedisUtil.getInstence().getAllZsetRange(key);
if (null != set) {
for (ZSetOperations.TypedTuple<String> item : set) {
if(integerIntegerHashMap.containsKey(Integer.valueOf(item.getValue()))){
uid = item.getValue();
score = item.getScore();
}
}
if(uid!=null&&!uid.isEmpty()){
RedisUtil.getInstence().zsetAddOne(key, uid, score+integer2);
LOGGER.info("恢复数据id={}core={},并追加榜单{}", uid,integer2, score);
}else {
RedisUtil.getInstence().zsetAddOne(key, String.valueOf(integer), integer2);
LOGGER.info("恢复数据id={}core={}", integer,integer2);
}
}
});
}
} catch (Exception e) {
LOGGER.info("合并排行榜异常" + e.toString());
}
return true;
}