Example #1
0
 /**
  * 函 数 名:doGroupLevel 功能描述:危险源级别统计实现方法(画图)
  *
  * @return String 创建人:王贺喜 创建时间:2012-12-7 下午2:33:30
  */
 public String doGroupLevel() {
   HashMap<String, Object> map = new HashMap<String, Object>();
   map.put("corpid", this.getSessionUserPO().getCorpid());
   mapList = b00401Service.getGroupDangerLevel(map);
   setJstr(UtilPlot.setColPieData(mapList));
   return JSON_STR;
 }
Example #2
0
 /**
  * doGetstatChart(统计图)
  *
  * @param name
  * @param @return 设定文件
  * @return String DOM对象 @Exception 异常对象
  * @since CodingExample Ver(编码范例查看) 1.1
  */
 public String doGetstatChart() {
   try {
     setJstr(UtilPlot.setColPieData(b00401Service.statDevide(getSessionUserPO().getCorpid())));
   } catch (Exception e) {
     e.printStackTrace();
   }
   return JSON_STR;
 }