<select id="isThemeTagInSameTheme" resultClass="java.lang.String"
parameterClass="java.util.ArrayList">
select theme_name themeName from t_theme where theme_id in
<iterate open="(" close=")" conjunction=",">
#themeIdList[].themeId#
</iterate>
</select>
查询的时候,查询的参数是themeIdList里面的themeId
本文详细介绍了如何使用特定的SQL查询语句来获取指定主题ID列表内对应的主题名称,涉及数据库操作与主题管理的基本知识。
2109

被折叠的 条评论
为什么被折叠?



