📅  最后修改于: 2022-03-11 14:56:20.001000             🧑  作者: Mango
@RequestMapping(value = "/refreshItem", method = RequestMethod.GET)
public String refreshItem(@RequestParam("order") String orderId, Model model) {
List- itemList = Item.findItemsByOrderId(orderId).getResultList();
model.addAttribute("itemList", itemList);
return "myView :: #item";
}