<select id="queryPlanClustersCount" resultType="java.lang.Integer" parameterType="java.lang.String">
SELECT COUNT(DISTINCT cluster_name) AS total
FROM plan_cluster
<where>
<if test="product != null and product != ''">
product_class = #{product}
</if>
</where>
/*WHERE product_class = #{product}*/
</select>
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'product' in 'class java.lang.String'