我在配置Mybatis的时候出现找不到pojo类的属性
妄也 2018-08-16 01:54:53 <select id="selectText" resultType="com.wangcheng.pojo.role" parameterType="com.wangcheng.pojo.role">
select <include refid="zd"/> from role
<where>
<if test=" Fid == null and Fid = '' and
RoleName == null and RoleName = '' and
DId == null and DId = ''">
and 1=1
</if>
<if test="Fid != null and Fid !=''">
and Fid LIKE '%${Fid}%'
</if>
<if test="RoleName != null and RoleName !=''">
and RoleName LIKE '%${RoleName}%'
</if>
<if test="Did != null and Did !=''">
and Did LIKE '%${Did}%'
</if>
</where>
</select>
这是我的SQL语句,换成select * from role 可以查出来,
但是我其他Mapper类也是这么写的 都可以查出来,不知道为什么唯独这个不行
报错是
There is no getter for property named ‘Did’ in 'class com.wangcheng.pojo.role'