delete from t_im_invtypeentry where fid = 688873127987542016 and finvtypeid not in (688884005529250816,688884099724930048);
delete from t_im_invstatusentry where fid = 688873127987542016 and finvstatusid not in (691928582720825344);

delete from t_im_outinvtypeentry where fid = 688991191177526272 and foutinvtypeid not in (688884005529250816,688884099724930048);
delete from t_im_outinvstatusentry where fid = 688991191177526272 and foutinvstatusid not in (691928582720825344);