There is no getter for property named 'username' in 'class com.pms.entity.EmployeeinfoQueryVO'
原因是:
<if test="employeeinfoCustom.worknum != null" >
#{worknum,jdbcType=INTEGER},
</if>
<if test="employeeinfoCustom.username != null" >
#{username,jdbcType=VARCHAR},
</if>
username前要加employeeinfoCustom.
OGNL对象导航图语言