Exemplo n.º 1
0
  // 查詢問題清單 (base on 查詢條件)
  @RequestMapping("/queryQuestionList")
  public ModelAndView queryQuestionList(
      String adminId,
      String startDate,
      String endDate,
      String productionType,
      String questionType,
      String email,
      String handleStatus,
      Model model) {
    System.out.println("queryQuestionList==>");
    System.out.println(
        "	startDate="
            + startDate
            + ", endDate="
            + endDate
            + ", productionType="
            + productionType
            + ", questionType="
            + questionType);

    Question[] questionList =
        personService.queryQuestion(
            startDate, endDate, productionType, email, questionType, handleStatus);
    model.addAttribute("admin", adminId);
    model.addAttribute("questionList", questionList);
    return new ModelAndView("queryQuestionList");
  }
Exemplo n.º 2
0
  // 查詢問題清單 (base on 問題管理連結)
  @RequestMapping("/manageQuestion")
  public ModelAndView manageQuestion(Model model, String adminId) {
    System.out.println("manageQuestion==>");

    Question[] questionList = personService.queryQuestion("", "", "", "", "", "");
    model.addAttribute("admin", adminId);
    model.addAttribute("questionList", questionList);
    return new ModelAndView("manageQuestion");
  }