This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user