Commit 29fc8277 by allan0815

解决数据中心数据仓无法根据仓库类型筛选的问题

parent f4c9e093
......@@ -262,7 +262,7 @@ namespace Bailun.DC.Services
}
if (!string.IsNullOrWhiteSpace(warehousetype))
{
sql += " and t1.hq_type=@hq_type";
sql += " and t1.warehousetype=@hq_type";
sqlparams.Add("hq_type", warehousetype);
}
if (!string.IsNullOrWhiteSpace(warehousecode))
......@@ -394,7 +394,7 @@ namespace Bailun.DC.Services
if (!string.IsNullOrWhiteSpace(warehousetype))
{
sql += " and t1.hq_type=@hq_type";
sql += " and t1.warehousetype=@hq_type";
sqlparams.Add("hq_type", warehousetype);
}
if (!string.IsNullOrWhiteSpace(warehousecode))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment