Mybatis 中foreach Map参数

Mybatis foreach标签it 事例记录一,传参map, 用到key和value 记录以下:io <foreach collection="param.entrySet()" separator=";"  item="val">         update m set a=1,b=#{val.key}         <where>             <if test="val.v
相关文章
相关标签/搜索