コード例 #1
0
 @SuppressWarnings("unchecked")
 public void getProblemById() {
   try {
     fppsProblem.getPageInfo().setPhysicalPage(Boolean.valueOf(false));
     List list = problemService.getProblemById(fppsProblem);
     ResponseJson(getJSON(pageUtil(fppsProblem, list)));
   } catch (Exception exception) {
     exception.printStackTrace();
     ResponseJson(getJSON(getSuccess(false, "系统遇到异常,请联系管理员!")));
   }
 }
コード例 #2
0
 @SuppressWarnings("unchecked")
 public void getProblemByType() {
   try {
     JfpAccount jfpaccount = (JfpAccount) getSession().get("user");
     fppsProblem.setProPerson(jfpaccount.getAcUuid());
     fppsProblem.getPageInfo().setPhysicalPage(Boolean.valueOf(false));
     List list = problemService.getProblemByType(fppsProblem);
     ResponseJson(getJSON(pageUtil(fppsProblem, list)));
   } catch (Exception exception) {
     exception.printStackTrace();
     ResponseJson(getJSON(getSuccess(false, "系统遇到异常,请联系管理员!")));
   }
 }