Beispiel #1
0
 // 预警信息
 public void getYjxxList() throws IOException {
   Dmp p = this.getParamsAsDmp();
   Pager pager = jxpgService.queryAllYjInfo(p);
   Map<String, Object> jsonMap = new HashMap<String, Object>();
   jsonMap.put("total", pager.getTotalRows());
   jsonMap.put("rows", pager.getList());
   String result = JSON.toJSONString(jsonMap, true);
   this.setAttributeFromDmp(p);
   this.getResponse().getWriter().write(result);
 }
Beispiel #2
0
 // 负责加载数据
 public String getList() throws Exception {
   Map p = this.getParamsAsDmp();
   Pager pager = lxglService.queryList(p);
   Map<String, Object> jsonMap = new HashMap<String, Object>();
   jsonMap.put("total", pager.getTotalRows());
   jsonMap.put("rows", pager.getList());
   String listSsjd = JSON.toJSONString(jsonMap, true);
   this.setAttributeFromDmp(p);
   this.getResponse().getWriter().write(listSsjd);
   return null;
 }
Beispiel #3
0
 // 合同信息
 public void getHtxx() throws IOException {
   Dmp p = this.getParamsAsDmp();
   String flag = p.get("flag") == null ? "" : (String) p.get("flag");
   String qtdw = p.getAsString("qtdw");
   String jsdw = p.getAsString("jsdw");
   Pager pager = jxpgService.queryTzkzTab(p);
   Map<String, Object> jsonMap = new HashMap<String, Object>();
   jsonMap.put("total", pager.getTotalRows());
   jsonMap.put("rows", pager.getList());
   String result = JSON.toJSONString(jsonMap, true);
   this.setAttributeFromDmp(p);
   this.getResponse().getWriter().write(result);
 }
Beispiel #4
0
 // 项目预警信息
 public void getXmyjxxList() throws IOException {
   Dmp p = this.getParamsAsDmp();
   String status = p.getAsString("status");
   if ("0".equals(status)) {
     p.put("status", "");
   }
   Pager pager = jxpgService.queryAllProYjInfo(p);
   Map<String, Object> jsonMap = new HashMap<String, Object>();
   jsonMap.put("total", pager.getTotalRows());
   jsonMap.put("rows", pager.getList());
   String result = JSON.toJSONString(jsonMap, true);
   this.setAttributeFromDmp(p);
   this.getResponse().getWriter().write(result);
 }
Beispiel #5
0
 // 绩效评估总览列表
 public void getList() throws Exception {
   Dmp p = this.getParamsAsDmp();
   Pager pager;
   String deptid = p.get("_deptid").toString();
   if ("001001".equals(deptid) || "001".equals(deptid)) {
     pager = jxpgService.getXxsb(p);
   } else {
     pager = jxpgService.queryQtJsXm(p);
   }
   Map<String, Object> jsonMap = new HashMap<String, Object>();
   jsonMap.put("total", pager.getTotalRows());
   jsonMap.put("rows", pager.getList());
   String result = JSON.toJSONString(jsonMap, true);
   this.setAttributeFromDmp(p);
   this.getResponse().getWriter().write(result);
 }