@Test public void testProceduce() { Map<String, Object> params = new HashMap<String, Object>(3); params.put("college", "软件学院"); params.put("className", "1102"); params.put("term", "201401"); dao.select(namespace + "updateTotalScoreRand", params); }
@Test public void testGetClassMaxStudentNo() { Map<String, Object> params = new HashMap<String, Object>(3); params.put("college", "软件学院"); params.put("className", "1102"); params.put("term", "201401"); dao.select(namespace + "getStudentNoInClass", params); }
/** 查询出某一个需要待审核的班级 anping TODO 下午6:30:08 */ @Test public void testSchloarShipSelect() { Map<String, Object> params = new HashMap<String, Object>(); params.put("college", "软件学院"); params.put("exameState", "院级审核中"); List<WaitCheckVo> waiting = dao.select(namespace + "getWaitData", params); }
@Test public void testAwardRank() { Map<String, Object> params = new HashMap<String, Object>(3); params.put("college", "软件学院"); params.put("className", "1102"); params.put("term", "201402"); dao.selectOne(namespace + "updateAwardRand", params); }
@Test public void selectSchloarShip() { Map<String, Object> params = new HashMap<String, Object>(); params.put("college", "软件学院"); params.put("major", "软件工程"); List<ScholarShip> ships = dao.select(namespace + "selectScholarShipByCondition", params); for (ScholarShip ship : ships) { System.out.println(ship.getTerm()); System.out.println(ship.getAwardScore()); System.out.println(ship.getPunishScore()); System.out.println(ship.getStudent().getStudentNo()); System.out.println(ship.getStudent().getStudentName()); } }