当update一个对象时,可以用Map
在 xml 中 values 的值就是map的key,map的value是前端传来的,这样就不用parameterType=“********.user” 更新时就少些很多<if test=" pwd != null">去判断