mybatis 基本类型的if条件判断问题 There is no getter for property named 'xxx' in 'class Java.lang.Integer'
mybatis if条件判断中test里,如果传参是像int的基本类型,因为它没有getter方法所以判断会报错:There is no getter for property named 'cmpid' in 'class java.lang.Integer' 解决方法:(关于mybatis中基本类型条件判断问题 http://blog.csdn.net/cclovett/artic