public void qq(){
Cursor query = db.query("user",null,null,null,null,null,null);
while(query.moveToNext()){
Bean b=new Bean();
b.name=query.getString(query.getColumnIndex("name"));
b.positional=query.getString(query.getColumnIndex("positional"));
b.describe=query.getString(query.getColumnIndex("describe"));
b.age=query.getString(query.getColumnIndex("age"));
li.add(b);
}
} for (Teacher list : teacher) 、、、(int i=0;i<list.size();i++){
ContentValues values=new ContentValues();
values.put("sex", list.getSex());
values.put("name", list.getName());
values.put("age", list.getAge());
values.put("positional", list.getPositional());
values.put("describe", list.getDescribe());
values.put("weight",list.getWeight());
values.put("id",list.getId());
db.insert("user", null, values);
}