`id`,`tenant_id`,`parent_tenant_id`,`im_id`,`name`,`status`,`create_date`,`update_date` where `is_del` = 0 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `im_id` = #{imId} and `name` like concat('%', #{name},'%') and `id` in #{idItem} order by ${sortColumns} update tt_mall_im set is_del = 1,update_date=now() where id = #{id}