/** @inheritdoc */ @Override protected void bindValues(SQLiteStatement stmt, Lecture entity) { stmt.clearBindings(); String goods_id = entity.getGoods_id(); if (goods_id != null) { stmt.bindString(1, goods_id); } Long id = entity.getId(); if (id != null) { stmt.bindLong(2, id); } String name = entity.getName(); if (name != null) { stmt.bindString(3, name); } String lectureId = entity.getLectureId(); if (lectureId != null) { stmt.bindString(4, lectureId); } String image = entity.getImage(); if (image != null) { stmt.bindString(5, image); } String info = entity.getInfo(); if (info != null) { stmt.bindString(6, info); } String userId = entity.getUserId(); if (userId != null) { stmt.bindString(7, userId); } }