0
点赞
收藏
分享

微信扫一扫

greenDao Property '' is not part of


哼哼哼

 greenDao 使用

QueryBuilder<Student> builder = manager.getDaoSession().queryBuilder(Student.class);
// 逻辑与
List<Student> list = builder.where(StudentDao.Properties.Age.ge(1)).where(StudentDao.Properties.Address.like("北京")).list();
Log.e(TAG, "query2: "+list.toString() );

时候 出现了这个bug

原来是导包的错误 导入正确的包即可、

import com.student.entity.Student;

 

举报

相关推荐

0 条评论