Commit 1fd2d65b by lizefeng

优化周转表中国家的筛选

parent f71d4f09
...@@ -83,6 +83,10 @@ from dc_auto_turnover as dat ...@@ -83,6 +83,10 @@ from dc_auto_turnover as dat
{ {
sqlCount += " left join dc_auto_config_sku_label as t11 on dat.bailun_sku = t11.bailun_sku "; sqlCount += " left join dc_auto_config_sku_label as t11 on dat.bailun_sku = t11.bailun_sku ";
} }
if (m.warehousearea>0)
{
sqlCount += " left join dc_base_warehouse as t3 on dat.warehouse_code = t3.warehouse_code ";
}
if (m.categoryModels != null) if (m.categoryModels != null)
{ {
sqlCount += " left join dc_base_sku as t4 on dat.bailun_sku = t4.bailun_sku "; sqlCount += " left join dc_base_sku as t4 on dat.bailun_sku = t4.bailun_sku ";
...@@ -261,7 +265,7 @@ from dc_auto_turnover as dat ...@@ -261,7 +265,7 @@ from dc_auto_turnover as dat
return obj.AsList(); return obj.AsList();
} }
catch (Exception) catch (Exception ex)
{ {
throw; throw;
......
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