Commit 359d6348 by 泽锋 李

fix

parent 5bf5b45c
......@@ -348,7 +348,7 @@ from
dc_base_stock as t1
left join dc_base_warehouse as dbw on t1.warehouse_code = dbw.warehouse_code
";
if ((categoryModels != null && categoryModels.Count >= 1 ) || !string.IsNullOrWhiteSpace(buyer_name))
if ((categoryModels != null && categoryModels.Count >= 1 ) || !string.IsNullOrWhiteSpace(buyer_name) || product_type>0)
{
countSql += " left join dc_base_sku as t3 on t1.bailun_sku = t3.bailun_sku ";
}
......
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