<sql-map name="AAA">
<mapped-statement name="getListOfRecommendForBlockInfoInCompanyAdmin" result-map="result_list_recommend">
select A.id,A.title from
<iterate property="list_table" open="(" close=")" conjunction="union all">  
  select id,title from $list_table[]$
</iterate>  
as A where A.recommend = 1
</mapped-statement>
</sql-map>运行的时候会报错:The content of element type "mapped-statement" must match "null".难道<mapped-statement></mapped-statement>中,不能使用<iterate>标签吗?