Mybatis 配置文件中 sql语句if判断采用单个参数报错。
解决:
一:mapper中采用@Param注解
二:sql中采用_parameter代替参数,_parameter为内置对象代替原有参数
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'id' in 'cla
原文:https://www.cnblogs.com/z-mm/p/11131620.html