コード例 #1
0
ファイル: SDCSupport.java プロジェクト: hung118/sdc
  public String getSchoolName(String schoolNumber) throws DaoException {
    SchoolService service = new SchoolService();
    Map<String, Object> hm = new HashMap<String, Object>();
    hm.put("schoolNumber", schoolNumber);
    School school = service.getSchool(hm);

    return school.getSchoolName();
  }
コード例 #2
0
ファイル: SDCSupport.java プロジェクト: hung118/sdc
 public String getSchoolNumber(Integer schoolFk) throws DaoException {
   SchoolService service = new SchoolService();
   Map<String, Object> hm = new HashMap<String, Object>();
   hm.put("schoolPk", schoolFk);
   hm.put("showDeleted", "true");
   School school = service.getSchool(hm);
   String schoolNumber = school.getSchoolNumber();
   return schoolNumber;
 }