public String searchAll(HttpServletRequest req, HttpServletResponse resp) {
   System.out.println("succeed");
   persons = gservice.packAll();
   req.getSession().setAttribute("persons2", persons);
   req.getSession().setAttribute("stateScore", "ok");
   req.getSession().setAttribute("total", persons.size() - 1);
   req.getSession().setAttribute("i", 0);
   return "jsps/management/mntScore.jsp";
 }
 public String pickUp(HttpServletRequest req, HttpServletResponse resp) {
   System.out.println("succeed");
   Map<String, String> m1 = new HashMap<String, String>();
   Map<String, String> m2 = new HashMap<String, String>();
   String pNo = req.getParameter("pNo");
   String pName = req.getParameter("pName");
   String engageForm = req.getParameter("engageForm");
   String beginWorkDate1 = req.getParameter("beginWorkDate1");
   String beginWorkDate2 = req.getParameter("beginWorkDate2");
   String workState = req.getParameter("workState");
   if (pNo.isEmpty() == false) m1.put("personnelId", pNo);
   if (pName.isEmpty() == false) m1.put("personnelName", pName);
   if (engageForm.isEmpty() == false) m1.put("engageForm", engageForm);
   if (beginWorkDate1.isEmpty() == false) m2.put("beginWorkDate1", beginWorkDate1);
   if (beginWorkDate2.isEmpty() == false) m2.put("beginWorkDate2", beginWorkDate2);
   if (workState.isEmpty() == false) m1.put("workState", workState);
   persons = gservice.packSome(m1, m2);
   req.getSession().setAttribute("persons2", persons);
   req.getSession().setAttribute("stateScore", "ok");
   req.getSession().setAttribute("total", persons.size() - 1);
   req.getSession().setAttribute("i", 0);
   return "jsps/management/mntScore.jsp";
 }