合并最新

This commit is contained in:
2022-12-20 09:32:32 +08:00
parent 844e9f1488
commit 1abdaa9476
654 changed files with 73563 additions and 9746 deletions
+2 -2
View File
@@ -272,13 +272,13 @@ namespace BLL
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
var getPersons = from x in db.SitePerson_Person
where x.OutTime < DateTime.Now && x.IsUsed == true
where x.OutTime < DateTime.Now && x.IsUsed == 1
select x;
if (getPersons.Count() > 0)
{
foreach (var item in getPersons)
{
item.IsUsed = false;
item.IsUsed = 0;
item.ExchangeTime2 = null;
db.SubmitChanges();
}