@RequestMapping("/queryAllDealOrder")
public ModelAndView queryAllDealOrder(QueryVo vo, Query query, ModelMap model) {
query = query != null ? query : new Query();
PageFinder pageFinder = orderQueryService.queryAllOrder(vo, query);
Map wareHouses = null;
try {
wareHouses = iComponent.getWareHouses();
} catch (Exception e) {
e.printStackTrace();
}
if(wareHouses != null && wareHouses.size() > 0){
model.put("wareHouses", wareHouses);
}
model.addAttribute("pageFinder", pageFinder);
model.addAttribute("flag", vo.getFlag());
model.addAttribute("value", vo.getStatus());
model.addAttribute("start", vo.getStart());
model.addAttribute("end", vo.getEnd());
model.addAttribute("orderNo", vo.getOrderNo());
model.addAttribute("defray", vo.getPayMethod());
model.addAttribute("vo", vo);
return new ModelAndView("ylysystem/ordermgmt/xxxxx");
}
ftl里面
阅读(5472) | 评论(0) | 转发(0) |