|
|
@@ -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}"); |
|
|
|