Commit b5e79c6b by lizefeng

监控周转查询

parent a254d316
......@@ -225,7 +225,7 @@ from dc_auto_turnover as dat
else
{
total = _connection.ExecuteScalar<int>(sqlCount, parameters, commandTimeout: 0);
Console.WriteLine(sqlCount);
//设置默认排序字段
if (string.IsNullOrWhiteSpace(sort)) sort = "dat.id";
if (!string.IsNullOrEmpty(sort))
......@@ -249,6 +249,7 @@ from dc_auto_turnover as dat
var obj = _connection.Query<Models.dc_auto_turnover_list_dto>(sql, parameters, commandTimeout: 0);
Console.WriteLine(sql);
return obj.AsList();
}
......
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