forEach详解 在使用动态sql<foreach>语句时collection写list或者@Param注解里面指定的名称都行,item是每一个元素的别名,注意引用时候跟外部方法参数引用方式一样,#{item.name}......,不加占位符会出现难以预料的问题 <delete id="deleteBatch"> delete from setmeal_dish where setmeal_id in <foreach col…
forEach详解 在使用动态sql<foreach>语句时collection写list或者@Param注解里面指定的名称都行,item是每一个元素的别名,注意引用时候跟外部方法参数引用方式一样,#{item.name}......,不加占位符会出现难以预料的问题 <delete id="deleteBatch"> delete from setmeal_dish where setmeal_id in <foreach col…
COPYRIGHT © 2023 bugDesigner的博客. ALL RIGHTS RESERVED.
Theme Kratos Made By Seaton Jiang