|
楼主 |
发表于 2016-7-7 12:14:49
|
显示全部楼层
本帖最后由 tlkj 于 2016-7-7 13:11 编辑
您能不能再给点思路 写到这不知道咋写了。
public static Table show(String uploadAddr){
String sql = "select uploadAddr from pic";
HashMap<String,String> sqlMap = new HashMap<String,String>();
sqlMap.put(SQL.DEFAULT_DB_NAME,sql);
Table table = SQL.select(sqlMap,null,"/qx/qx/data");
String uploadAddr = "";
Iterator<Row> addrRows = carTable.iterator();
while(addrRows.hasNext()){
Row addrRow = addrRows.next();
uploadAddr = addrRows.getValue("uploadAddr").toString();
break;
}
return table;
} |
|