Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘xxxxx.ap_show_hehavior’ doesn’t exist
<select id="selectListByEntryIdAndArticleIds" resultMap="BaseResultMap">
select <include refid="Base_Column_List"></include>
from ap_show_hehavior where entry_id = #{entryId} and article_id in(
<foreach collection="articleIds" item="item" separator=",">
#{item}
</foreach>
)
</select>
检查映射文件xml,表名不存在,表名写错了ap_show_behavior写成ap_show_hehavior