示例#1
0
 // 资金控制类指标廉情扣分 业务数据
 public String getZjkzYwsj() {
   Dmp p = this.getParamsAsDmp();
   String qtdw = p.getAsString("qtdw");
   String jsdw = p.getAsString("jsdw");
   Map temp = jxpgService.queryTzkz(p);
   Map dp = jxpgService.queryDthzcount(p);
   Object hezje = dp.get("htzje") == null ? null : dp.get("htzje");
   p.put("hts", dp.get("hts"));
   p.put("htzje", dp.get("htzje"));
   p.put("qtdw", qtdw);
   p.put("jsdw", jsdw);
   p.putAll(temp);
   Float zj = (Float) p.get("zj");
   Float js = (Float) p.get("js");
   if (zj != null) {
     zj = zj / 10000;
     p.put("zj", zj);
   }
   if (js != null) {
     js = js / 10000;
     p.put("js", js);
   }
   this.setAttributeFromDmp(p);
   return "getZjkzYwsj";
 }
示例#2
0
 public String queryShr() throws Exception {
   Dmp p = this.getParamsAsDmp();
   String departcode = p.getAsString("_deptid");
   String userid = p.getAsString("_userid");
   p.put("departcode", departcode);
   List<Map> dsrList = tshjService.getShrList(p);
   p.put("dsrList", dsrList);
   this.setAttributeFromDmp(p);
   return "queryShr";
 }
示例#3
0
 public String toadd() throws Exception {
   Dmp p = this.getParamsAsDmp();
   tshj = new XzzfYwTshjks();
   List list = CommonUtil.getListByMap("一般业务环节");
   p.put("list", list);
   List lb = CommonUtil.getListByMap("特殊环节");
   p.put("lb", lb);
   this.setAttributeFromDmp(p);
   return "toadd";
 }
示例#4
0
 // 指标详细情况
 public String getGzbxxList() throws Exception {
   Dmp p = this.getParamsAsDmp();
   p.put("zbxxList", jxpgService.getGzbxxList(p));
   if ("1".equals(p.getAsString("hxzbpx"))) {
     List<Dmp> hxzbtj = jxpgService.hxzbtj(p);
     p.put("hxzbtj", hxzbtj.get(0));
   }
   this.setAttributeFromDmp(p);
   return "getGzbxxList";
 }
示例#5
0
 public String querylist() throws Exception {
   Dmp p = this.getParamsAsDmp();
   String departcode = p.getAsString("_deptid");
   String userid = p.getAsString("_userid");
   p.put("departcode", departcode);
   List list = CommonUtil.getListByMap("特殊环节");
   p.put("tshjlb", list);
   p.put("xzqh", CommonUtil.getListByMap("行政区划"));
   p.put("userid", userid);
   Pager pager = tshjService.queryList(p);
   p.put("pager", pager);
   this.setAttributeFromDmp(p);
   return "querylist";
 }
示例#6
0
 // 单个项目绩效详情
 public String queryXmJxpg() {
   Dmp p = this.getParamsAsDmp();
   String jsdw = p.getAsString("jsdw");
   String qtdw = p.getAsString("qtdw");
   String ctx = getRequest().getRealPath("/").replaceAll("\\\\", "\\\\\\\\");
   String context = getRequest().getContextPath();
   p.put("context", context);
   p.put("jsdw", jsdw);
   p.put("qtdw", qtdw);
   Map temp = jxpgService.queryJxpgInfo(p, ctx);
   p.putAll(temp);
   this.setAttributeFromDmp(p);
   return "queryXmJxpg";
 }
示例#7
0
 // 扣分情况
 public String dyhtycxq() {
   Dmp p = this.getParamsAsDmp();
   List list = jxpgService.dyhtycxq(p);
   p.put("list", list);
   this.setAttributeFromDmp(p);
   return "dyhtycxq";
 }
示例#8
0
 public String addAjToTshj() throws Exception {
   Dmp p = this.getParamsAsDmp();
   String departcode = p.getAsString("_deptid");
   String userid = p.getAsString("_userid");
   p.put("departcode", departcode);
   tshjService.addAjToTshj(tshj, p);
   return querylist();
 }
示例#9
0
 // 廉情预警
 public String getLqyj() {
   Dmp p = this.getParamsAsDmp();
   p.put("lx", 1);
   String ctx = getRequest().getRealPath("/");
   Map temp = jxpgService.querylqyj(p, ctx);
   List hxzbtj = jxpgService.hxzbtj(p);
   List gyhtyjdj = jxpgService.querydj(p);
   // querydj.pt?xmid=2&lx=3
   p.putAll(temp);
   p.put("hxzbtj", hxzbtj.get(0));
   p.put("gyhtyjdj", gyhtyjdj);
   p.put("lx", 2);
   List zxmyjdj = jxpgService.querydj(p);
   p.put("zxmyjdj", zxmyjdj);
   Dmp pp = jxpgService.querylqyjlj(p);
   this.setAttributeFromDmp(pp);
   return "getLqyj";
 }
示例#10
0
 // 支付台账列表
 public void getZftzList() {
   Dmp p = this.getParamsAsDmp();
   try {
     List list = jxpgService.czgkzfList(p);
     p.put("list", list);
   } catch (Exception e) {
     e.printStackTrace();
   }
   this.setAttributeFromDmp(p);
 }
示例#11
0
 // 预警等级
 public String querydj() throws Exception {
   Dmp p = this.getParamsAsDmp();
   List list = null;
   String deptid = p.get("_deptid").toString();
   if ("001001".equals(deptid) || "001".equals(deptid)) {
     list = jxpgService.querydj(p);
   }
   p.put("list", list);
   this.setAttributeFromDmp(p);
   return "querydj";
 }
示例#12
0
 public String addOrUpdate() throws Exception {
   Dmp p = this.getParamsAsDmp();
   String userid = p.getAsString("_userid");
   if (tshj.getShr() == null) {
     String shr = p.get("tshj.shr") == null ? "" : (String) p.get("tshj.shr");
     tshj.setShr(shr);
   }
   p.put("userid", userid);
   String lb = (String) p.get("lb");
   // tshj.setTshjlbbh(lb);
   tshjService.saveOrUpdateTshj(tshj, p);
   return this.backForward("操作成功!", "/tshj/tshj_querylist.pt");
 }
示例#13
0
 public String toAddOrUpdate() throws Exception {
   Dmp p = this.getParamsAsDmp();
   String id = p.get("id") == null ? "" : p.get("id").toString();
   String ajid = p.get("ajid") == null ? "" : p.get("ajid").toString();
   if (null == id || "".equals(id)) {
     tshj = new XzzfYwTshjks();
   } else {
     tshj = tshjService.queryTshjById(id);
     if (tshj.getJbr() != null && !"".equals(tshj.getJbr())) {
       jbrname = tshjService.getJbrBycode(tshj.getJbr());
     }
     if (tshj.getShr() != null && !"".equals(tshj.getShr())) {
       p.put("shrname", tshjService.getJbrBycode(tshj.getShr()));
     }
   }
   p.put("lb", CommonUtil.getListByMap("特殊环节"));
   Map m = tshjService.getLadjMapByAjid(ajid);
   p.put("obj", m);
   List list = CommonUtil.getListByMap("一般业务环节");
   p.put("list", list);
   this.setAttributeFromDmp(p);
   return "addOrUpdate";
 }
示例#14
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);
 }
示例#15
0
 // 招标报名列表
 public void getZbbmList() throws IOException {
   Dmp dmp = this.getParamsAsDmp();
   List tbbm = jxpgService.querytbbm(dmp);
   if (tbbm.size() > 0) {
     dmp.putAll((Map) tbbm.get(0));
   }
   List tbbmmx = jxpgService.querytbbmmx(dmp);
   if (tbbmmx.size() > 0) {
     dmp.put("tbbmmx", tbbmmx);
   }
   Map<String, Object> jsonMap = new HashMap<String, Object>();
   jsonMap.put("total", tbbmmx.size());
   jsonMap.put("rows", tbbmmx);
   String result = JSON.toJSONString(jsonMap, true);
   this.setAttributeFromDmp(dmp);
   this.getResponse().getWriter().write(result);
 }