Commit ad37feff by 泽锋 李

fix

parent 71757a38
...@@ -1375,11 +1375,22 @@ from dc_report_cash_flow_log as t1 left join dc_base_warehouse as t2 on t1.wareh ...@@ -1375,11 +1375,22 @@ from dc_report_cash_flow_log as t1 left join dc_base_warehouse as t2 on t1.wareh
} }
else else
{ {
if (search.view_type == 2)
{
return new Page<dc_report_cash_flow_log_dto>()
{
Items = _connection.Query<dc_report_cash_flow_log_dto>(sql, parameters).ToList()
};
}
else
{
return _connection.Page<dc_report_cash_flow_log_dto>(sql, search, parameters); return _connection.Page<dc_report_cash_flow_log_dto>(sql, search, parameters);
} }
} }
}
public static Page<dc_report_cash_flow_sku_group_dto> SkuView(dc_report_cash_flow_sku_group_search_dto search) public static Page<dc_report_cash_flow_sku_group_dto> SkuView(dc_report_cash_flow_sku_group_search_dto search)
{ {
if (search.data_type == null || search.data_type <= 0) if (search.data_type == null || search.data_type <= 0)
......
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