|
@@ -14,7 +14,7 @@ public class ViewController extends Controller {
|
|
*/
|
|
*/
|
|
public void executeSql() {
|
|
public void executeSql() {
|
|
try {
|
|
try {
|
|
- List<Reports> d = Reports.dao.use("zskk").find("SELECT * FROM doctors where hid = 74100001");
|
|
|
|
|
|
+ List<Record> d = Db.use("connected").find("SELECT top 3 * FROM yhxx");
|
|
this.renderJson(d);
|
|
this.renderJson(d);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
// TODO: handle exception
|
|
// TODO: handle exception
|