JPA中的save方法
JPA中的save方法
@RequestMapping(value = “”, method = RequestMethod.POST)
public String postAccount(@RequestParam(value = “name”) String name,
@RequestParam(value = “money”) double money) {
Account account = new Account();
account.setMoney(money);
account.setNa
转载
2021-09-28 15:11:44 ·
3447 阅读 ·
0 评论