//更新一条数据
mBeanDao.update(new Bean(1l, date, 1800));
//更新一组数据,没有对应id的不做处理
ArrayList<Bean> beans = new ArrayList<>();
//数据自行添加
mBeanDao.updateInTx(beans);
//更新一条数据
mBeanDao.update(new Bean(1l, date, 1800));
//更新一组数据,没有对应id的不做处理
ArrayList<Bean> beans = new ArrayList<>();
//数据自行添加
mBeanDao.updateInTx(beans);