`id`,`tenant_id`,`parent_tenant_id`, `logo`, `top_pic`, `title`, `top_desc`, `status`, `start_date`, `end_date`,
`reward_credit`,`create_date`,`update_date`,`sort`, `qr_code`, `count_topic`, `count_user`
where `del_status` = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `title` like concat('%', #{title},'%')
and `status` = #{status}
and `status` >= 2 and `status` <= 3
and `status` > 0
and `create_date` >= #{createStartdate}
and `create_date` <= #{createEnddate}
and `start_date` >= #{startStartdate}
and `start_date` <= #{startEnddate}
and `end_date` >= #{endStartdate}
and `end_date` <= #{endEnddate}
and id in
#{idItem}
order by ${sortColumns}
update wx_question_oneself set count_user = count_user+1
where id = #{id}