mybatis批量更新時語法寫的都對,可是報錯,須要在鏈接上面加上allowMultiQueries=truemysql
示例:jdbc:MySQL://192.168.1.236:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=truesql
默認狀況下mysql是不支持批量更新操做的mybatis