1.good.xml(flushCache="true"在sql执行完之后强制清空缓存)
<!--flushCache="true"在sql执行完之后强制清空缓存--> <select id="selectGoodsMap" resultType="java.util.LinkedHashMap" flushCache="true"> select g.* , c.category_name,'1' as test from t_goods g , t_category c where g.category_id = c.category_id </select>
标签:category,xml,good,二级缓存,017,id From: https://www.cnblogs.com/LLL0617/p/16964493.html