예제 #1
0
 public String add() {
   try {
     bcMap = DataPacked.bigclassMap();
     specMap = DataPacked.specMap();
     return "edit";
   } catch (Exception e) {
     e.printStackTrace();
     return Action.ERROR;
   }
 }
예제 #2
0
 @SuppressWarnings("unchecked")
 public String edit() {
   try {
     stuInfo = (HashMap<String, String>) stuDao.getStuById(loginName);
     specMap = DataPacked.specMap();
     bcMap = DataPacked.bigclassMap();
     gradeList = stuDao.getGradeInfo();
   } catch (Exception e) {
     e.printStackTrace();
     return Action.ERROR;
   }
   return "edit";
 }
예제 #3
0
 /**
  * 待审核列表
  *
  * @return
  */
 public String checklist() {
   try {
     stuList = stuDao.getStuList("checked=1", getPage(), getRows());
     specMap = DataPacked.specMap();
     gradeList = stuDao.getGradeInfo();
   } catch (Exception e) {
     e.printStackTrace();
     return Action.ERROR;
   }
   return "checklist";
 }