|
@@ -18,19 +18,19 @@ import lombok.Data;
|
|
|
public class StatisticsBean {
|
|
public class StatisticsBean {
|
|
|
//编号
|
|
//编号
|
|
|
private Integer id;
|
|
private Integer id;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 父部门id
|
|
// 父部门id
|
|
|
private Long parent_dept_id ;
|
|
private Long parent_dept_id ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 部门id
|
|
// 部门id
|
|
|
private Long dept_id;
|
|
private Long dept_id;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
//开始日期
|
|
//开始日期
|
|
|
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
- @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
|
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
+ @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
private Date start_date ;
|
|
private Date start_date ;
|
|
|
-
|
|
|
|
|
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
|
|
+
|
|
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
private Date end_date ;
|
|
private Date end_date ;
|
|
|
|
|
|
|
@@ -43,95 +43,98 @@ public class StatisticsBean {
|
|
|
private Long task_id;
|
|
private Long task_id;
|
|
|
|
|
|
|
|
private Long user_id ;
|
|
private Long user_id ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private String name ;
|
|
private String name ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private String parent_name ;
|
|
private String parent_name ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private int score;
|
|
private int score;
|
|
|
|
|
|
|
|
|
|
+ private int deptwscore;
|
|
|
|
|
+
|
|
|
private Integer item_id ;
|
|
private Integer item_id ;
|
|
|
|
|
|
|
|
private int checked_num;
|
|
private int checked_num;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private int checked_people_num ;
|
|
private int checked_people_num ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private int people_num;
|
|
private int people_num;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private int score_fifteen;
|
|
private int score_fifteen;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private int score_fifty;
|
|
private int score_fifty;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private int score_over_fifty ;
|
|
private int score_over_fifty ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private int all_check_score ;
|
|
private int all_check_score ;
|
|
|
-
|
|
|
|
|
|
|
+ private int all_check_deptw_score ;
|
|
|
|
|
+
|
|
|
// 满分
|
|
// 满分
|
|
|
private int check_no_score ;
|
|
private int check_no_score ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 平均得分
|
|
// 平均得分
|
|
|
private String score_avg ;
|
|
private String score_avg ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 平均人均扣分
|
|
// 平均人均扣分
|
|
|
private float check_score_avg;
|
|
private float check_score_avg;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private List<String> checked_socre_name = new ArrayList<>() ;
|
|
private List<String> checked_socre_name = new ArrayList<>() ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private List<Integer> checked_score = new ArrayList<>() ;
|
|
private List<Integer> checked_score = new ArrayList<>() ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private List<Integer> seq_checked_score = new ArrayList<>() ;
|
|
private List<Integer> seq_checked_score = new ArrayList<>() ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private List<Organ> dept_list ;
|
|
private List<Organ> dept_list ;
|
|
|
private List<Integer> checked_score_ids = new ArrayList<>() ;
|
|
private List<Integer> checked_score_ids = new ArrayList<>() ;
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
private String start_score;
|
|
private String start_score;
|
|
|
private String end_score;
|
|
private String end_score;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 查询标记
|
|
// 查询标记
|
|
|
private Integer queryType ;
|
|
private Integer queryType ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 月份
|
|
// 月份
|
|
|
private String mth ;
|
|
private String mth ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 上月
|
|
// 上月
|
|
|
private String prev_mth ;
|
|
private String prev_mth ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 收费站名称
|
|
// 收费站名称
|
|
|
private String feeStationName ;
|
|
private String feeStationName ;
|
|
|
private String pfeeStationName ;
|
|
private String pfeeStationName ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private User user;
|
|
private User user;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
//
|
|
//
|
|
|
private Integer order_type ;
|
|
private Integer order_type ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 排名
|
|
// 排名
|
|
|
private Integer ranking ;
|
|
private Integer ranking ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 排名变化
|
|
// 排名变化
|
|
|
private Integer ranking_change;
|
|
private Integer ranking_change;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 照片
|
|
// 照片
|
|
|
private String pics ;
|
|
private String pics ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 稽查人员id
|
|
// 稽查人员id
|
|
|
private Integer checkman_id ;
|
|
private Integer checkman_id ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private String checkman_name ;
|
|
private String checkman_name ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 被考核人的姓名
|
|
// 被考核人的姓名
|
|
|
private String checked_name ;
|
|
private String checked_name ;
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
private String check_task_name ;
|
|
private String check_task_name ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private String check_task_time_name ;
|
|
private String check_task_time_name ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private List<Integer> position_ids;
|
|
private List<Integer> position_ids;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer score_flag ;
|
|
private Integer score_flag ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 其他稽查不同类型
|
|
// 其他稽查不同类型
|
|
|
private Integer check_type;
|
|
private Integer check_type;
|
|
|
// 扣分合计
|
|
// 扣分合计
|
|
@@ -155,11 +158,11 @@ public class StatisticsBean {
|
|
|
// 数据平台受检次数
|
|
// 数据平台受检次数
|
|
|
private Integer data_check_num = 0;
|
|
private Integer data_check_num = 0;
|
|
|
// 数据平台扣分合计
|
|
// 数据平台扣分合计
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 其他
|
|
// 其他
|
|
|
private Integer other_check_num =0;
|
|
private Integer other_check_num =0;
|
|
|
private Integer other_total_score = 0 ;
|
|
private Integer other_total_score = 0 ;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer data_total_score = 0;
|
|
private Integer data_total_score = 0;
|
|
|
// 总平均扣分
|
|
// 总平均扣分
|
|
|
private String check_total_avg = "0";
|
|
private String check_total_avg = "0";
|
|
@@ -167,23 +170,23 @@ public class StatisticsBean {
|
|
|
private Integer company_ranking2;
|
|
private Integer company_ranking2;
|
|
|
// 道管排名
|
|
// 道管排名
|
|
|
private Integer fee_station_ranking2;
|
|
private Integer fee_station_ranking2;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_t_num = 0;
|
|
private Integer check_t_num = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_t_score = 0;
|
|
private Integer check_t_score = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_x_num = 0;
|
|
private Integer check_x_num = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_x_score = 0;
|
|
private Integer check_x_score = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_s_num = 0;
|
|
private Integer check_s_num = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_s_score = 0;
|
|
private Integer check_s_score = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_all_num = 0;
|
|
private Integer check_all_num = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
private Integer check_all_score = 0;
|
|
private Integer check_all_score = 0;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 比较大小 1 小 , -1 大
|
|
// 比较大小 1 小 , -1 大
|
|
|
public int compareTo(StatisticsBean o2){
|
|
public int compareTo(StatisticsBean o2){
|
|
|
if(this.getChecked_num()!=0 && o2.getChecked_num()!=0){
|
|
if(this.getChecked_num()!=0 && o2.getChecked_num()!=0){
|
|
@@ -195,7 +198,7 @@ public class StatisticsBean {
|
|
|
return -1;
|
|
return -1;
|
|
|
} else {
|
|
} else {
|
|
|
return 0;
|
|
return 0;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
}else{
|
|
}else{
|
|
|
if(this.getChecked_num() == 0 && o2.getChecked_num()!=0 ){
|
|
if(this.getChecked_num() == 0 && o2.getChecked_num()!=0 ){
|
|
|
return -1 ;
|
|
return -1 ;
|
|
@@ -206,7 +209,7 @@ public class StatisticsBean {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 比较大小 1 小 , -1 大
|
|
// 比较大小 1 小 , -1 大
|
|
|
// 方法2
|
|
// 方法2
|
|
|
public int compare2To(StatisticsBean o2){
|
|
public int compare2To(StatisticsBean o2){
|
|
@@ -223,9 +226,9 @@ public class StatisticsBean {
|
|
|
return -1;
|
|
return -1;
|
|
|
} else {
|
|
} else {
|
|
|
return 0;
|
|
return 0;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
//比较大小 1 小 , -1 大
|
|
//比较大小 1 小 , -1 大
|
|
|
// 方法3
|
|
// 方法3
|
|
|
public int compare3To(StatisticsBean o2){
|
|
public int compare3To(StatisticsBean o2){
|
|
@@ -242,10 +245,10 @@ public class StatisticsBean {
|
|
|
return -1;
|
|
return -1;
|
|
|
} else {
|
|
} else {
|
|
|
return 0;
|
|
return 0;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- //比较大小 1 小 , -1 大
|
|
|
|
|
|
|
+
|
|
|
|
|
+ //比较大小 1 小 , -1 大
|
|
|
// 方法3
|
|
// 方法3
|
|
|
public int compare4To(StatisticsBean o2){
|
|
public int compare4To(StatisticsBean o2){
|
|
|
if (this.getId() > o2.getId()) {
|
|
if (this.getId() > o2.getId()) {
|
|
@@ -272,15 +275,5 @@ public class StatisticsBean {
|
|
|
return -1;
|
|
return -1;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- public int compareNewTo(StatisticsBean o2){
|
|
|
|
|
- if(this.getAll_check_score() > o2.getAll_check_score()){
|
|
|
|
|
- return 1;
|
|
|
|
|
- }else if(this.getAll_check_score() < o2.getAll_check_score()){
|
|
|
|
|
- return -1;
|
|
|
|
|
- }else{
|
|
|
|
|
- return 0;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|