perf: 优化导出签到

This commit is contained in:
kuaifan 2022-12-12 10:50:29 +08:00
parent ab7c4ea73d
commit 6532382f43

View File

@ -895,6 +895,8 @@ class SystemController extends AbstractController
if (empty($lastTimestamp)) {
$lastResult = "缺卡";
$styles["G{$index}"] = ["font" => ["color" => ["rgb" => "ff0000"]]];
} elseif ($lastTimestamp === $firstTimestamp) {
$lastResult = "-";
} elseif ($lastTimestamp < $startT + $secondEnd) {
$lastResult = "早退";
$styles["G{$index}"] = ["font" => ["color" => ["rgb" => "436FF6"]]];