Sql字符串参数批量操作--- foreach

批量删除tenantId数组

String[] tenantIds = ids.split(",");
tenantService.deleteTenant(tenantIds);



    delete from tenant WHERE tenantId in
      
         #{tenantId}
      

你可能感兴趣的:(Sql字符串参数批量操作--- foreach)