INSERT INTO `obpm2`.`tenant_departments`(`id`, `code`, `created_time`, `display_order`, `index_tree`, `last_updated_time`, `level`, `name`, `permission_config`, `permission_type`, `status`, `total_member`, `organization_id`, `parent_id`, `is_deleted`) VALUES ('#{id}', '#{code}',  '#{created_time}', '#{display_order}', '#{index_tree}', '#{LASTMODIFIED}', '#{level}', '#{name}', '#{permission_config}', '#{permission_type}', '#{status}', 0, '#{organization_id}', '#{parent_id}', '0') ON DUPLICATE KEY UPDATE display_order='#{display_order}';
