From 3a4ba7a94f6a5c21a6725b9f91c991a2831c6736 Mon Sep 17 00:00:00 2001 From: chn Date: Sun, 5 May 2024 09:57:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=AD=A3=E7=A1=AE=E6=8E=92=E9=99=A4?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E8=AE=B0=E5=BD=95=E7=9A=84=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E7=9A=84=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql.cpp b/src/sql.cpp index 0b04fe8..7929d82 100644 --- a/src/sql.cpp +++ b/src/sql.cpp @@ -50,7 +50,7 @@ namespace hpcstat::sql auto not_logged_job = all_job | ranges::to>; for (auto it : conn->select_query() .order_by>(zxorm::order_t::DESC) - .where_many(FinishJobTable::field_t<"id">().in(all_job)) + .where_many(FinishJobTable::field_t<"job_id">().in(all_job)) .exec()) if (jobid_submit_time[it.JobId] == it.SubmitTime) not_logged_job.erase(it.JobId);