fix: select times

This commit is contained in:
kemasama 2022-06-01 20:48:44 +09:00
parent 3ea8d828ed
commit bd719a0219

View File

@ -124,7 +124,7 @@ class Timecard
$this->queryTime = [$startTime, $endTime]; $this->queryTime = [$startTime, $endTime];
$smt = $this->pdo->prepare("SELECT * FROM cards WHERE startTime > ? AND endTime < ? AND uid=?;"); $smt = $this->pdo->prepare("SELECT * FROM cards WHERE startTime > ? AND startTime < ? AND uid=?;");
$smt->execute([ $smt->execute([
$startTime, $startTime,
$endTime, $endTime,