This commit is contained in:
jl
2023-09-14 10:49:07 +08:00
parent cc78693b7d
commit 29bfe4c6aa
8 changed files with 752 additions and 695 deletions

View File

@ -191,10 +191,10 @@ namespace Epost.DAL
#endregion
#region
public bool updateOrderQueueState(string usercode, string block)
public bool updateOrderQueueState()
{
string sql = string.Format("update ordersqueue set state =3 where usercode='{0}' and taskblock ='{1}'",
usercode, block);
string sql = string.Format("update ordersqueue set state =3 where state<>3"
);
LogHelper.WriteLogInfo("修改作业全部完成" + sql);
long x = db.UpdateSql(sql);
if (x > 0)