예제 #1
0
 public String listComponent() {
   String userType = this.request.getParameter("userType");
   List<component> orgs = ftpFileService.listComponent(userType);
   component com = new component();
   com.setCode("0");
   com.setName("--请选择--");
   orgs.add(0, com);
   try {
     _rows = JSONArray.fromObject(orgs);
   } catch (Exception e) {
     logger.error("查询平台错误:" + e);
   }
   return SUCCESS;
 }