버그 수정

This commit is contained in:
2020-04-30 19:29:39 +09:00
parent b24eabc82a
commit cf1dc17298
6 changed files with 60 additions and 57 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ $queryMap = [
}
return $lhs['name']<=>$rhs['name'];
}],
'warnum' => ['전투수', 1, function($lhs, $rhs){
'warnum' => ['전투수', 2, function($lhs, $rhs){
return -($lhs['warnum']<=>$rhs['warnum']);
}]
];
@@ -72,7 +72,7 @@ else if($reqArgType===2){
$generalBasicList = $db->query('SELECT no, name, nation, npc, turntime, value as %b
FROM general LEFT JOIN rank_data
ON general.no = rank_data.general_id
WHERE rank_data.type = %b',
WHERE rank_data.type = %s',
$reqQueryType, $reqQueryType
);
}