Commit 75a02d07 by 泽锋 李

在线日志导出异常

parent a003813d
......@@ -570,14 +570,12 @@ where 1=1 ";
{
sql += " and t3.hq_type = @hq_type ";
countSql += " and t3.hq_type = @hq_type ";
parameters.Add("hq_type", warehousetype);
}
if (warehousearea > 0)
{
sql += " and t3.area_id = @area_id ";
countSql += " and t3.area_id = @area_id ";
parameters.Add("area_id", warehousearea);
}
if (start_date != null)
......
......@@ -66,7 +66,7 @@ namespace AutoTurnOver.Services
while (true)
{
int total = 0;
var list = ShortagePushList(platform, bailun_sku, page, rows, ref total, start_date, end_date, warehousecode, warehousetype, warehousearea);
var list = ShortagePushList(platform, bailun_sku, (page-1)* rows, rows, ref total, start_date, end_date, warehousecode, warehousetype, warehousearea);
if (list == null || list.Count <= 0) break;
......
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