You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
根据你的指示,修改了SqlServerAdapter.cs里面的代码
sql = string.Format("select * from (select row_number() over(order by {0}) as Rownum,{1} from {2} where {3}) as T where T.Rownum between {4} and {5}", sort, select, table, where, skip, take);
运行查询分页就会报错,
order by id 字段不明确
比如生成代码如下
这个是程序字段生成的,我怎么控制呢
The text was updated successfully, but these errors were encountered:
根据你的指示,修改了SqlServerAdapter.cs里面的代码
sql = string.Format("select * from (select row_number() over(order by {0}) as Rownum,{1} from {2} where {3}) as T where T.Rownum between {4} and {5}", sort, select, table, where, skip, take);
运行查询分页就会报错,
![图片](https://user-images.githubusercontent.com/26901102/63992241-8bb69680-cb1d-11e9-8406-25afcc9e33dd.png)
order by id 字段不明确
比如生成代码如下
这个是程序字段生成的,我怎么控制呢
The text was updated successfully, but these errors were encountered: