Commit d9cd62fc2663d06dff2c3454d8aa3f42b64b2cf2

Authored by 潘钊
1 parent 22f66c51

update...

src/main/java/com/bsth/controller/realcontrol/ScheduleRealInfoController.java
@@ -24,10 +24,10 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, @@ -24,10 +24,10 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo,
24 24
25 /*@Autowired 25 /*@Autowired
26 GetSchedulePlanThread getSchedulePlanThread;*/ 26 GetSchedulePlanThread getSchedulePlanThread;*/
27 - 27 +
28 @Autowired 28 @Autowired
29 ScheduleRealInfoService scheduleRealInfoService; 29 ScheduleRealInfoService scheduleRealInfoService;
30 - 30 +
31 @Autowired 31 @Autowired
32 DayOfSchedule dayOfSchedule; 32 DayOfSchedule dayOfSchedule;
33 33
@@ -42,29 +42,29 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, @@ -42,29 +42,29 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo,
42 } 42 }
43 43
44 /** 44 /**
45 - * 45 + *
46 * @Title: outgoAdjust @Description: TODO(待发调整) @param @param id 46 * @Title: outgoAdjust @Description: TODO(待发调整) @param @param id
47 * 主键 @param @param remarks 备注 @param @param dfsj 待发时间(HH:mm) @throws 47 * 主键 @param @param remarks 备注 @param @param dfsj 待发时间(HH:mm) @throws
48 */ 48 */
49 @RequestMapping(value = "/outgoAdjust", method = RequestMethod.POST) 49 @RequestMapping(value = "/outgoAdjust", method = RequestMethod.POST)
50 public Map<String, Object> outgoAdjust(@RequestParam Long id, @RequestParam String remarks, 50 public Map<String, Object> outgoAdjust(@RequestParam Long id, @RequestParam String remarks,
51 - @RequestParam String dfsj,String bcType) { 51 + @RequestParam String dfsj,String bcType) {
52 return scheduleRealInfoService.outgoAdjust(id, remarks, dfsj, bcType); 52 return scheduleRealInfoService.outgoAdjust(id, remarks, dfsj, bcType);
53 } 53 }
54 54
55 /** 55 /**
56 - * 56 + *
57 * @Title: destroy @Description: TODO(销毁,烂班) @param @param idsStr 要烂掉的班次ID ,分隔 57 * @Title: destroy @Description: TODO(销毁,烂班) @param @param idsStr 要烂掉的班次ID ,分隔
58 */ 58 */
59 @RequestMapping(value = "/destroy", method = RequestMethod.POST) 59 @RequestMapping(value = "/destroy", method = RequestMethod.POST)
60 public Map<String, Object> destroy(@RequestParam String idsStr 60 public Map<String, Object> destroy(@RequestParam String idsStr
61 /*, @RequestParam(defaultValue = "-1") int spaceAdjust*/, 61 /*, @RequestParam(defaultValue = "-1") int spaceAdjust*/,
62 - @RequestParam String remarks, @RequestParam String adjustExps/*, @RequestParam(defaultValue = "0") int spaceNum*/) { 62 + @RequestParam String remarks, @RequestParam String adjustExps/*, @RequestParam(defaultValue = "0") int spaceNum*/) {
63 return scheduleRealInfoService.destroy(idsStr/*, spaceAdjust*/, remarks, adjustExps/*, spaceNum*/); 63 return scheduleRealInfoService.destroy(idsStr/*, spaceAdjust*/, remarks, adjustExps/*, spaceNum*/);
64 } 64 }
65 65
66 /** 66 /**
67 - * 67 + *
68 * @Title: carDeviceMapp @Description: TODO(获取车辆自编号和设备号对照,从缓存取) @throws 68 * @Title: carDeviceMapp @Description: TODO(获取车辆自编号和设备号对照,从缓存取) @throws
69 */ 69 */
70 @RequestMapping(value = "/carDeviceMapp", method = RequestMethod.GET) 70 @RequestMapping(value = "/carDeviceMapp", method = RequestMethod.GET)
@@ -73,7 +73,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -73,7 +73,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
73 } 73 }
74 74
75 /** 75 /**
76 - * 76 + *
77 * @Title: findPersionByLine @Description: TODO(根据线路主键获取驾驶员) @param @param 77 * @Title: findPersionByLine @Description: TODO(根据线路主键获取驾驶员) @param @param
78 * lineId @throws 78 * lineId @throws
79 */ 79 */
@@ -83,7 +83,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -83,7 +83,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
83 } 83 }
84 84
85 /** 85 /**
86 - * 86 + *
87 * @Title: findPersionByLine @Description: TODO(根据线路主键获取售票员) @param @param 87 * @Title: findPersionByLine @Description: TODO(根据线路主键获取售票员) @param @param
88 * lineId @throws 88 * lineId @throws
89 */ 89 */
@@ -93,7 +93,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -93,7 +93,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
93 } 93 }
94 94
95 /** 95 /**
96 - * 96 + *
97 * @Title: findPersionByLine @Description: TODO(根据线路主键获取车辆) @param @param 97 * @Title: findPersionByLine @Description: TODO(根据线路主键获取车辆) @param @param
98 * lineId @throws 98 * lineId @throws
99 */ 99 */
@@ -103,7 +103,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -103,7 +103,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
103 } 103 }
104 104
105 /** 105 /**
106 - * 106 + *
107 * @Title: sreachNbbm @Description: TODO(搜索车辆内部编码) @throws 107 * @Title: sreachNbbm @Description: TODO(搜索车辆内部编码) @throws
108 */ 108 */
109 @RequestMapping(value = "/sreachVehic", method = RequestMethod.GET) 109 @RequestMapping(value = "/sreachVehic", method = RequestMethod.GET)
@@ -111,9 +111,9 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -111,9 +111,9 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
111 return scheduleRealInfoService.sreachVehic(nbbm); 111 return scheduleRealInfoService.sreachVehic(nbbm);
112 } 112 }
113 /** 113 /**
114 - *  
115 - * @Title: realOutAdjust  
116 - * @Description: TODO(实发调整) 114 + *
  115 + * @Title: realOutAdjust
  116 + * @Description: TODO(实发调整)
117 * @param @param id 班次ID 117 * @param @param id 班次ID
118 * @param @param fcsjActual 实际发车时间 HH:mm 118 * @param @param fcsjActual 实际发车时间 HH:mm
119 * @param @param remarks 备注 119 * @param @param remarks 备注
@@ -121,14 +121,14 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -121,14 +121,14 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
121 */ 121 */
122 @RequestMapping(value = "/realOutAdjust", method = RequestMethod.POST) 122 @RequestMapping(value = "/realOutAdjust", method = RequestMethod.POST)
123 public Map<String, Object> realOutAdjust(@RequestParam Long id, @RequestParam String fcsjActual, 123 public Map<String, Object> realOutAdjust(@RequestParam Long id, @RequestParam String fcsjActual,
124 - @RequestParam String remarks) { 124 + @RequestParam String remarks) {
125 return scheduleRealInfoService.realOutAdjust(id, fcsjActual, remarks); 125 return scheduleRealInfoService.realOutAdjust(id, fcsjActual, remarks);
126 } 126 }
127 - 127 +
128 /** 128 /**
129 - *  
130 - * @Title: revokeDestroy  
131 - * @Description: TODO(撤销烂班) 129 + *
  130 + * @Title: revokeDestroy
  131 + * @Description: TODO(撤销烂班)
132 * @param @param id 132 * @param @param id
133 * @throws 133 * @throws
134 */ 134 */
@@ -136,11 +136,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -136,11 +136,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
136 public Map<String, Object> revokeDestroy(@RequestParam Long id){ 136 public Map<String, Object> revokeDestroy(@RequestParam Long id){
137 return scheduleRealInfoService.revokeDestroy(id); 137 return scheduleRealInfoService.revokeDestroy(id);
138 } 138 }
139 - 139 +
140 /** 140 /**
141 - *  
142 - * @Title: revokeRealOutgo  
143 - * @Description: TODO(撤销实发) 141 + *
  142 + * @Title: revokeRealOutgo
  143 + * @Description: TODO(撤销实发)
144 * @param @param id 144 * @param @param id
145 * @throws 145 * @throws
146 */ 146 */
@@ -160,9 +160,9 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -160,9 +160,9 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
160 } 160 }
161 161
162 /** 162 /**
163 - *  
164 - * @Title: spaceAdjust  
165 - * @Description: TODO(间隔调整) 163 + *
  164 + * @Title: spaceAdjust
  165 + * @Description: TODO(间隔调整)
166 * @param @param ids 要调整的班次数组ID 166 * @param @param ids 要调整的班次数组ID
167 * @param @param space 间隔 167 * @param @param space 间隔
168 * @throws 168 * @throws
@@ -171,11 +171,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -171,11 +171,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
171 public Map<String, Object> spaceAdjust(Long[] ids, Integer space){ 171 public Map<String, Object> spaceAdjust(Long[] ids, Integer space){
172 return scheduleRealInfoService.spaceAdjust(ids, space); 172 return scheduleRealInfoService.spaceAdjust(ids, space);
173 } 173 }
174 - 174 +
175 /** 175 /**
176 - *  
177 - * @Title: schInfoFineTune  
178 - * @Description: TODO(发车信息微调) 176 + *
  177 + * @Title: schInfoFineTune
  178 + * @Description: TODO(发车信息微调)
179 * @param @param map 179 * @param @param map
180 * @throws 180 * @throws
181 */ 181 */
@@ -183,11 +183,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -183,11 +183,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
183 public Map<String, Object> schInfoFineTune(@RequestParam Map<String, String> map){ 183 public Map<String, Object> schInfoFineTune(@RequestParam Map<String, String> map){
184 return scheduleRealInfoService.schInfoFineTune(map); 184 return scheduleRealInfoService.schInfoFineTune(map);
185 } 185 }
186 - 186 +
187 /** 187 /**
188 - *  
189 - * @Title: outgoAdjustAll  
190 - * @Description: TODO(批量待发调整) 188 + *
  189 + * @Title: outgoAdjustAll
  190 + * @Description: TODO(批量待发调整)
191 * @param @param list 191 * @param @param list
192 * @throws 192 * @throws
193 */ 193 */
@@ -197,11 +197,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -197,11 +197,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
197 params = StringEscapeUtils.unescapeHtml4(params); 197 params = StringEscapeUtils.unescapeHtml4(params);
198 return scheduleRealInfoService.outgoAdjustAll(params); 198 return scheduleRealInfoService.outgoAdjustAll(params);
199 } 199 }
200 - 200 +
201 /** 201 /**
202 - *  
203 - * @Title: findByLineAndUpDown  
204 - * @Description: TODO(根据线路和走向获取班次) 202 + *
  203 + * @Title: findByLineAndUpDown
  204 + * @Description: TODO(根据线路和走向获取班次)
205 * @param @param line 205 * @param @param line
206 * @param @param upDown 206 * @param @param upDown
207 */ 207 */
@@ -209,11 +209,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -209,11 +209,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
209 public List<ScheduleRealInfo> findByLineAndUpDown(@RequestParam String line,@RequestParam Integer upDown){ 209 public List<ScheduleRealInfo> findByLineAndUpDown(@RequestParam String line,@RequestParam Integer upDown){
210 return dayOfSchedule.findByLineAndUpDown(line, upDown); 210 return dayOfSchedule.findByLineAndUpDown(line, upDown);
211 } 211 }
212 - 212 +
213 /** 213 /**
214 - *  
215 - * @Title: findRouteByLine  
216 - * @Description: TODO(获取线路的站点,路段路由) 214 + *
  215 + * @Title: findRouteByLine
  216 + * @Description: TODO(获取线路的站点,路段路由)
217 * @param @param lineCode 217 * @param @param lineCode
218 * @throws 218 * @throws
219 */ 219 */
@@ -221,11 +221,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -221,11 +221,11 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
221 public Map<String, Object> findRouteByLine(@RequestParam String lineCode){ 221 public Map<String, Object> findRouteByLine(@RequestParam String lineCode){
222 return scheduleRealInfoService.findRouteByLine(lineCode); 222 return scheduleRealInfoService.findRouteByLine(lineCode);
223 } 223 }
224 - 224 +
225 /** 225 /**
226 - *  
227 - * @Title: removeChildTask  
228 - * @Description: TODO(删除子任务) 226 + *
  227 + * @Title: removeChildTask
  228 + * @Description: TODO(删除子任务)
229 * @param @param taskId 子任务ID 229 * @param @param taskId 子任务ID
230 * @throws 230 * @throws
231 */ 231 */
@@ -235,9 +235,9 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -235,9 +235,9 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
235 } 235 }
236 236
237 /** 237 /**
238 - *  
239 - * @Title: findByLineCode  
240 - * @Description: TODO(根据线路获取班次信息) 238 + *
  239 + * @Title: findByLineCode
  240 + * @Description: TODO(根据线路获取班次信息)
241 * @param @param lineCode 241 * @param @param lineCode
242 */ 242 */
243 @RequestMapping(value = "/lineCode/{lineCode}") 243 @RequestMapping(value = "/lineCode/{lineCode}")
@@ -247,29 +247,29 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -247,29 +247,29 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
247 247
248 @RequestMapping(value = "/queryUserInfo") 248 @RequestMapping(value = "/queryUserInfo")
249 public List<ScheduleRealInfo> queryUserInfo(@RequestParam String line, 249 public List<ScheduleRealInfo> queryUserInfo(@RequestParam String line,
250 - @RequestParam String date,@RequestParam String state) { 250 + @RequestParam String date,@RequestParam String state) {
251 return scheduleRealInfoService.queryUserInfo(line, date,state); 251 return scheduleRealInfoService.queryUserInfo(line, date,state);
252 } 252 }
253 - 253 +
254 @RequestMapping(value = "/queryUserInfoPx") 254 @RequestMapping(value = "/queryUserInfoPx")
255 public List<ScheduleRealInfo> queryUserInfoPx(@RequestParam String line, 255 public List<ScheduleRealInfo> queryUserInfoPx(@RequestParam String line,
256 - @RequestParam String date,@RequestParam String state,@RequestParam String type) { 256 + @RequestParam String date,@RequestParam String state,@RequestParam String type) {
257 return scheduleRealInfoService.queryUserInfoPx(line, date,state,type); 257 return scheduleRealInfoService.queryUserInfoPx(line, date,state,type);
258 } 258 }
259 259
260 @RequestMapping(value = "/exportWaybill",method = RequestMethod.GET) 260 @RequestMapping(value = "/exportWaybill",method = RequestMethod.GET)
261 public List<ScheduleRealInfo> exportWaybill(@RequestParam String jName, @RequestParam String clZbh, 261 public List<ScheduleRealInfo> exportWaybill(@RequestParam String jName, @RequestParam String clZbh,
262 - @RequestParam String lpName,@RequestParam String date,@RequestParam String line) { 262 + @RequestParam String lpName,@RequestParam String date,@RequestParam String line) {
263 return scheduleRealInfoService.exportWaybill(jName, clZbh, lpName,date,line); 263 return scheduleRealInfoService.exportWaybill(jName, clZbh, lpName,date,line);
264 } 264 }
265 - 265 +
266 @RequestMapping(value = "/exportWaybillQp",method = RequestMethod.GET) 266 @RequestMapping(value = "/exportWaybillQp",method = RequestMethod.GET)
267 public List<ScheduleRealInfo> exportWaybillQp(@RequestParam String clZbh 267 public List<ScheduleRealInfo> exportWaybillQp(@RequestParam String clZbh
268 ,@RequestParam String date,@RequestParam String line) { 268 ,@RequestParam String date,@RequestParam String line) {
269 return scheduleRealInfoService.exportWaybillQp( clZbh, date,line); 269 return scheduleRealInfoService.exportWaybillQp( clZbh, date,line);
270 } 270 }
271 271
272 - 272 +
273 @RequestMapping(value = "/dailyInfo") 273 @RequestMapping(value = "/dailyInfo")
274 public List<Map<String, Object>> dailyInfo(@RequestParam String line, @RequestParam String date,@RequestParam String type) { 274 public List<Map<String, Object>> dailyInfo(@RequestParam String line, @RequestParam String date,@RequestParam String type) {
275 return scheduleRealInfoService.dailyInfo(line, date, type); 275 return scheduleRealInfoService.dailyInfo(line, date, type);
@@ -277,41 +277,41 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -277,41 +277,41 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
277 277
278 @RequestMapping(value = "/historyMessage") 278 @RequestMapping(value = "/historyMessage")
279 public List<Object[]> historyMessage(@RequestParam String line, @RequestParam String date, 279 public List<Object[]> historyMessage(@RequestParam String line, @RequestParam String date,
280 - @RequestParam String code, @RequestParam String type) { 280 + @RequestParam String code, @RequestParam String type) {
281 return scheduleRealInfoService.historyMessage(line, date, code, type); 281 return scheduleRealInfoService.historyMessage(line, date, code, type);
282 } 282 }
283 - 283 +
284 @RequestMapping(value="/findLine") 284 @RequestMapping(value="/findLine")
285 public List<Map<String,String>> findLine(@RequestParam String line){ 285 public List<Map<String,String>> findLine(@RequestParam String line){
286 return scheduleRealInfoService.findLine(line); 286 return scheduleRealInfoService.findLine(line);
287 } 287 }
288 - 288 +
289 @RequestMapping(value="/findKMBC",method = RequestMethod.GET) 289 @RequestMapping(value="/findKMBC",method = RequestMethod.GET)
290 public Map<String,Object> findKMBC(@RequestParam String jGh,@RequestParam String clZbh,@RequestParam String lpName 290 public Map<String,Object> findKMBC(@RequestParam String jGh,@RequestParam String clZbh,@RequestParam String lpName
291 ,@RequestParam String date,@RequestParam String line){ 291 ,@RequestParam String date,@RequestParam String line){
292 return scheduleRealInfoService.findKMBC(jGh, clZbh,lpName,date,line); 292 return scheduleRealInfoService.findKMBC(jGh, clZbh,lpName,date,line);
293 } 293 }
294 - 294 +
295 @RequestMapping(value="/findKMBCQp",method = RequestMethod.GET) 295 @RequestMapping(value="/findKMBCQp",method = RequestMethod.GET)
296 public Map<String,Object> findKMBCQp(@RequestParam String clZbh 296 public Map<String,Object> findKMBCQp(@RequestParam String clZbh
297 ,@RequestParam String date,@RequestParam String line){ 297 ,@RequestParam String date,@RequestParam String line){
298 return scheduleRealInfoService.findKMBCQp(clZbh,date,line); 298 return scheduleRealInfoService.findKMBCQp(clZbh,date,line);
299 } 299 }
300 - 300 +
301 @RequestMapping(value="/findLpName") 301 @RequestMapping(value="/findLpName")
302 public List<Map<String,String>> findLpName(@RequestParam String lpName){ 302 public List<Map<String,String>> findLpName(@RequestParam String lpName){
303 return scheduleRealInfoService.findLpName(lpName); 303 return scheduleRealInfoService.findLpName(lpName);
304 } 304 }
305 - 305 +
306 @RequestMapping(value = "/account") 306 @RequestMapping(value = "/account")
307 public List<Map<String,Object>> account(@RequestParam String line, @RequestParam String date, 307 public List<Map<String,Object>> account(@RequestParam String line, @RequestParam String date,
308 - @RequestParam String code,@RequestParam String xlName, @RequestParam String type) { 308 + @RequestParam String code,@RequestParam String xlName, @RequestParam String type) {
309 return scheduleRealInfoService.account(line, date, code, xlName, type); 309 return scheduleRealInfoService.account(line, date, code, xlName, type);
310 } 310 }
311 - 311 +
312 @RequestMapping(value = "/correctForm") 312 @RequestMapping(value = "/correctForm")
313 public List<ScheduleRealInfo> correctForm(@RequestParam String line, @RequestParam String startDate, 313 public List<ScheduleRealInfo> correctForm(@RequestParam String line, @RequestParam String startDate,
314 - @RequestParam String endDate, @RequestParam String lpName, @RequestParam String code, @RequestParam String type) { 314 + @RequestParam String endDate, @RequestParam String lpName, @RequestParam String code, @RequestParam String type) {
315 return scheduleRealInfoService.correctForm(line, startDate, endDate, lpName, code, type); 315 return scheduleRealInfoService.correctForm(line, startDate, endDate, lpName, code, type);
316 } 316 }
317 /** 317 /**
@@ -327,19 +327,19 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -327,19 +327,19 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
327 ,@RequestParam String date,@RequestParam String line){ 327 ,@RequestParam String date,@RequestParam String line){
328 return scheduleRealInfoService.queryListWaybill(jName, clZbh,lpName,date,line); 328 return scheduleRealInfoService.queryListWaybill(jName, clZbh,lpName,date,line);
329 } 329 }
330 - 330 +
331 @RequestMapping(value="/queryListWaybillQp",method = RequestMethod.GET) 331 @RequestMapping(value="/queryListWaybillQp",method = RequestMethod.GET)
332 public List<ScheduleRealInfo> queryListWaybillQp(@RequestParam String clZbh, 332 public List<ScheduleRealInfo> queryListWaybillQp(@RequestParam String clZbh,
333 - @RequestParam String date,@RequestParam String line){ 333 + @RequestParam String date,@RequestParam String line){
334 return scheduleRealInfoService.queryListWaybillQp(clZbh,date,line); 334 return scheduleRealInfoService.queryListWaybillQp(clZbh,date,line);
335 } 335 }
336 - 336 +
337 @RequestMapping(value="/statisticsDaily") 337 @RequestMapping(value="/statisticsDaily")
338 public List<Map<String,Object>> statisticsDaily(@RequestParam String line, @RequestParam String date, 338 public List<Map<String,Object>> statisticsDaily(@RequestParam String line, @RequestParam String date,
339 - @RequestParam String xlName, @RequestParam String type){ 339 + @RequestParam String xlName, @RequestParam String type){
340 return scheduleRealInfoService.statisticsDaily(line, date, xlName, type); 340 return scheduleRealInfoService.statisticsDaily(line, date, xlName, type);
341 } 341 }
342 - 342 +
343 @RequestMapping(value="/statisticsDailyTj") 343 @RequestMapping(value="/statisticsDailyTj")
344 public List<Map<String,Object>> statisticsDailyTj(@RequestParam Map<String, Object> map){ 344 public List<Map<String,Object>> statisticsDailyTj(@RequestParam Map<String, Object> map){
345 String gsdm=""; 345 String gsdm="";
@@ -372,41 +372,41 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -372,41 +372,41 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
372 } 372 }
373 return scheduleRealInfoService.statisticsDailyTj(gsdm,fgsdm,line, date,date2, xlName, type); 373 return scheduleRealInfoService.statisticsDailyTj(gsdm,fgsdm,line, date,date2, xlName, type);
374 } 374 }
375 - 375 +
376 @RequestMapping(value="/MapById",method = RequestMethod.GET) 376 @RequestMapping(value="/MapById",method = RequestMethod.GET)
377 public Map<String, Object> MapById(@RequestParam("id") Long id){ 377 public Map<String, Object> MapById(@RequestParam("id") Long id){
378 return scheduleRealInfoService.MapById(id); 378 return scheduleRealInfoService.MapById(id);
379 } 379 }
380 - 380 +
381 /** 381 /**
382 - * @Title: scheduleDaily  
383 - * @Description: TODO(调度日报表) 382 + * @Title: scheduleDaily
  383 + * @Description: TODO(调度日报表)
384 * @param line 线路 384 * @param line 线路
385 * @param date 时间 385 * @param date 时间
386 - * @return 386 + * @return
387 */ 387 */
388 @RequestMapping(value="/scheduleDaily") 388 @RequestMapping(value="/scheduleDaily")
389 public Map<String,Object> scheduleDaily(@RequestParam String line,@RequestParam String date){ 389 public Map<String,Object> scheduleDaily(@RequestParam String line,@RequestParam String date){
390 return scheduleRealInfoService.scheduleDaily(line,date); 390 return scheduleRealInfoService.scheduleDaily(line,date);
391 } 391 }
392 - 392 +
393 @RequestMapping(value="/realScheduleList") 393 @RequestMapping(value="/realScheduleList")
394 public List<ScheduleRealInfo> realScheduleList(@RequestParam String line,@RequestParam String date){ 394 public List<ScheduleRealInfo> realScheduleList(@RequestParam String line,@RequestParam String date){
395 return scheduleRealInfoService.realScheduleList(line,date); 395 return scheduleRealInfoService.realScheduleList(line,date);
396 } 396 }
397 - 397 +
398 @RequestMapping(value="/realScheduleListQp") 398 @RequestMapping(value="/realScheduleListQp")
399 public List<ScheduleRealInfo> realScheduleListQp(@RequestParam String line,@RequestParam String date){ 399 public List<ScheduleRealInfo> realScheduleListQp(@RequestParam String line,@RequestParam String date){
400 return scheduleRealInfoService.realScheduleListQp(line,date); 400 return scheduleRealInfoService.realScheduleListQp(line,date);
401 } 401 }
402 - 402 +
403 @RequestMapping(value="/multi_tzrc", method=RequestMethod.POST) 403 @RequestMapping(value="/multi_tzrc", method=RequestMethod.POST)
404 public Map<String, Object> multi_tzrc(@RequestParam String cpcsJson){ 404 public Map<String, Object> multi_tzrc(@RequestParam String cpcsJson){
405 cpcsJson = StringEscapeUtils.unescapeHtml4(cpcsJson); 405 cpcsJson = StringEscapeUtils.unescapeHtml4(cpcsJson);
406 List<ChangePersonCar> cpcs = JSONArray.parseArray(cpcsJson, ChangePersonCar.class); 406 List<ChangePersonCar> cpcs = JSONArray.parseArray(cpcsJson, ChangePersonCar.class);
407 return scheduleRealInfoService.multi_tzrc(cpcs); 407 return scheduleRealInfoService.multi_tzrc(cpcs);
408 } 408 }
409 - 409 +
410 @RequestMapping(value="/multi_dftz", method=RequestMethod.POST) 410 @RequestMapping(value="/multi_dftz", method=RequestMethod.POST)
411 public Map<String, Object> multi_dftz(@RequestParam String dcsJson){ 411 public Map<String, Object> multi_dftz(@RequestParam String dcsJson){
412 dcsJson = StringEscapeUtils.unescapeHtml4(dcsJson); 412 dcsJson = StringEscapeUtils.unescapeHtml4(dcsJson);
@@ -436,7 +436,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -436,7 +436,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
436 List<String> rs = new ArrayList<>(); 436 List<String> rs = new ArrayList<>();
437 437
438 long t = new Date().getTime() - ONE_DAY - (1000 * 60 * 60 * 2); 438 long t = new Date().getTime() - ONE_DAY - (1000 * 60 * 60 * 2);
439 - for(int i = 0; i < 5; i ++){ 439 + for(int i = 0; i < 10; i ++){
440 rs.add(fmtyyyyMMdd.print(t)); 440 rs.add(fmtyyyyMMdd.print(t));
441 t -= ONE_DAY; 441 t -= ONE_DAY;
442 } 442 }
@@ -467,7 +467,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo, @@ -467,7 +467,7 @@ public class ScheduleRealInfoController extends BaseController&lt;ScheduleRealInfo,
467 public List<Map<String, Object>> scheduleDailyExport(@RequestParam Map<String, Object> map){ 467 public List<Map<String, Object>> scheduleDailyExport(@RequestParam Map<String, Object> map){
468 return scheduleRealInfoService.scheduleDailyExport(map); 468 return scheduleRealInfoService.scheduleDailyExport(map);
469 } 469 }
470 - 470 +
471 @RequestMapping(value = "exportWaybillMore", method = RequestMethod.GET) 471 @RequestMapping(value = "exportWaybillMore", method = RequestMethod.GET)
472 public Map<String, Object> exportWaybillMore(@RequestParam Map<String, Object> map){ 472 public Map<String, Object> exportWaybillMore(@RequestParam Map<String, Object> map){
473 return scheduleRealInfoService.exportWaybillMore(map); 473 return scheduleRealInfoService.exportWaybillMore(map);
src/main/java/com/bsth/data/pilot80/PilotReport.java
@@ -74,7 +74,7 @@ public class PilotReport { @@ -74,7 +74,7 @@ public class PilotReport {
74 switch (d80.getData().getRequestCode()) { 74 switch (d80.getData().getRequestCode()) {
75 case 0xA3: 75 case 0xA3:
76 //出场请求 76 //出场请求
77 - ScheduleRealInfo outSch = dayOfSchedule.nextByBcType(nbbm, "out"); 77 + ScheduleRealInfo outSch = dayOfSchedule.searchNearByBcType(nbbm, "out");
78 //如果有对应出场班次 78 //如果有对应出场班次
79 if(outSch != null){ 79 if(outSch != null){
80 //没有计划里程的出场班次,出场既是首发站,发送下一班次的营运指令 80 //没有计划里程的出场班次,出场既是首发站,发送下一班次的营运指令