|
|
@@ -702,11 +702,9 @@ public class DecisionTaskServiceImpl implements DecisionTaskService {
|
|
|
*/
|
|
|
private List<Map<String, Object>> prepareTableData(List<Map<String, Object>> dataList, Integer type,String name) {
|
|
|
List<Map<String, Object>> result = new ArrayList<>();
|
|
|
-
|
|
|
if (CollectionUtils.isEmpty(dataList)) {
|
|
|
return result;
|
|
|
}
|
|
|
-
|
|
|
int seq = 1;
|
|
|
for (Map<String, Object> data : dataList) {
|
|
|
Map<String, Object> row = new HashMap<>();
|
|
|
@@ -739,17 +737,34 @@ public class DecisionTaskServiceImpl implements DecisionTaskService {
|
|
|
row.put("shapearea", getDoubleValue(data, "shapearea"));
|
|
|
row.put("tdyt", getStringValue(data, "tdyt"));
|
|
|
}
|
|
|
- } else {
|
|
|
+ } else if (type == 1) {
|
|
|
+ // 所有权/使用权宗地
|
|
|
+ row.put("dlmc", getStringValue(data, "dlmc"));
|
|
|
+ row.put("shapearea", getDoubleValue(data, "shapearea"));
|
|
|
+ row.put("dlbm", getStringValue(data, "dlbm"));
|
|
|
+ }else if (type == 2) {
|
|
|
+ // 所有权/使用权宗地
|
|
|
+ row.put("ghfqmc", getStringValue(data, "ghfqmc"));
|
|
|
+ row.put("shapearea", getDoubleValue(data, "shapearea"));
|
|
|
+ row.put("ghfqdm", getStringValue(data, "ghfqdm"));
|
|
|
+ }else if (type == 3) {
|
|
|
+ row.put("dkbh", getStringValue(data, "dkbh"));
|
|
|
+ row.put("shapearea", getDoubleValue(data, "shapearea"));
|
|
|
+ row.put("ydxz", getStringValue(data, "ydxz"));
|
|
|
+ }else if (type == 8) {
|
|
|
+ row.put("dlmc", getStringValue(data, "dlmc"));
|
|
|
+ row.put("shapearea", getDoubleValue(data, "shapearea"));
|
|
|
+ row.put("dlbm", getStringValue(data, "dlbm"));
|
|
|
+ }else {
|
|
|
// 默认:复制所有数据
|
|
|
row.putAll(data);
|
|
|
}
|
|
|
-
|
|
|
result.add(row);
|
|
|
}
|
|
|
-
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* 获取字符串值
|
|
|
*/
|