From 5fbcf63c1703f4952cfb540ddeb49ce76652945b Mon Sep 17 00:00:00 2001 From: xxe Date: Sat, 24 Sep 2022 16:55:34 +0800 Subject: [PATCH] 1 --- HKCardOUT/Logic/Service/HKCore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HKCardOUT/Logic/Service/HKCore.cs b/HKCardOUT/Logic/Service/HKCore.cs index 8936d65..9576201 100644 --- a/HKCardOUT/Logic/Service/HKCore.cs +++ b/HKCardOUT/Logic/Service/HKCore.cs @@ -36,7 +36,7 @@ namespace HKCardOUT.Logic.Service var condition2 = (DateTime.Now.Hour >= PM[0] && DateTime.Now.Hour < PM[1]); var condition3 = (DateTime.Now.Hour >= AT[0] && DateTime.Now.Hour < AT[1]); HKLog.HKLogImport.WriteInfo($"当前刷卡时间_条件1:{condition1}_条件2:{condition2}_条件3:{condition3}"); - if (condition1 || condition2 || condition1) + if (condition1 || condition2 || condition3) { var AMDay = Old.Where(t => t.CreateTime.Hour >= AM[0] && t.CreateTime.Hour < AM[1]).Count(); HKLog.HKLogImport.WriteInfo($"卡号{input.CardNo}上午消费次数:{AMDay}");