|
@@ -13,7 +13,7 @@ public class ViewController extends Controller {
|
|
*/
|
|
*/
|
|
public void executeSql() {
|
|
public void executeSql() {
|
|
try {
|
|
try {
|
|
- List<Record> d = Db.use("connected").find(this.getPara("sqlstr"));
|
|
|
|
|
|
+ List<Record> d = Db.use("connected").find(this.getPara("sqlStr"));
|
|
this.renderJson(d);
|
|
this.renderJson(d);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
// TODO: handle exception
|
|
// TODO: handle exception
|