This commit is contained in:
jl
2024-12-06 14:13:52 +08:00
parent 102cc71af5
commit 122c2cb3bc
7 changed files with 29 additions and 29 deletions

View File

@ -354,10 +354,10 @@ namespace Epost.DAL
#region queue
public bool DelQueueOrder(string sku,string block)
public bool DelQueueOrder(string sku,string block,string area)
{
string sql = string.Format("delete from OrdersQueue where sku='{0}' and taskblock='{1}' and state<>3",
sku,block);
string sql = string.Format("delete from OrdersQueue where sku='{0}' and taskblock='{1}' and taskarea='{2}' and state<>3",
sku,block,area);
LogHelper.WriteLogInfo("删除queue"+sql);
long x = db.DeleteSql(sql);
if (x > 0)