DaoProxy:unable to intercept method name 'FindPageList',
cause:RT_ID其中 <select>语句为
<select id="Right.FindPageList"  resultMap="Right.FullResultMap" parameterMap="Right.ParasFindAll">
<!--1.当前搜索条件下共多少条记录-->
select count(distinct a.[ID])
from T_Right2 a left join T_RightType b on a.RightType_ID=b.[ID]
where a.State=1
<isPropertyAvailable prepend="and" property="Name">
<isNotEmpty property="Name" prepend="">
<isEqual compareValue="0" property="Name">
a.Name like '%$Name$%'
</isEqual>
</isNotEmpty>
<isNotEmpty prepend="" property="Name">
<isEqual compareValue="1" property="Name">
a.Name =#Name#
</isEqual>
</isNotEmpty>
</isPropertyAvailable>
<isPropertyAvailable prepend="and" property="Code">
<isNotEmpty prepend="" property="Code">
a.Code = #Code#
</isNotEmpty>
</isPropertyAvailable>
<isPropertyAvailable prepend="and" property="EnRightType">
<isNotEmpty prepend="" property="EnRightType">
b.Name=#RTP_Name#
</isNotEmpty>
</isPropertyAvailable>

<!--2.查询当前页款式列表等于0表示模糊等于1表示精确-->
<!--报错部分,如果下面注释掉页面就显示正常而且JS中方发也正确-->
select distinct top $PageSize$ a.[ID],a.Guid,a.Code,a.[Name],a.State,a.Re,b.[Name]
from T_Right2 a left join T_RightType b on a.RightType_ID=b.[ID]
where a.State=1
<isPropertyAvailable prepend="and" property="Name">
<isNotEmpty prepend ="" property ="Name">
<isEqual compareValue="0" property="Name">
a.Name like '%$Name$%'
</isEqual>
</isNotEmpty>
<isNotEmpty prepend ="" property="Name">
<isEqual compareValue="1" property="Name">
a.Name =#Name#
</isEqual>
</isNotEmpty>
</isPropertyAvailable>
<isPropertyAvailable prepend="and" property="Code">
<isNotEmpty prepend="" property="Code">
a.Code = #Code#
</isNotEmpty>
</isPropertyAvailable>
<isPropertyAvailable prepend="and" property="EnRightType">
b.Name=#RTP_Name#
</isPropertyAvailable>
<!--报错部分结束-->
<isPropertyAvailable property="PageLast" prepend="and">
a.ID not in (select top $PageLast$ a.[ID] from T_Right2 a left join T_RIghtType b on a.RightType_ID=b.[ID]
where a.pdt_status>0
<isPropertyAvailable prepend="and" property="Code">
<isNotEmpty prepend="" property="Code">
a.Code = #Code#
</isNotEmpty>
</isPropertyAvailable>
group by a.[ID]
<isPropertyAvailable prepend="and" property="Name">
<isNotEmpty prepend="" property="Name">
<isEqual compareValue="0" property="Name">
a.Name like '%$Name$%'
</isEqual>
</isNotEmpty>
<isNotEmpty prepend="" property="Name">
<isEqual compareValue="1" property="Name">
a.Name =#Name#
</isEqual>
</isNotEmpty>
</isPropertyAvailable>
order by a.[ID] desc)
</isPropertyAvailable>
group by a.[ID],a.Guid,a.Code,a.Name,a.State,a.Re,b.Name
order by a.[ID] desc
</select>[code=C#][/code]
映射表还有什么的都弄好了,字段也和实体类中的一一对应了.        public IList<Right> FindPageList(Hashtable hash)
        {
            IList<Right> result = _rightDao.FindPageList(hash);
            return result;
        }
就是类中这个地方报错 DaoProxy:unable to intercept method name 'FindPageList',
cause:RT_ID