Commit 1ff78272 by 泽锋 李

fix

parent e9a68576
......@@ -40,19 +40,19 @@ where EXISTS (select * from dc_base_stock as t_s where t_s.bailun_sku = t1.bail
}
if (search.type==1)
{
sql += " and t1.haiwai_us_usable_stock>0 ";
sql += " and t2.haiwai_us_usable_stock>0 ";
}else if(search.type == 2)
{
sql += " and t1.haiwai_uk_usable_stock>0 ";
sql += " and t2.haiwai_uk_usable_stock>0 ";
}else if(search.type == 3)
{
sql += " and t1.guangzhou01_transfer_stock<=0 ";
sql += " and t2.guangzhou01_transfer_stock<=0 ";
}else if(search.type == 4)
{
sql += " and t1.haiwai_uk_transfer<=0 ";
sql += " and t2.haiwai_uk_transfer<=0 ";
}else if(search.type == 5)
{
sql += " and t1.haiwai_us_transfer<=0 ";
sql += " and t2.haiwai_us_transfer<=0 ";
}
}
return _connection.Page<dc_auto_stock_monitor_dto>(sql, search, parameters);
......
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