ibatis 配置文件中 <select >中增加一个<iterate>,就报Element type "iterate" must be declared 5
<selectid="search_jobtable_getJobListbyJobord"parameterType="map"resultType="map">sel...
<select id="search_jobtable_getJobListbyJobord" parameterType="map" resultType="map">
select * from JOBTABLE where JOBORD in
<iterate conjunction="," close=")" open="(">$jobtableList[].JOBORD$</iterate>
</select> 展开
select * from JOBTABLE where JOBORD in
<iterate conjunction="," close=")" open="(">$jobtableList[].JOBORD$</iterate>
</select> 展开
3个回答
展开全部
好久没有用过这个了
<iterate property="jobtableList" open="(" conjunction="," close=")">
$jobtableList[].JOBORD$
</iterate>
或者可以考虑用<foreach>......</foreach>尝试下?
<iterate property="jobtableList" open="(" conjunction="," close=")">
$jobtableList[].JOBORD$
</iterate>
或者可以考虑用<foreach>......</foreach>尝试下?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
<iterate open="(" close=")" conjunction="," property="jobtableList">
$jobtableList[].JOBORD$
</iterate>
没有写property属性
$jobtableList[].JOBORD$
</iterate>
没有写property属性
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询