CaseCount.java
4.12 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
package com.lhcredit.project.business.model;
import com.alibaba.fastjson.JSONObject;
import com.lhcredit.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@Data
public class CaseCount {
@Excel(name = "统计项目")
private String caseType;
@Excel(name = "案件总数")
private String countTotal;
@Excel(name = "已结案总数")
private String countJieTotal;
@Excel(name = "未结案总数")
private String countWeiTotal;
@Excel(name = "原告总数")
private String countYuangao;
@Excel(name = "原告已结案总数")
private String countJieYuangao;
@Excel(name = "原告未结案总数")
private String countWeiYuangao;
@Excel(name = "被告总数")
private String countBeigao;
@Excel(name = "被告已结案总数")
private String countJieBeigao;
@Excel(name = "被告未结案总数")
private String countWeiBeigao;
@Excel(name = "第三人总数")
private String countOther;
@Excel(name = "第三人已结案总数")
private String countJieOther;
@Excel(name = "第三人未结案总数")
private String countWeiOther;
@Excel(name = "涉案总金额")
private String moneyTotal;
@Excel(name = "已结案金额")
private String moneyJieTotal;
@Excel(name = "未结案金额")
private String moneyWeiTotal;
@Excel(name = "未结案金额百分比")
private String moneyWeiPercent;
@Excel(name = "原告金额")
private String moneyYuangao;
@Excel(name = "原告已结金额")
private String moneyJieYuangao;
@Excel(name = "原告未结案金额")
private String moneyWeiYuangao;
@Excel(name = "被告金额")
private String moneyBeigao;
@Excel(name = "被告已结案金额")
private String moneyJieBeigao;
@Excel(name = "被告未结案金额")
private String moneyWeiBeigao;
@Excel(name = "第三人金额")
private String moneyOther;
@Excel(name = "第三人已结案金额")
private String moneyJieOther;
@Excel(name = "第三人未结案金额")
private String moneyWeiother;
@Excel(name = "涉案案由分布")
private String ayStat;
@Excel(name = "涉案地点分布")
private String areaStat;
@Excel(name = "涉案时间分布")
private String larqStat;
@Excel(name = "结案方式分布")
private String jafsStat;
/* 1年以内 */
private int oneyear;
/* 1-3年 */
private int onetothreeyear;
/* 3-5年 */
private int threetofiveyear;
/* 5年以上 */
private int fiveyear;
/* 涉诉总数 */
private int sstotal;
/* 涉诉已结案数量 */
private int ssyja;
/* 涉诉未结案数量 */
private int sswja;
/* 原告已结案胜诉 */
private int ygyjass;
/* 原告已结案败诉 */
private int ygyjabs;
/* 原告已结案未知 */
private int ygyjawz;
/* 原告未结案 */
private int ygwja;
/* 被告已结案胜诉 */
private int bgyjass;
/* 被告已结案败诉 */
private int bgyjabs;
/* 被告已结案未知 */
private int bgyjawz;
/* 被告未结案 */
private int bgwja;
/* 第三人已结案胜诉 */
private int dsryjass;
/* 第三人已结案败诉 */
private int dsryjabs;
/* 第三人已结案未知 */
private int dsryjawz;
/* 第三人未结案 */
private int dsrwja;
private Map<String,String> larqmap;
public List<JSONObject> getLarqmap(){
String larqStat = getLarqStat();
List<JSONObject> list = new ArrayList<>();
String larq[] = larqStat.split(",");
for(String larqStr :larq){
if(!larqStr.contains("(")){
continue;
}
String year = larqStr.substring(0, larqStr.indexOf("("));
String num = larqStr.substring(larqStr.indexOf("(")+1, larqStr.indexOf(")"));
JSONObject jsonObject = new JSONObject();
jsonObject.put("year",year);
jsonObject.put("num",num);
list.add(jsonObject);
}
return list;
}
}