LOADING

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,这个字段应该跟实体类的字段名称是一样的才对!

 

而实体类中却是 groupId !

 

解决方法:

修改mapper.xml文件中:

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

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

 

 

本文来源 互联网收集,文章内容系作者个人观点,不代表 本站 对观点赞同或支持。如需转载,请注明文章来源,如您发现有涉嫌抄袭侵权的内容,请联系本站核实处理。

© 版权声明

相关文章