@RequestMapping(value="/viewInvBatchForm", method = RequestMethod.POST)
public String _P_view_inventory_Batch(@RequestParam("invBatchId") long invBatchId,Model m){
InventoryBatchDTO dto = invBatchDao.viewBatch(invBatchId);
m.addAttribute("vendors", getVendors(dto.getInventoryBatchType()));
m.addAttribute("buyers", getBuyers(dto.getInventoryBatchType()));
m.addAttribute("inventoryBatch",dto);
return "viewInvBatchForm";
}
答案 0 :(得分:0)