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

@ -1245,10 +1245,10 @@ namespace Epost.DAL
#region sku对应的所有任务
public DataTable getOrderListBysku(string block, string sku)
public DataTable getOrderListBysku(string block, string sku,string area)
{
string sql = string.Format("select * from v_orders where block = '{0}' and sku ='{1}' order by layer,slist ",
block,
string sql = string.Format("select * from v_orders where block = '{0}' and area='{1}' and sku ='{2}' order by layer,slist ",
block,area,
sku);
LogHelper.WriteLogInfo("查询sku对应的所有任务:" + sql);
DataTable dt = db.GetsqlForDT(sql);