Commit 9759d0ef2b4990796a8dff33fa86e8b2795002e9

Authored by 廖磊
2 parents b22667d3 22cdb082

Merge branch 'minhang' of 192.168.168.201:panzhaov5/bsth_control into

minhang
src/main/java/com/bsth/controller/forms/ExportController.java
@@ -34,6 +34,7 @@ import com.bsth.util.ReportUtils; @@ -34,6 +34,7 @@ import com.bsth.util.ReportUtils;
34 @RequestMapping("mcy_export") 34 @RequestMapping("mcy_export")
35 public class ExportController { 35 public class ExportController {
36 36
  37 +
37 @Autowired 38 @Autowired
38 FormsService formsService; 39 FormsService formsService;
39 40
@@ -71,9 +72,9 @@ public class ExportController { @@ -71,9 +72,9 @@ public class ExportController {
71 72
72 try { 73 try {
73 listI.add(resList.iterator()); 74 listI.add(resList.iterator());
74 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
75 - ee.excelReplace(listI, new Object[] { map }, path + "mould\\linepasswengerflow.xls",  
76 - path + "export\\线路客流量报表" + sdfSimple.format(sdfMonth.parse(map.get("date").toString())) + ".xls"); 75 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  76 + ee.excelReplace(listI, new Object[] { map }, path + "mould/linepasswengerflow.xls",
  77 + path + "export/线路客流量报表" + sdfSimple.format(sdfMonth.parse(map.get("date").toString())) + ".xls");
77 } catch (Exception e) { 78 } catch (Exception e) {
78 e.printStackTrace(); 79 e.printStackTrace();
79 } 80 }
@@ -111,9 +112,9 @@ public class ExportController { @@ -111,9 +112,9 @@ public class ExportController {
111 112
112 try { 113 try {
113 listI.add(resList.iterator()); 114 listI.add(resList.iterator());
114 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
115 - ee.excelReplace(listI, new Object[] { map }, path + "mould\\shifday.xls",  
116 - path + "export\\班次车辆人员日报表" + sdfSimple.format(sdfMonth.parse(map.get("date").toString())) + ".xls"); 115 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  116 + ee.excelReplace(listI, new Object[] { map }, path + "mould/shifday.xls",
  117 + path + "export/班次车辆人员日报表" + sdfSimple.format(sdfMonth.parse(map.get("date").toString())) + ".xls");
117 } catch (Exception e) { 118 } catch (Exception e) {
118 e.printStackTrace(); 119 e.printStackTrace();
119 } 120 }
@@ -148,9 +149,9 @@ public class ExportController { @@ -148,9 +149,9 @@ public class ExportController {
148 try { 149 try {
149 listI.add(resList.iterator()); 150 listI.add(resList.iterator());
150 151
151 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
152 - ee.excelReplace(listI, new Object[] { map }, path + "mould\\shiftuehiclemanth.xls", path  
153 - + "export\\班次车辆人员月报表" + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls"); 152 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  153 + ee.excelReplace(listI, new Object[] { map }, path + "mould/shiftuehiclemanth.xls", path
  154 + + "export/班次车辆人员月报表" + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls");
154 155
155 } catch (Exception e) { 156 } catch (Exception e) {
156 e.printStackTrace(); 157 e.printStackTrace();
@@ -177,6 +178,9 @@ public class ExportController { @@ -177,6 +178,9 @@ public class ExportController {
177 m.put("clzbh", l.getClzbh()); 178 m.put("clzbh", l.getClzbh());
178 m.put("jsy", l.getJsy()); 179 m.put("jsy", l.getJsy());
179 m.put("jName", l.getjName()); 180 m.put("jName", l.getjName());
  181 +
  182 +
  183 +
180 m.put("sgh", l.getSgh()); 184 m.put("sgh", l.getSgh());
181 m.put("sName", l.getsName()); 185 m.put("sName", l.getsName());
182 m.put("jhlc", l.getJhlc()); 186 m.put("jhlc", l.getJhlc());
@@ -186,14 +190,15 @@ public class ExportController { @@ -186,14 +190,15 @@ public class ExportController {
186 m.put("unyyyl", l.getUnyyyl()); 190 m.put("unyyyl", l.getUnyyyl());
187 m.put("jhjl", l.getJhjl()); 191 m.put("jhjl", l.getJhjl());
188 resList.add(m); 192 resList.add(m);
  193 +
189 i++; 194 i++;
190 } 195 }
191 196
192 try { 197 try {
193 listI.add(resList.iterator()); 198 listI.add(resList.iterator());
194 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
195 - ee.excelReplace(listI, new Object[] { map }, path + "mould\\singledata.xls",  
196 - path + "export\\路单数据" + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls"); 199 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  200 + ee.excelReplace(listI, new Object[] { map }, path + "mould/singledata.xls",
  201 + path + "export/路单数据" + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls");
197 } catch (Exception e) { 202 } catch (Exception e) {
198 e.printStackTrace(); 203 e.printStackTrace();
199 } 204 }
@@ -231,9 +236,9 @@ public class ExportController { @@ -231,9 +236,9 @@ public class ExportController {
231 236
232 try { 237 try {
233 listI.add(resList.iterator()); 238 listI.add(resList.iterator());
234 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
235 - ee.excelReplace(listI, new Object[] { map }, path + "mould\\vehicleloading.xls",  
236 - path + "export\\车辆加注" + sdfSimple.format(sdfMonth.parse(map.get("data").toString())) + ".xls"); 239 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  240 + ee.excelReplace(listI, new Object[] { map }, path + "mould/vehicleloading.xls",
  241 + path + "export/车辆加注" + sdfSimple.format(sdfMonth.parse(map.get("data").toString())) + ".xls");
237 } catch (Exception e) { 242 } catch (Exception e) {
238 e.printStackTrace(); 243 e.printStackTrace();
239 } 244 }
@@ -264,8 +269,8 @@ public class ExportController { @@ -264,8 +269,8 @@ public class ExportController {
264 269
265 try { 270 try {
266 listI.add(resList.iterator()); 271 listI.add(resList.iterator());
267 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
268 - ee.excelReplace(listI, new Object[] { map }, path + "mould\\operationservice.xls", path + "export\\运营服务阶段报表" 272 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  273 + ee.excelReplace(listI, new Object[] { map }, path + "mould/operationservice.xls", path + "export/运营服务阶段报表"
269 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls"); 274 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls");
270 } catch (Exception e) { 275 } catch (Exception e) {
271 e.printStackTrace(); 276 e.printStackTrace();
@@ -303,8 +308,8 @@ public class ExportController { @@ -303,8 +308,8 @@ public class ExportController {
303 308
304 try { 309 try {
305 listI.add(resList.iterator()); 310 listI.add(resList.iterator());
306 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
307 - ee.excelReplace(listI, new Object[] { map }, path + "mould\\changetochange.xls", path + "export\\换人换车情况日统计" 311 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  312 + ee.excelReplace(listI, new Object[] { map }, path + "mould/changetochange.xls", path + "export/换人换车情况日统计"
308 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls"); 313 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls");
309 } catch (Exception e) { 314 } catch (Exception e) {
310 e.printStackTrace(); 315 e.printStackTrace();
@@ -383,8 +388,8 @@ public class ExportController { @@ -383,8 +388,8 @@ public class ExportController {
383 388
384 try { 389 try {
385 listI.add(resList.iterator()); 390 listI.add(resList.iterator());
386 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
387 - ee.excelReplace(listI, new Object[] { map1 }, path + "mould\\turnoutrate.xls", path + "export\\营运线路出车率统计表" 391 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  392 + ee.excelReplace(listI, new Object[] { map1 }, path + "mould/turnoutrate.xls", path + "export/营运线路出车率统计表"
388 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls"); 393 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls");
389 } catch (Exception e) { 394 } catch (Exception e) {
390 e.printStackTrace(); 395 e.printStackTrace();
@@ -458,8 +463,8 @@ public class ExportController { @@ -458,8 +463,8 @@ public class ExportController {
458 463
459 try { 464 try {
460 listI.add(resList.iterator()); 465 listI.add(resList.iterator());
461 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
462 - ee.excelReplace(listI, new Object[] { map1 }, path + "mould\\executionrate.xls", path + "export\\班次执行率统计表" 466 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  467 + ee.excelReplace(listI, new Object[] { map1 }, path + "mould/executionrate.xls", path + "export/班次执行率统计表"
463 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls"); 468 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls");
464 } catch (Exception e) { 469 } catch (Exception e) {
465 e.printStackTrace(); 470 e.printStackTrace();
@@ -527,8 +532,8 @@ public class ExportController { @@ -527,8 +532,8 @@ public class ExportController {
527 532
528 try { 533 try {
529 listI.add(resList.iterator()); 534 listI.add(resList.iterator());
530 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
531 - ee.excelReplace(listI, new Object[] { map1 }, path + "mould\\allline.xls", path + "export\\营运线路名称统计表" 535 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  536 + ee.excelReplace(listI, new Object[] { map1 }, path + "mould/allline.xls", path + "export/营运线路名称统计表"
532 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls"); 537 + sdfSimple.format(sdfMonth.parse(map.get("startDate").toString())) + ".xls");
533 } catch (Exception e) { 538 } catch (Exception e) {
534 e.printStackTrace(); 539 e.printStackTrace();
@@ -579,8 +584,8 @@ public class ExportController { @@ -579,8 +584,8 @@ public class ExportController {
579 m.put("date", map.get("date").toString()); 584 m.put("date", map.get("date").toString());
580 try { 585 try {
581 listI.add(resList.iterator()); 586 listI.add(resList.iterator());
582 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
583 - ee.excelReplace(listI, new Object[] { m }, path + "mould\\daily.xls", path + "export\\班次日报表" 587 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  588 + ee.excelReplace(listI, new Object[] { m }, path + "mould/daily.xls", path + "export/班次日报表"
584 + sdfSimple.format(sdfMonth.parse(map.get("date").toString())) + ".xls"); 589 + sdfSimple.format(sdfMonth.parse(map.get("date").toString())) + ".xls");
585 } catch (Exception e) { 590 } catch (Exception e) {
586 e.printStackTrace(); 591 e.printStackTrace();
src/main/java/com/bsth/controller/oil/YlbController.java
@@ -186,9 +186,9 @@ public class YlbController extends BaseController<Ylb, Integer>{ @@ -186,9 +186,9 @@ public class YlbController extends BaseController<Ylb, Integer>{
186 } 186 }
187 try { 187 try {
188 listI.add(resList.iterator()); 188 listI.add(resList.iterator());
189 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
190 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\list.xls",  
191 - path+"export\\进出场存油量" + sdfSimple.format(sdfMonth.parse(map.get("rq").toString())) + ".xls"); 189 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  190 + ee.excelReplace(listI, new Object[] { map }, path+"mould/list.xls",
  191 + path+"export/进出场存油量" + sdfSimple.format(sdfMonth.parse(map.get("rq").toString())) + ".xls");
192 } catch (Exception e) { 192 } catch (Exception e) {
193 e.printStackTrace(); 193 e.printStackTrace();
194 } 194 }
src/main/java/com/bsth/data/gpsdata/arrival/handlers/AbnormalStateHandle.java
1 -package com.bsth.data.gpsdata.arrival.handlers;  
2 -  
3 -import com.bsth.data.gpsdata.GpsEntity;  
4 -import com.bsth.data.gpsdata.arrival.GeoCacheData;  
5 -import com.bsth.data.gpsdata.arrival.SignalHandle;  
6 -import com.bsth.data.gpsdata.arrival.utils.CircleQueue;  
7 -import com.bsth.data.gpsdata.arrival.utils.GeoUtils;  
8 -import com.vividsolutions.jts.geom.Coordinate;  
9 -import com.vividsolutions.jts.geom.GeometryFactory;  
10 -import com.vividsolutions.jts.geom.LineString;  
11 -import com.vividsolutions.jts.geom.Point;  
12 -import org.springframework.stereotype.Component;  
13 -  
14 -import java.util.List;  
15 -  
16 -/**  
17 - * GPS异常状态判定 (越界/超速)  
18 - * Created by panzhao on 2017/1/10.  
19 - */  
20 -@Component  
21 -public class AbnormalStateHandle extends SignalHandle{  
22 -  
23 - //默认限速  
24 - private static final double DEFAULT_SPEED_LIMIT = 60;  
25 - //越界阈值  
26 - private static final double OUT_BOUNDS_THRESHOLD = 100;  
27 -  
28 - GeometryFactory geometryFactory = new GeometryFactory();  
29 -  
30 - @Override  
31 - public boolean handle(GpsEntity gps, CircleQueue<GpsEntity> prevs) {  
32 -  
33 - if(overspeed(gps))  
34 - return true;  
35 -  
36 - if(outOfBounds((gps)))  
37 - return true;  
38 -  
39 - return false;  
40 - }  
41 -  
42 - /**  
43 - * 是否超速  
44 - * @param gps  
45 - * @return  
46 - */  
47 - public boolean overspeed(GpsEntity gps){  
48 - double maxSpeed = DEFAULT_SPEED_LIMIT;  
49 - if(GeoCacheData.speedLimit(gps.getLineId()) != null)  
50 - maxSpeed = GeoCacheData.speedLimit(gps.getLineId());  
51 -  
52 - if(gps.getSpeed() > maxSpeed){  
53 - gps.setAbnormalStatus("overspeed");  
54 - return true;  
55 - }  
56 - return false;  
57 - }  
58 -  
59 - /**  
60 - * 是否越界  
61 - * @param gps  
62 - * @return  
63 - */  
64 - public boolean outOfBounds(GpsEntity gps){  
65 - //场内的车不处理  
66 - if(gps.getInstation() == 2){  
67 - return false;  
68 - }  
69 -  
70 - List<LineString> list = GeoCacheData.getLineStringList(gps);  
71 - Point point = geometryFactory.createPoint(new Coordinate(gps.getLat(), gps.getLon()));  
72 -  
73 - double min = -1, distance;  
74 -  
75 - for(LineString lineString : list){  
76 - distance = GeoUtils.getDistanceFromLine(lineString, point);  
77 -  
78 - if(min == -1 || min > distance)  
79 - min = distance;  
80 - }  
81 -  
82 - gps.setOutOfBoundDistance(min);  
83 - if(min > OUT_BOUNDS_THRESHOLD){  
84 - gps.setAbnormalStatus("outBounds");  
85 - return true;  
86 - }  
87 - return false;  
88 - }  
89 -} 1 +package com.bsth.data.gpsdata.arrival.handlers;
  2 +
  3 +import com.bsth.data.gpsdata.GpsEntity;
  4 +import com.bsth.data.gpsdata.arrival.GeoCacheData;
  5 +import com.bsth.data.gpsdata.arrival.SignalHandle;
  6 +import com.bsth.data.gpsdata.arrival.utils.CircleQueue;
  7 +import com.bsth.data.gpsdata.arrival.utils.GeoUtils;
  8 +import com.vividsolutions.jts.geom.Coordinate;
  9 +import com.vividsolutions.jts.geom.GeometryFactory;
  10 +import com.vividsolutions.jts.geom.LineString;
  11 +import com.vividsolutions.jts.geom.Point;
  12 +import org.springframework.stereotype.Component;
  13 +
  14 +import java.util.List;
  15 +
  16 +/**
  17 + * GPS异常状态判定 (越界/超速)
  18 + * Created by panzhao on 2017/1/10.
  19 + */
  20 +@Component
  21 +public class AbnormalStateHandle extends SignalHandle{
  22 +
  23 + //默认限速
  24 + private static final double DEFAULT_SPEED_LIMIT = 60;
  25 + //越界阈值
  26 + private static final double OUT_BOUNDS_THRESHOLD = 100;
  27 +
  28 + GeometryFactory geometryFactory = new GeometryFactory();
  29 +
  30 + @Override
  31 + public boolean handle(GpsEntity gps, CircleQueue<GpsEntity> prevs) {
  32 +
  33 + if(overspeed(gps))
  34 + return true;
  35 +
  36 + if(outOfBounds((gps)))
  37 + return true;
  38 +
  39 + return false;
  40 + }
  41 +
  42 + /**
  43 + * 是否超速
  44 + * @param gps
  45 + * @return
  46 + */
  47 + public boolean overspeed(GpsEntity gps){
  48 + double maxSpeed = DEFAULT_SPEED_LIMIT;
  49 + if(GeoCacheData.speedLimit(gps.getLineId()) != null)
  50 + maxSpeed = GeoCacheData.speedLimit(gps.getLineId());
  51 +
  52 + if(gps.getSpeed() > maxSpeed){
  53 + gps.setAbnormalStatus("overspeed");
  54 + return true;
  55 + }
  56 + return false;
  57 + }
  58 +
  59 + /**
  60 + * 是否越界
  61 + * @param gps
  62 + * @return
  63 + */
  64 + public boolean outOfBounds(GpsEntity gps){
  65 + //场内的车不处理
  66 + if(gps.getInstation() == 2){
  67 + return false;
  68 + }
  69 +
  70 + List<LineString> list = GeoCacheData.getLineStringList(gps);
  71 + Point point = geometryFactory.createPoint(new Coordinate(gps.getLat(), gps.getLon()));
  72 +
  73 + double min = -1, distance;
  74 +
  75 + for(LineString lineString : list){
  76 + distance = GeoUtils.getDistanceFromLine(lineString, point);
  77 +
  78 + if(min == -1 || min > distance)
  79 + min = distance;
  80 + }
  81 +
  82 + gps.setOutOfBoundDistance(min);
  83 + if(min > OUT_BOUNDS_THRESHOLD){
  84 + gps.setAbnormalStatus("outBounds");
  85 + return true;
  86 + }
  87 + return false;
  88 + }
  89 +}
src/main/java/com/bsth/service/forms/impl/ExportServiceImpl.java
@@ -46,9 +46,9 @@ public class ExportServiceImpl implements ExportService{ @@ -46,9 +46,9 @@ public class ExportServiceImpl implements ExportService{
46 46
47 try { 47 try {
48 listI.add(resList.iterator()); 48 listI.add(resList.iterator());
49 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
50 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\waybillday.xls",  
51 - path+"export\\行车路单日报表" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 49 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  50 + ee.excelReplace(listI, new Object[] { map }, path+"mould/waybillday.xls",
  51 + path+"export/行车路单日报表" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
52 } catch (Exception e) { 52 } catch (Exception e) {
53 e.printStackTrace(); 53 e.printStackTrace();
54 } 54 }
@@ -72,9 +72,9 @@ public class ExportServiceImpl implements ExportService{ @@ -72,9 +72,9 @@ public class ExportServiceImpl implements ExportService{
72 72
73 try { 73 try {
74 listI.add(resList.iterator()); 74 listI.add(resList.iterator());
75 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
76 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\linepasswengerflow.xls",  
77 - path+"export\\线路客流量报表" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 75 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  76 + ee.excelReplace(listI, new Object[] { map }, path+"mould/linepasswengerflow.xls",
  77 + path+"export/线路客流量报表" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
78 } catch (Exception e) { 78 } catch (Exception e) {
79 e.printStackTrace(); 79 e.printStackTrace();
80 } 80 }
@@ -115,9 +115,9 @@ public class ExportServiceImpl implements ExportService{ @@ -115,9 +115,9 @@ public class ExportServiceImpl implements ExportService{
115 115
116 try { 116 try {
117 listI.add(resList.iterator()); 117 listI.add(resList.iterator());
118 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
119 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\shifday.xls",  
120 - path+"export\\班次车辆人员日报表" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 118 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  119 + ee.excelReplace(listI, new Object[] { map }, path+"mould/shifday.xls",
  120 + path+"export/班次车辆人员日报表" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
121 } catch (Exception e) { 121 } catch (Exception e) {
122 e.printStackTrace(); 122 e.printStackTrace();
123 } 123 }
@@ -151,9 +151,9 @@ public class ExportServiceImpl implements ExportService{ @@ -151,9 +151,9 @@ public class ExportServiceImpl implements ExportService{
151 151
152 try { 152 try {
153 listI.add(resList.iterator()); 153 listI.add(resList.iterator());
154 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
155 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\shiftuehiclemanth.xls",  
156 - path+"export\\班次车辆人员月报表" + sdfSimple.format(sdfMonth.parse(startDate)) + ".xls"); 154 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  155 + ee.excelReplace(listI, new Object[] { map }, path+"mould/shiftuehiclemanth.xls",
  156 + path+"export/班次车辆人员月报表" + sdfSimple.format(sdfMonth.parse(startDate)) + ".xls");
157 } catch (Exception e) { 157 } catch (Exception e) {
158 e.printStackTrace(); 158 e.printStackTrace();
159 } 159 }
@@ -191,9 +191,9 @@ public class ExportServiceImpl implements ExportService{ @@ -191,9 +191,9 @@ public class ExportServiceImpl implements ExportService{
191 191
192 try { 192 try {
193 listI.add(resList.iterator()); 193 listI.add(resList.iterator());
194 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
195 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\singledata.xls",  
196 - path+"export\\路单日报表" + sdfSimple.format(sdfMonth.parse(startDate)) + ".xls"); 194 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  195 + ee.excelReplace(listI, new Object[] { map }, path+"mould/singledata.xls",
  196 + path+"export/路单日报表" + sdfSimple.format(sdfMonth.parse(startDate)) + ".xls");
197 } catch (Exception e) { 197 } catch (Exception e) {
198 e.printStackTrace(); 198 e.printStackTrace();
199 } 199 }
@@ -230,9 +230,9 @@ public class ExportServiceImpl implements ExportService{ @@ -230,9 +230,9 @@ public class ExportServiceImpl implements ExportService{
230 230
231 try { 231 try {
232 listI.add(resList.iterator()); 232 listI.add(resList.iterator());
233 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
234 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\vehicleloading.xls",  
235 - path+"export\\车辆加注" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 233 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  234 + ee.excelReplace(listI, new Object[] { map }, path+"mould/vehicleloading.xls",
  235 + path+"export/车辆加注" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
236 } catch (Exception e) { 236 } catch (Exception e) {
237 e.printStackTrace(); 237 e.printStackTrace();
238 } 238 }
@@ -261,9 +261,9 @@ public class ExportServiceImpl implements ExportService{ @@ -261,9 +261,9 @@ public class ExportServiceImpl implements ExportService{
261 261
262 try { 262 try {
263 listI.add(resList.iterator()); 263 listI.add(resList.iterator());
264 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
265 - ee.excelReplace(listI, new Object[] { map }, path+"mould\\operationservice.xls",  
266 - path+"export\\运营服务阶段报表" + sdfSimple.format(sdfMonth.parse(startDate)) + ".xls"); 264 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  265 + ee.excelReplace(listI, new Object[] { map }, path+"mould/operationservice.xls",
  266 + path+"export/运营服务阶段报表" + sdfSimple.format(sdfMonth.parse(startDate)) + ".xls");
267 } catch (Exception e) { 267 } catch (Exception e) {
268 e.printStackTrace(); 268 e.printStackTrace();
269 } 269 }
src/main/java/com/bsth/service/impl/BusIntervalServiceImpl.java
@@ -526,9 +526,9 @@ public class BusIntervalServiceImpl implements BusIntervalService { @@ -526,9 +526,9 @@ public class BusIntervalServiceImpl implements BusIntervalService {
526 ReportUtils ee = new ReportUtils(); 526 ReportUtils ee = new ReportUtils();
527 try { 527 try {
528 listI.add(resList.iterator()); 528 listI.add(resList.iterator());
529 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
530 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\busInterval"+statu+".xls",  
531 - path+"export\\班次间隔统计表" + sdfSimple.format(sdfMonth.parse(startDate)) 529 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  530 + ee.excelReplace(listI, new Object[] { m }, path+"mould/busInterval"+statu+".xls",
  531 + path+"export/班次间隔统计表" + sdfSimple.format(sdfMonth.parse(startDate))
532 + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls"); 532 + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls");
533 } catch (Exception e) { 533 } catch (Exception e) {
534 // TODO: handle exception 534 // TODO: handle exception
@@ -1076,9 +1076,9 @@ public class BusIntervalServiceImpl implements BusIntervalService { @@ -1076,9 +1076,9 @@ public class BusIntervalServiceImpl implements BusIntervalService {
1076 modelMap.put("lpType", "路牌名"); 1076 modelMap.put("lpType", "路牌名");
1077 try { 1077 try {
1078 listI.add(((List<Map<String, Object>>)modelMap.get("dataList")).iterator()); 1078 listI.add(((List<Map<String, Object>>)modelMap.get("dataList")).iterator());
1079 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
1080 - ee.excelReplace(listI, new Object[] { modelMap }, path+"mould\\timeAndSpeed.xls",  
1081 - path+"export\\行驶时间及车速统计表" + sdfSimple.format(sdfMonth.parse(startDate)) 1079 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  1080 + ee.excelReplace(listI, new Object[] { modelMap }, path+"mould/timeAndSpeed.xls",
  1081 + path+"export/行驶时间及车速统计表" + sdfSimple.format(sdfMonth.parse(startDate))
1082 + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls"); 1082 + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls");
1083 } catch (Exception e) { 1083 } catch (Exception e) {
1084 // TODO: handle exception 1084 // TODO: handle exception
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
@@ -538,11 +538,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -538,11 +538,11 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
538 map.put("ljbc", ljbc); 538 map.put("ljbc", ljbc);
539 map.put("sjbc", jhbc-cjbc+ljbc); 539 map.put("sjbc", jhbc-cjbc+ljbc);
540 540
541 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\"; 541 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
542 542
543 list.add(listMap.iterator()); 543 list.add(listMap.iterator());
544 - ee.excelReplace(list, new Object[] { scheduleRealInfos.get(0),map }, path+"mould\\waybill_minhang.xls",  
545 - path+"export\\" + date+"-"+jName+"-"+clZbh+"-"+lpName+"-行车路单.xls"); 544 + ee.excelReplace(list, new Object[] { scheduleRealInfos.get(0),map }, path+"mould/waybill_minhang.xls",
  545 + path+"export/" + date+"-"+jName+"-"+clZbh+"-"+lpName+"-行车路单.xls");
546 return scheduleRealInfos; 546 return scheduleRealInfos;
547 } 547 }
548 548
@@ -575,12 +575,12 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -575,12 +575,12 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
575 map.put("totalYH", totalYH); 575 map.put("totalYH", totalYH);
576 map.put("totalBCS", totalBCS); 576 map.put("totalBCS", totalBCS);
577 577
578 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\"; 578 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
579 579
580 listI.add(list.iterator()); 580 listI.add(list.iterator());
581 try { 581 try {
582 - ee.excelReplace(listI, new Object[]{map}, path + "mould\\daily.xls",  
583 - path + "export\\班次日报" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 582 + ee.excelReplace(listI, new Object[]{map}, path + "mould/daily.xls",
  583 + path + "export/班次日报" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
584 } catch (ParseException e) { 584 } catch (ParseException e) {
585 e.printStackTrace(); 585 e.printStackTrace();
586 } 586 }
@@ -632,9 +632,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -632,9 +632,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
632 } 632 }
633 try { 633 try {
634 listI.add(newList.iterator()); 634 listI.add(newList.iterator());
635 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
636 - ee.excelReplace(listI, new Object[]{m}, path + "mould\\historyMessage.xls",  
637 - path + "export\\调度历史消息" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 635 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  636 + ee.excelReplace(listI, new Object[]{m}, path + "mould/historyMessage.xls",
  637 + path + "export/调度历史消息" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
638 } catch (Exception e) { 638 } catch (Exception e) {
639 // TODO: handle exception 639 // TODO: handle exception
640 e.printStackTrace(); 640 e.printStackTrace();
@@ -661,9 +661,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -661,9 +661,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
661 } 661 }
662 try { 662 try {
663 listI.add(newList.iterator()); 663 listI.add(newList.iterator());
664 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
665 - ee.excelReplace(listI, new Object[]{m}, path + "mould\\message.xls",  
666 - path + "export\\调度消息分析" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 664 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  665 + ee.excelReplace(listI, new Object[]{m}, path + "mould/message.xls",
  666 + path + "export/调度消息分析" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
667 } catch (Exception e) { 667 } catch (Exception e) {
668 // TODO: handle exception 668 // TODO: handle exception
669 e.printStackTrace(); 669 e.printStackTrace();
@@ -1261,9 +1261,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -1261,9 +1261,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
1261 } 1261 }
1262 try { 1262 try {
1263 listI.add(listMap.iterator()); 1263 listI.add(listMap.iterator());
1264 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
1265 - ee.excelReplace(listI, new Object[]{m}, path + "mould\\account.xls",  
1266 - path + "export\\驾驶员请求台账" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 1264 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  1265 + ee.excelReplace(listI, new Object[]{m}, path + "mould/account.xls",
  1266 + path + "export/驾驶员请求台账" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
1267 } catch (Exception e) { 1267 } catch (Exception e) {
1268 // TODO: handle exception 1268 // TODO: handle exception
1269 e.printStackTrace(); 1269 e.printStackTrace();
@@ -1316,9 +1316,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -1316,9 +1316,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
1316 } 1316 }
1317 try { 1317 try {
1318 listI.add(tempList.iterator()); 1318 listI.add(tempList.iterator());
1319 - String path = this.getClass().getResource("/").getPath() + "static\\pages\\forms\\";  
1320 - ee.excelReplace(listI, new Object[]{m}, path + "mould\\correctForm.xls",  
1321 - path + "export\\修正报表" + sdfSimple.format(sdfMonth.parse(startDate)) + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls"); 1319 + String path = this.getClass().getResource("/").getPath() + "static/pages/forms/";
  1320 + ee.excelReplace(listI, new Object[]{m}, path + "mould/correctForm.xls",
  1321 + path + "export/修正报表" + sdfSimple.format(sdfMonth.parse(startDate)) + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls");
1322 } catch (Exception e) { 1322 } catch (Exception e) {
1323 // TODO: handle exception 1323 // TODO: handle exception
1324 e.printStackTrace(); 1324 e.printStackTrace();
@@ -1749,9 +1749,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -1749,9 +1749,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
1749 ReportUtils ee = new ReportUtils(); 1749 ReportUtils ee = new ReportUtils();
1750 try { 1750 try {
1751 listI.add(lMap.iterator()); 1751 listI.add(lMap.iterator());
1752 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
1753 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\statisticsDaily_.xls",  
1754 - path+"export\\统计日报" + sdfSimple.format(sdfMonth.parse(date))+".xls"); 1752 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  1753 + ee.excelReplace(listI, new Object[] { m }, path+"mould/statisticsDaily_.xls",
  1754 + path+"export/统计日报" + sdfSimple.format(sdfMonth.parse(date))+".xls");
1755 } catch (Exception e) { 1755 } catch (Exception e) {
1756 // TODO: handle exception 1756 // TODO: handle exception
1757 e.printStackTrace(); 1757 e.printStackTrace();
src/main/java/com/bsth/service/schedule/PeopleCarPlanServiceImpl.java
@@ -259,9 +259,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { @@ -259,9 +259,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService {
259 ReportUtils ee = new ReportUtils(); 259 ReportUtils ee = new ReportUtils();
260 try { 260 try {
261 listI.add(resList.iterator()); 261 listI.add(resList.iterator());
262 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
263 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\peoCarPlan.xls",  
264 - path+"export\\计划车辆班次人员" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 262 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  263 + ee.excelReplace(listI, new Object[] { m }, path+"mould/peoCarPlan.xls",
  264 + path+"export/计划车辆班次人员" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
265 } catch (Exception e) { 265 } catch (Exception e) {
266 // TODO: handle exception 266 // TODO: handle exception
267 e.printStackTrace(); 267 e.printStackTrace();
@@ -463,9 +463,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { @@ -463,9 +463,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService {
463 ReportUtils ee = new ReportUtils(); 463 ReportUtils ee = new ReportUtils();
464 try { 464 try {
465 listI.add(resList.iterator()); 465 listI.add(resList.iterator());
466 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
467 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\workDaily.xls",  
468 - path+"export\\营运服务日报表"+ sdfSimple.format(sdfMonth.parse(date))+".xls"); 466 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  467 + ee.excelReplace(listI, new Object[] { m }, path+"mould/workDaily.xls",
  468 + path+"export/营运服务日报表"+ sdfSimple.format(sdfMonth.parse(date))+".xls");
469 } catch (Exception e) { 469 } catch (Exception e) {
470 // TODO: handle exception 470 // TODO: handle exception
471 e.printStackTrace(); 471 e.printStackTrace();
@@ -735,9 +735,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { @@ -735,9 +735,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService {
735 ReportUtils ee = new ReportUtils(); 735 ReportUtils ee = new ReportUtils();
736 try { 736 try {
737 listI.add(resList.iterator()); 737 listI.add(resList.iterator());
738 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
739 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\scheduleAnaly.xls",  
740 - path+"export\\时刻表分析" + sdfSimple.format(sdfMonth.parse(startDate)) + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls"); 738 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  739 + ee.excelReplace(listI, new Object[] { m }, path+"mould/scheduleAnaly.xls",
  740 + path+"export/时刻表分析" + sdfSimple.format(sdfMonth.parse(startDate)) + "-" + sdfSimple.format(sdfMonth.parse(endDate)) + ".xls");
741 } catch (Exception e) { 741 } catch (Exception e) {
742 // TODO: handle exception 742 // TODO: handle exception
743 e.printStackTrace(); 743 e.printStackTrace();
@@ -989,9 +989,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { @@ -989,9 +989,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService {
989 ReportUtils ee = new ReportUtils(); 989 ReportUtils ee = new ReportUtils();
990 try { 990 try {
991 listI.add(resList.iterator()); 991 listI.add(resList.iterator());
992 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
993 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\firstAndLastBus.xls",  
994 - path+"export\\线路首末班" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 992 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  993 + ee.excelReplace(listI, new Object[] { m }, path+"mould/firstAndLastBus.xls",
  994 + path+"export/线路首末班" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
995 } catch (Exception e) { 995 } catch (Exception e) {
996 // TODO: handle exception 996 // TODO: handle exception
997 e.printStackTrace(); 997 e.printStackTrace();
@@ -1146,9 +1146,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { @@ -1146,9 +1146,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService {
1146 ReportUtils ee = new ReportUtils(); 1146 ReportUtils ee = new ReportUtils();
1147 try { 1147 try {
1148 listI.add(resList.iterator()); 1148 listI.add(resList.iterator());
1149 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
1150 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\commandState.xls",  
1151 - path+"export\\指令状态分析" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 1149 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  1150 + ee.excelReplace(listI, new Object[] { m }, path+"mould/commandState.xls",
  1151 + path+"export/指令状态分析" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
1152 } catch (Exception e) { 1152 } catch (Exception e) {
1153 // TODO: handle exception 1153 // TODO: handle exception
1154 e.printStackTrace(); 1154 e.printStackTrace();
@@ -1172,9 +1172,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { @@ -1172,9 +1172,9 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService {
1172 + " 车辆:" + map1.get("clZbh") + " 人员:" + map1.get("jsy")); 1172 + " 车辆:" + map1.get("clZbh") + " 人员:" + map1.get("jsy"));
1173 } 1173 }
1174 } 1174 }
1175 - String path = this.getClass().getResource("/").getPath()+"static\\pages\\forms\\";  
1176 - ee.excelReplace(listI, new Object[] { m }, path+"mould\\commandState1.xls",  
1177 - path+"export\\指令状态明细" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); 1175 + String path = this.getClass().getResource("/").getPath()+"static/pages/forms/";
  1176 + ee.excelReplace(listI, new Object[] { m }, path+"mould/commandState1.xls",
  1177 + path+"export/指令状态明细" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
1178 } catch (Exception e) { 1178 } catch (Exception e) {
1179 // TODO: handle exception 1179 // TODO: handle exception
1180 e.printStackTrace(); 1180 e.printStackTrace();
src/main/java/com/bsth/util/ReportUtils.java
@@ -342,8 +342,8 @@ public class ReportUtils { @@ -342,8 +342,8 @@ public class ReportUtils {
342 dataList.add(sr); 342 dataList.add(sr);
343 list.add(dataList.iterator()); 343 list.add(dataList.iterator());
344 344
345 - ee.excelReplace(list, new Object[] { srr }, "D:\\waybill.xls",  
346 - "D:\\22.xls"); 345 + ee.excelReplace(list, new Object[] { srr }, "D:/waybill.xls",
  346 + "D:/22.xls");
347 System.out.println("ok"); 347 System.out.println("ok");
348 } catch (Exception e) { 348 } catch (Exception e) {
349 e.printStackTrace(); 349 e.printStackTrace();
src/main/resources/static/pages/forms/mould/operationservice.xls
No preview for this file type
src/main/resources/static/pages/forms/statement/scheduleDaily.html
@@ -281,12 +281,12 @@ @@ -281,12 +281,12 @@
281 var scheduleDaily_1 = template('scheduleDaily_1',{list:result}); 281 var scheduleDaily_1 = template('scheduleDaily_1',{list:result});
282 $('#forms .scheduleDaily_1').html(scheduleDaily_1); 282 $('#forms .scheduleDaily_1').html(scheduleDaily_1);
283 }); 283 });
284 - $.get('/realSchedule/queryUserInfo',{line:line,date:date,state:2},function(result){ 284 + $.get('/realSchedule/queryUserInfo',{line:line,date:date,state:2,type:"query"},function(result){
285 console.log(result); 285 console.log(result);
286 var scheduleDaily_2 = template('scheduleDaily_2',{list:result}); 286 var scheduleDaily_2 = template('scheduleDaily_2',{list:result});
287 $('#forms .scheduleDaily_2').html(scheduleDaily_2); 287 $('#forms .scheduleDaily_2').html(scheduleDaily_2);
288 }); 288 });
289 - $.get('/realSchedule/realScheduleList',{line:line,date:date},function(result){ 289 + $.get('/realSchedule/realScheduleList',{line:line,date:date,type:"query"},function(result){
290 var scheduleDaily_3 = template('scheduleDaily_3',{list:result}); 290 var scheduleDaily_3 = template('scheduleDaily_3',{list:result});
291 $('#forms .scheduleDaily_3').html(scheduleDaily_3); 291 $('#forms .scheduleDaily_3').html(scheduleDaily_3);
292 }); 292 });