localPackages.hpcstat: 不导出 hpcstat 的登陆次数

This commit is contained in:
陈浩南 2024-06-18 01:02:58 +08:00
parent df2ac86e1a
commit 5940da526d

View File

@ -251,6 +251,7 @@ namespace hpcstat::sql
(sqlite_orm::between(&LoginData::Time, start_time, end_time)))
)
{
if (Keys[it.Key].Username == "hpcstat") continue;
if (it.Interactive) stat_account[it.Key].LoginInteractive++; else stat_account[it.Key].LoginNonInteractive++;
if (it.Subaccount)
{