org.apache.ibatis.reflection.ReflectionException
nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'platform_name' in 'class com.unisinsight.ljpolice.dto.query.TbPlatformStatsQuery'
一般来说遇见这个问题是因为缺少get、set方法,或者参数写错了,不过我是因为大小写问题。
我在mybatis中,想当然的将#{query.platformName}写为#{query.platform_name} ,自动将其变为小写。因此报了这个错。