`id`,`tenant_id`,`parent_tenant_id`, `question_id`, `title`, `answer`, `type`, `create_date`,`update_date`,`sort` where `del_status` = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `question_id` = #{questionId} and `title` like concat('%', #{title},'%') and `type` = #{type} and `create_date` >= #{startDate} and `create_date` <= #{endDate} and id in #{idItem} order by ${sortColumns} order by `sort` delete from wx_question_oneself_topic where question_id = #{questionId} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} insert into wx_question_oneself_topic (`id`,`tenant_id`,`parent_tenant_id`, `question_id`, `title`, `answer`, `type`, `create_date`,`update_date`,`sort`) values (#{item.id,jdbcType=BIGINT}, #{item.tenantId,jdbcType=VARCHAR}, #{item.parentTenantId,jdbcType=VARCHAR}, #{item.questionId,jdbcType=BIGINT}, #{item.title,jdbcType=VARCHAR}, #{item.answer,jdbcType=VARCHAR}, #{item.type,jdbcType=TINYINT}, #{item.createDate,jdbcType=TIMESTAMP}, #{item.updateDate,jdbcType=TIMESTAMP}, #{item.sort,jdbcType=INTEGER})