sql执行返回值存储

List<Map> list = SqlRunner.queryMapList(sql);
if(list != null && !list.isEmpty()){
HashMap<Object,Object> map = new HashMap<Object,Object>();
map = (HashMap<Object,Object>) list.get(0);
case_number = map .get("case_number").toString();
return case_number;
}

posted @ 2016-06-24 09:27  dieyaxianju  阅读(184)  评论(0编辑  收藏  举报