mapper:List<String> queryBusiNum(@Param("isMonth") String isMonth,@Param("month") String month,@Param("busiType") String busiType);
XML:
<select id="queryBusiNum" resultType="java.lang.String">
select concat(concat(region,':'),count(busitype))
from busi_info_table here source = '2' and busitype = #{busiType}
<choose>
<when test="isMonth == '1'.toString()">
</when>
<otherwise>
</otherwise>
</choose>
group by region
</select>
报错内容:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'isMonth' in 'class [Ljava.lang.Object;'