|
@@ -23,7 +23,7 @@ public class ViewController extends Controller {
|
|
|
*/
|
|
|
public void executeSql() {
|
|
|
try {
|
|
|
- List<Record> d = Db.use("connected").find("select * from (select * from reportinfo order by REPORTDATE desc) where rownum <= 100 ");
|
|
|
+ List<Record> d = Db.use("connected").find("select * from (select * from reportinfo order by REPORTDATE desc) where rownum <= 20");
|
|
|
this.renderJson(d);
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|