Browse Source

超级卡不设次数

Lishi
xxe 2 years ago
parent
commit
443f2b9def
1 changed files with 11 additions and 3 deletions
  1. +11
    -3
      HKCardOUT/Logic/Service/HKCore.cs

+ 11
- 3
HKCardOUT/Logic/Service/HKCore.cs View File

@@ -23,9 +23,17 @@ namespace HKCardOUT.Logic.Service
.Where(t => t.CreateTime.Year == DateTime.Now.Year) .Where(t => t.CreateTime.Year == DateTime.Now.Year)
.Where(t => t.CreateTime.Month == DateTime.Now.Month) .Where(t => t.CreateTime.Month == DateTime.Now.Month)
.Where(t => t.CreateTime.Day == DateTime.Now.Day).ToList(); .Where(t => t.CreateTime.Day == DateTime.Now.Day).ToList();
if (DataBus.Cancel)
if (Old.Count > 3) return null;
return Old;

if (DataBus.Admin.Contains(input.CardNo))
{
return Old;
}
else
{
if (DataBus.Cancel)
if (Old.Count > 3) return null;
return Old;
}
} }


bool GetCardStutas(string CardNo) bool GetCardStutas(string CardNo)


Loading…
Cancel
Save