CulateMileageService.java
2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package com.bsth.service.report;
import java.util.List;
import java.util.Map;
import com.bsth.entity.realcontrol.ScheduleRealInfo;
import com.google.common.util.concurrent.AbstractScheduledService.Scheduler;
public interface CulateMileageService {
List<Map<String,Object>> jobFwqk(List<ScheduleRealInfo> lists);
double culateLbgl(List<ScheduleRealInfo> lists);
double culateLbksgl(List<ScheduleRealInfo> lists);
int culateLbbc(List<ScheduleRealInfo> lists);
List<Map<String,Object>> jobLjqk(List<ScheduleRealInfo> lists);
double culateLjksgl(List<ScheduleRealInfo> lists);
double culateLjgl(List<ScheduleRealInfo> lists);
double culateLjgl_(List<ScheduleRealInfo> lists,String item);
double culateLjgl_spy(List<ScheduleRealInfo> lists);
int culateLjbc(List<ScheduleRealInfo> lists,String item);
double culateJhgl(List<ScheduleRealInfo> lists);
double culateJhgl_(List<ScheduleRealInfo> lists,String item);
int culateJhbc(List<ScheduleRealInfo> lists,String item);
double culateSjgl(List<ScheduleRealInfo> lists);
double culateSjgl_(List<ScheduleRealInfo> lists,String item);
double culateSjgl_spy(List<ScheduleRealInfo> lists);
int culateSjbc(List<ScheduleRealInfo> lists,String item);
double culateKsgl(List<ScheduleRealInfo> lists);
double culateJccgl(List<ScheduleRealInfo> lists);
double culateSjfyylc_spy(List<ScheduleRealInfo> lists);
double culateJhJccgl(List<ScheduleRealInfo> lists);
double culateCJLC(List<ScheduleRealInfo> lists,String item);
int culateFzbc(List<ScheduleRealInfo> lists,String item);
Map<String, Object> culateDjg(List<ScheduleRealInfo> lists,String line);
Map<String, Object> culateWdbcs(List<ScheduleRealInfo> lists);
int culateDtfzbc(List<ScheduleRealInfo> lists,String type,String status,String item);
//以下计算方法供新报表使用
Map<String, Double> culateSjlcMap(List<ScheduleRealInfo> lists);//计划内营运and计划外营运
Map<String, Double> culateSjJcclcMap(List<ScheduleRealInfo> lists);//计划内进出场and计划外进出场
Map<String, Double> culateLjMile(List<ScheduleRealInfo> lists);//临加营运and临加进出场空驶
double culateSsMile(List<ScheduleRealInfo> lists); //烂班少驶
double culateSsMileXx(List<ScheduleRealInfo> lists,String item);//烂班少驶详细
/**
* 统计子任务进出场公里
* @param lists 实际排班list
* @param item 进出场原因(统计全部原因则赋值为“all”)
* @return 统计值
*/
double culateZrwJccLc(List<ScheduleRealInfo> lists,String item);//子任务进出场
/**
* 统计子任务空放空驶公里
* @param lists 实际排班list
* @return 统计值
*/
public double culateZrwKfks(List<ScheduleRealInfo> lists);
double culateKfksLc(List<ScheduleRealInfo> lists);
}