nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for proper

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'Patient_Name' in 'class com.emr.module.domain.Operation'

注意看:这里是Patient_Name,这个字段应该跟实体类的字段名称是一样的才对!

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for proper

 

而实体类中却是 groupId !

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for proper

 

解决方法:

修改mapper.xml文件中:

1. <if test="Patient_Name != null "> 修改为: <if test="bingrName!= null ">

2. and per.Patient_Name = #{bingrName}  中的#{bingrName} 也必须跟html中的input标签name属性一致才行