This commit is contained in:
帅凯 贾
2023-07-18 11:18:52 +08:00
parent 53c4b66485
commit ccbca85c55
13 changed files with 504 additions and 151 deletions

View File

@ -68,7 +68,7 @@ namespace Epost.DAL
#region
public DataTable getQueuesbyState()
{
string sql = "select * from OrdersQueue where state<>0 and state<>3";
string sql = "select * from OrdersQueue where state<>3";
return db.GetsqlForDT(sql);
}
@ -290,10 +290,9 @@ namespace Epost.DAL
{
strwhere += "and Taskarea='" + model.Taskarea + "'";
}
string sql = string.Format("update OrdersQueue set state='{0}' where state<>3 and sku = '{1}' and matchid='{2}' and usercode='{3}'"+ strwhere,
model.State
,model.Sku,
model.Matchid,model.UserCode
string sql = string.Format("update OrdersQueue set state='{0}' where state<>3 and orderid='{1}' and usercode='{2}'" + strwhere,
model.State,
model.Orderid,model.UserCode
);
LogHelper.WriteLogInfo("修改作业区段"+sql);