<!--设置供应商经营范围--> <!-- void addSupplierCategory( List<SupplierpCat> lists);--> <insert id="addSupplierCategory" parameterType="java.util.List"> INSERT INTO supplierpcat( pcateid,supid,pcatelevel,pid )VALUES <foreach collection="list" item="item" separator="," > ( #{item.pcateid},#{item.supid},#{item.pcatelevel},#{item.pid}) </foreach> </insert>
MyBatis动态添加数据
最新推荐文章于 2024-06-12 18:23:20 发布