創(chuàng)新互聯(lián)主要從事成都做網(wǎng)站、網(wǎng)站建設、網(wǎng)頁設計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務。立足成都服務貴港,10余年網(wǎng)站建設經(jīng)驗,價格優(yōu)惠、服務專業(yè),歡迎來電咨詢建站服務:028-86922220
后臺:
- /**計算裝機量(分地市)**/
- //http://localhost:8080/smartjsmgr/statistiweb.sp?method=getInstallSiteByArea
- @RequestMapping(params = "method=getInstallSiteByArea", method = RequestMethod.POST)
- public ModelAndView getInstallSiteByArea(HttpServletRequest request,HttpServletResponse response){
- Map
map = new HashMap (); - List
list=new ArrayList (); - try {
- list=statistiwebService.getInstallSiteByArea();
- if (list.size()>0) {
- map.put("date", list);
- map.put("success", "true");
- }else{
- map.put("success", "false");
- }
- } catch (Exception e) {
- // TODO: handle exception
- e.printStackTrace();
- logger.error("查詢計算裝機量(分地市)失?。。?!");
- }
- return new ModelAndView("jsonView",map);
- }