Commit 787169ab by guanzhenshan

解决Ebay统计报表无法排序的问题

parent 198058df
......@@ -498,7 +498,7 @@ namespace Bailun.DC.Services
if (!string.IsNullOrWhiteSpace(parameter.sort))
{
sql += " order by t1." + parameter.sort+" "+parameter.order;
sql += " order by " + parameter.sort+" "+parameter.order;
}
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
......@@ -2351,7 +2351,7 @@ namespace Bailun.DC.Services
if (!string.IsNullOrWhiteSpace(parameter.sort))
{
fromsql += " order by t1." + parameter.sort + " " + parameter.order;
fromsql += " order by " + parameter.sort + " " + parameter.order;
}
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
......
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