効率的な一括更新一括変更mybatis springboot
直接持って来れば使える、効率的な一括更新(一括修正)–mybatis springboot
dao:
mapper.xml:
dao:
/* , null */
int updateBatchByPrimaryKey(List<ShopGoodsDO> list);
mapper.xml:
<!-- -->
<update id="updateBatchByPrimaryKey" parameterType="java.util.List">
update shop_goods