`id`,`tenant_id`,`parent_tenant_id`,`type`,`sub_type`,`tag`,`title`,`sub_title`,`detail`,`image`,`video`,`send_date`,`status`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `type` = #{type}
and `sub_type` = #{subType}
and `tag` = #{tag}
and `title` like concat('%', #{title},'%')
and `send_date` >= #{sendDateBegin}
and `send_date` <= #{sendDateEnd}
and `video` is not null and `video` != ''
and id in
#{idItem}
order by ${sortColumns}