insert id=insertPhysicalRecord useGeneratedKeys=true keyProperty=examID insert into HA_PhysicalExaminationRecordexaminationDate jcpj_isException values#examinationDate 0
报错信息显示在Java类中没有找到与keyProperty 'ID'对应的setter方法。根据报错信息,应该将keyProperty属性设置为"examID",而不是"ID"。请修改insert语句的keyProperty属性为"examID",如下所示:
原文地址: http://www.cveoy.top/t/topic/iC35 著作权归作者所有。请勿转载和采集!