mybatis foreach循环map



    update ${table}
    set
       
     ${key}= #{map.${key}}  
       
     where ${pkey}=#{pvalue}


 

    insert into ${table}
    
    ${key}
    
    values

    #{value}
    

你可能感兴趣的:(mybatis foreach循环map)