示例#1
0
 @RequestMapping("xzKzList-info-input")
 public String input(@RequestParam(value = "id", required = false) Long id, Model model) {
   if (id != null) {
     XzKzList xzKzList = xzKzListManager.get(id);
     model.addAttribute("model", xzKzList);
   }
   //  model.addAttribute("deptList",orgDepartmentManager.getAll());
   model.addAttribute("ryMap", CommRyMapUtil.getRyMap());
   model.addAttribute("xmMap", PjXmMapUtil.getXmMap());
   return "xz/xzKzList-info-input";
 }
示例#2
0
  @RequestMapping("xzKzList-info-list")
  public String list(
      @ModelAttribute Page page, @RequestParam Map<String, Object> parameterMap, Model model) {
    List<PropertyFilter> propertyFilters = PropertyFilter.buildFromMap(parameterMap);
    page = xzKzListManager.pagedQuery(page, propertyFilters);

    model.addAttribute("page", page);
    // model.addAttribute("deptList",orgDepartmentManager.getAll());
    model.addAttribute("ryMap", CommRyMapUtil.getRyMap());
    model.addAttribute("xmMap", PjXmMapUtil.getXmMap());
    return "xz/xzKzList-info-list";
  }