`id`,`tenant_id`,`parent_tenant_id`, `user_id`, `user_name`, `user_sex`, `user_phone`, `question_id`,
`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `user_id` = #{userId}
and `user_name` like concat('%', #{userName},'%')
and `user_phone` like concat('%', #{userPhone},'%')
and `user_sex` = #{userSex}
and `question_id` = #{questionId}
and `create_date` >= #{startDate}
and `create_date` <= #{endDate}
and id in
#{idItem}
order by ${sortColumns}