Commit a4ed804b by lizefeng

fix

parent c3325fdf
......@@ -837,7 +837,7 @@ from dc_base_stock as t1
left join dc_mid_transit as t2 on t1.bailun_sku = t2.bailun_sku and t1.warehouse_code=t2.warehouse_code
left join dc_base_stock_first_date as t4 on t1.bailun_sku = t4.bailun_sku and t1.warehouse_code =t4.warehouse_code
left join dc_base_sku as t5 on t1.bailun_sku = t5.bailun_sku
where t1.usable_stock>0 and t1.bailun_sku in @skus ", new { skus = search_data.SkuCodes }).ToList();
where ( t1.usable_stock>0 or t2.quantity_purchase>0 or t2.quantity_transfer_order >0 ) and t1.bailun_sku in @skus ", new { skus = search_data.SkuCodes }).ToList();
}
public static List<dc_base_stock_fba_dto> RealtimeFbaList(dc_base_stock_search_dto search_data, List<bailun_category_new_dto> categoryModels, ref int total)
......
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