我想在每列中更新col_Item_Auto_ID列,其中包含1
像这样:用11替换10,用12等替换11等!
请帮帮我…这里的代码是,
public void updateMiddleTemp(int autoid) { sqliteDatabase db = this.getWritableDatabase(); int id=51; ContentValues cv_temp1 = new ContentValues(); cv_temp1.put(col_Item_Auto_ID,col_Item_Auto_ID+1); //ff long stemp = db.updateWithOnConflict(Table_KOT_ITEMS_TEMP,cv_temp1,col_Item_Auto_ID + " >= " + autoid,null,sqliteDatabase.CONFLICT_IGNORE); db.close(); }