//
this.getDatabase();
List
for(Map map: sccks){
String
storagename = map.get("storagename").toString();
String sql="select distinct storageid from purchase_stock where storagename='"+storagename+"'";
try {
ResultSet rss = db.queryAll(sql);
while(rss.next()){
String storageid=rss.getString("storageid");
map.put("storageid", storageid);
}
} catch (DbException e) {
e.printStackTrace();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}