Person haotian = personDao.findById(from);
Person shaolun = personDao.findById(to);
haotian.setMoney(haotian.getMoney()-money);
shaolun.setMoney(shaolun.getMoney()+money);
personDao.update(haotian);
personDao.update(shaolun);
要保持编码一致,不一致就可能会乱码,数据库值也可能变问号