There is no getter for property named 'sysUser' 是哪里有问题吗

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'sysUser' in 'class com.dg39.generalize.entity.SysUser'图片说明图片说明图片说明

mybatis有两种调用方法xml,要想使用@Param注解,则只能用接口方式调用,我猜你们用的是sqlSession方式调用的,所以导致注解无效。
解决办法,xml中的#{sysUser.email}等去掉sysUser。