mybatis配置返回为修改影响条数,修改jdbc连接如下即可:添加useAffectedRows=true配置。
jdbc:mysql://jdbc.host/{jdbc.db}?useAffectedRows=true