String strSql = " select * from menu where id=? ";
List<Object> param = new ArrayList<Object>();
// param.add("d39a10ed-9089-0ff5-e302-9cdcb8ca3788");
param.add(new String("d39a10ed-9089-0ff5-e302-9cdcb8ca3788"));
List<Record> ls = Db.find(strSql, param);
for (int i = 0; i < ls.size(); i++) {
System.out.println(ls.get(i));
}
renderJson(ls);
项目:JFinal