Fix: RecordUtil.getRecordValueWithUnit

This commit is contained in:
2018-12-03 01:14:10 +09:00
parent eb61871526
commit 123a715bac
15 changed files with 19 additions and 8 deletions
+1
View File
@@ -41,6 +41,7 @@
<!-- library source files -->
<script src="../../game/lib/keyboard_shortcut.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/input_type_text.js"></script>
<script src="../../game/lib/score_board.js"></script>
+1
View File
@@ -41,6 +41,7 @@
<!-- library source files -->
<script src="../../game/lib/keyboard_shortcut.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/input_type_text.js"></script>
<script src="../../game/lib/score_board.js"></script>
+1
View File
@@ -41,6 +41,7 @@
<!-- library source files -->
<script src="../../game/lib/keyboard_shortcut.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/input_type_text.js"></script>
<script src="../../game/lib/score_board.js"></script>
+1
View File
@@ -41,6 +41,7 @@
<!-- library source files -->
<script src="../../game/lib/keyboard_shortcut.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/input_type_text.js"></script>
<script src="../../game/lib/score_board.js"></script>
+1
View File
@@ -20,6 +20,7 @@
<script src="../../game/lib/keyboard_shortcut.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/string_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/date_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/db_connect_manager.js"></script>
+1
View File
@@ -42,6 +42,7 @@
<!-- <script src="../../game/lib/keyboard_shortcut.js"></script> -->
<script src="../../game/lib/string_util.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/input_type_text.js"></script>
<script src="../../game/lib/button/round_rect_button.js"></script>
+1
View File
@@ -42,6 +42,7 @@
<script src="../../game/lib/keyboard_shortcut.js"></script>
<script src="../../game/lib/string_util.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/input_type_text.js"></script>
<script src="../../game/lib/button/round_rect_button.js"></script>
+1
View File
@@ -42,6 +42,7 @@
<!-- <script src="../../game/lib/keyboard_shortcut.js"></script> -->
<script src="../../game/lib/string_util.js"></script>
<script src="../../game/lib/number_util.js"></script>
<script src="../../game/lib/record_util.js"></script>
<script src="../../game/lib/history_record_manager.js"></script>
<script src="../../game/lib/input_type_text.js"></script>
<script src="../../game/lib/button/round_rect_button.js"></script>
+1 -1
View File
@@ -4,7 +4,7 @@ function get_app_highest_record($maestro_id, $app_id, $player_id) {
global $db_conn;
$query = "
SELECT HighestRecord
SELECT MAX(HighestRecord)
FROM app_highest_record
WHERE MaestroID = ? AND AppID = ? AND PlayerID = ?;
";
@@ -31,7 +31,7 @@ if($prev_best_record_id === null || $prev_best_record_id < 0) {
// highest record is the highest record
$app_highest_record = get_app_highest_record($maestro_id, $app_id, $player_id);
// echo "\napp_highest_record : $app_highest_record";
echo "\napp_highest_record : $app_highest_record";
// echo "\nrecord : $record";
if($app_highest_record == null) {