java
复制代码
{
JdbcTemplate jdbcTemplate = (JdbcTemplate) ctx
.getBean("CmJdbcTemplate");
String sqlhw = "select t.pat, t.dpt,t.bzlx from gw_pig_address_rw t where t.taskid='" + rwid + "' and t.ipath is not null and t.bzlx is not null and t.dpt is not null and t.ipath not like '%dat%'";
List<Map<String, Object>> listhw = jdbcTemplate.queryForList(sqlhw);
// List<Map<String, java.lang.Object>> listwe = new ArrayList<Map<String, java.lang.Object>>();
HashMap<String, java.lang.Object> quan = new HashMap<String, java.lang.Object>();
List<Map<String, java.lang.Object>> list5 = new ArrayList<Map<String, java.lang.Object>>();
List<Map<String, java.lang.Object>> list51 = new ArrayList<Map<String, java.lang.Object>>();
List<Map<String, java.lang.Object>> list53 = new ArrayList<Map<String, java.lang.Object>>();
List<Map<String, java.lang.Object>> list5q = new ArrayList<Map<String, java.lang.Object>>();
HashMap<String, Object> mapt = new HashMap<String, Object>();
HashMap<String, Object> mapt2 = new HashMap<String, Object>();
HashMap<String, Object> mapt3 = new HashMap<String, Object>();
ArrayList<HashMap<String, Object>> listwew = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> listwewt = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_3 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_4 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_5 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_6 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_7 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_8 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_9 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_10 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_11 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list1_12 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_1 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_2 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_3 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_4 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_5 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_6 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_7 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_8 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_9 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list2_10 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_1 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_2 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_3 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_4 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_5 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_6 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_7 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_8 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_9 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_10 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_11 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_12 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_13 = new ArrayList<HashMap<String, java.lang.Object>>();
ArrayList<HashMap<String, Object>> list3_14 = new ArrayList<HashMap<String, java.lang.Object>>();
// 暗挖
HashMap<String, java.lang.Object> ma = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_3 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_4 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_5 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_6 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_7 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_8 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_9 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_10 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_11 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma1_12 = new HashMap<String, java.lang.Object>();
//盾构
HashMap<String, java.lang.Object> ma2_1 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_2 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_3 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_4 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_5 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_6 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_7 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_8 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_9 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma2_10 = new HashMap<String, java.lang.Object>();
//明挖
HashMap<String, java.lang.Object> ma3_1 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_2 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_3 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_4 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_5 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_6 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_7 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_8 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_9 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_10 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_11 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_12 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_13 = new HashMap<String, java.lang.Object>();
HashMap<String, java.lang.Object> ma3_14 = new HashMap<String, java.lang.Object>();
int a0 = 0;
int a1 = 0;
int a2 = 0;
int a3 = 0;
int a4 = 0;
int a5 = 0;
int a6 = 0;
int a7 = 0;
int a8 = 0;
int a9 = 0;
int a10 = 0;
int a11 = 0;
int a12 = 0;
int a13 = 0;
int a14 = 0;
int a15 = 0;
int a16 = 0;
int a17 = 0;
int a18 = 0;
int a19 = 0;
int a20 = 0;
int a21 = 0;
int a22 = 0;
int a23 = 0;
int a24 = 0;
int a25 = 0;
int a26 = 0;
int a27 = 0;
int a28 = 0;
int a29 = 0;
int a30 = 0;
int a31 = 0;
int a32 = 0;
int a33 = 0;
int a34 = 0;
int a35 = 0;
int a36 = 0;
int a37 = 0;
int a38 = 0;
int a39 = 0;
int a40 = 0;
int a41 = 0;
int a42 = 0;
int a43 = 0;
int a44 = 0;
int a45 = 0;
int a46 = 0;
int a47 = 0;
int a48 = 0;
int a49 = 0;
int a50 = 0;
int a51 = 0;
int a52 = 0;
int a53 = 0;
int a54 = 0;
int a55 = 0;
int a56 = 0;
int a57 = 0;
int a58 = 0;
int a59 = 0;
int a60 = 0;
int a61 = 0;
int a62 = 0;
int a63 = 0;
int a64 = 0;
int a65 = 0;
int a66 = 0;
int a67 = 0;
int a68 = 0;
int a69 = 0;
int a70 = 0;
int a71 = 0;
int a72 = 0;
int a73 = 0;
int a74 = 0;
int a75 = 0;
int a76 = 0;
int a77 = 0;
int a78 = 0;
int a79 = 0;
int a80 = 0;
int a81 = 0;
int a82 = 0;
int a83 = 0;
int a84 = 0;
int a85 = 0;
int a86 = 0;
int a87 = 0;
int a88 = 0;
for (Map<String, Object> stringObjectMap : listhw) {
if (stringObjectMap.get("pat").equals("暗挖")){
if (stringObjectMap.get("bzlx").equals("锁口圈梁")) {
ma.put("value", "1");
ma.put("label", "锁口圈梁");
HashMap<String, java.lang.Object> maw = new HashMap<String, java.lang.Object>();
if ("锁口圈梁钢筋".equals(stringObjectMap.get("dpt"))) {
if (a0 == 0) {
maw.put("value", "100");
maw.put("label", "锁口圈梁钢筋");
listwew.add(maw);
} else {
continue;
}
a0++;
}
if ("锁口圈梁模板".equals(stringObjectMap.get("dpt"))) {
if (a1 == 0) {
maw.put("value", "101");
maw.put("label", "锁口圈梁模板");
listwew.add(maw);
} else {
continue;
}
a1++;
}
if ("锁口圈梁混凝土".equals(stringObjectMap.get("dpt"))) {
if (a2 == 0) {
maw.put("value", "102");
maw.put("label", "锁口圈梁混凝土");
listwew.add(maw);
} else {
continue;
}
a2++;
}
ma.put("children", listwew);
}
if (stringObjectMap.get("bzlx").equals("竖井初衬")) {
HashMap<String, java.lang.Object> maw1 = new HashMap<String, java.lang.Object>();
ma2.put("value", "2");
ma2.put("label", "竖井初衬");
if ("竖井初衬封底".equals(stringObjectMap.get("dpt"))) {
if (a3 == 0) {
maw1.put("value", "103");
maw1.put("label", "竖井初衬封底");
listwewt.add(maw1);
} else {
continue;
}
a3++;
}
if ("马头门上方注浆加固".equals(stringObjectMap.get("dpt"))) {
if (a4 == 0) {
maw1.put("value", "104");
maw1.put("label", "马头门上方注浆加固");
listwewt.add(maw1);
} else {
continue;
}
a4++;
}
if ("竖井开马头门".equals(stringObjectMap.get("dpt"))) {
if (a5 == 0) {
maw1.put("value", "105");
maw1.put("label", "竖井开马头门");
listwewt.add(maw1);
} else {
continue;
}
a5++;
}
if ("圆竖井开马头门上台阶".equals(stringObjectMap.get("dpt"))) {
if (a6 == 0) {
maw1.put("value", "106");
maw1.put("label", "圆竖井开马头门上台阶");
listwewt.add(maw1);
} else {
continue;
}
a6++;
}
if ("竖井初衬".equals(stringObjectMap.get("dpt"))) {
if (a7 == 0) {
maw1.put("value", "107");
maw1.put("label", "竖井初衬");
listwewt.add(maw1);
} else {
continue;
}
a7++;
}
if ("圆竖井开马头门下台阶".equals(stringObjectMap.get("dpt"))) {
if (a8 == 0) {
maw1.put("value", "108");
maw1.put("label", "圆竖井开马头门下台阶");
listwewt.add(maw1);
} else {
continue;
}
a8++;
}
ma2.put("children", listwewt);
}
if (stringObjectMap.get("bzlx").equals("隧道初衬")) {
HashMap<String, java.lang.Object> maw1_3 = new HashMap<String, java.lang.Object>();
ma1_3.put("value", "1-3");
ma1_3.put("label", "隧道初衬");
if ("隧道初衬上台阶格栅安装".equals(stringObjectMap.get("dpt"))) {
if (a9 == 0) {
maw1_3.put("value", "109");
maw1_3.put("label", "隧道初衬上台阶格栅安装");
list1_3.add(maw1_3);
} else {
continue;
}
a9++;
}
if ("隧道初衬上台阶喷射混凝土".equals(stringObjectMap.get("dpt"))) {
if (a10 == 0) {
maw1_3.put("value", "110");
maw1_3.put("label", "隧道初衬上台阶喷射混凝土");
list1_3.add(maw1_3);
} else {
continue;
}
a10++;
}
if ("隧道初衬下台阶钢格栅安装".equals(stringObjectMap.get("dpt"))) {
if (a11 == 0) {
maw1_3.put("value", "111");
maw1_3.put("label", "隧道初衬下台阶钢格栅安装");
list1_3.add(maw1_3);
} else {
continue;
}
a11++;
}
if ("隧道初衬下台阶喷射混凝土".equals(stringObjectMap.get("dpt"))) {
if (a12 == 0) {
maw1_3.put("value", "112");
maw1_3.put("label", "隧道初衬下台阶喷射混凝土");
list1_3.add(maw1_3);
} else {
continue;
}
a12++;
}
ma1_3.put("children", list1_3);
}
if (stringObjectMap.get("bzlx").equals("接地扁铁焊接")) {
HashMap<String, java.lang.Object> maw1_4 = new HashMap<String, java.lang.Object>();
ma1_4.put("value", "1-4");
ma1_4.put("label", "接地扁铁焊接");
if ("接地扁铁焊接".equals(stringObjectMap.get("dpt"))) {
if (a13 == 0) {
maw1_4.put("value", "113");
maw1_4.put("label", "接地扁铁焊接");
list1_4.add(maw1_4);
} else {
continue;
}
a13++;
}
ma1_4.put("children", list1_4);
}
if (stringObjectMap.get("bzlx").equals("接地极施工监理")) {
HashMap<String, java.lang.Object> maw1_5 = new HashMap<String, java.lang.Object>();
ma1_5.put("value", "1-5");
ma1_5.put("label", "接地极施工监理");
if ("接地极施工监理".equals(stringObjectMap.get("dpt"))) {
if (a14 == 0) {
maw1_5.put("value", "114");
maw1_5.put("label", "接地极施工监理");
list1_5.add(maw1_5);
} else {
continue;
}
a14++;
}
ma1_5.put("children", list1_5);
}
if (stringObjectMap.get("bzlx").equals("隧道初衬找平层")) {
HashMap<String, java.lang.Object> maw1_6 = new HashMap<String, java.lang.Object>();
ma1_6.put("value", "1-6");
ma1_6.put("label", "隧道初衬找平层");
if ("隧道初衬找平层".equals(stringObjectMap.get("dpt"))) {
if (a15 == 0) {
maw1_6.put("value", "115");
maw1_6.put("label", "隧道初衬找平层");
list1_6.add(maw1_6);
} else {
continue;
}
a15++;
}
ma1_6.put("children", list1_6);
}
if (stringObjectMap.get("bzlx").equals("隧道防水卷材施工")) {
HashMap<String, java.lang.Object> maw1_7 = new HashMap<String, java.lang.Object>();
ma1_7.put("value", "1-7");
ma1_7.put("label", "隧道防水卷材施工");
if ("隧道防水卷材施工".equals(stringObjectMap.get("dpt"))) {
if (a16 == 0) {
maw1_7.put("value", "116");
maw1_7.put("label", "隧道防水卷材施工");
list1_7.add(maw1_7);
} else {
continue;
}
a16++;
}
ma1_7.put("children", list1_7);
}
if (stringObjectMap.get("bzlx").equals("隧道二衬")) {
HashMap<String, java.lang.Object> maw1_8 = new HashMap<String, java.lang.Object>();
ma1_8.put("value", "1-8");
ma1_8.put("label", "隧道二衬");
if ("隧道二衬底板钢筋".equals(stringObjectMap.get("dpt"))) {
if (a17 == 0) {
maw1_8.put("value", "117");
maw1_8.put("label", "隧道二衬底板钢筋");
list1_8.add(maw1_8);
} else {
continue;
}
a17++;
}
if ("隧道二衬底板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a18 == 0) {
maw1_8.put("value", "118");
maw1_8.put("label", "隧道二衬底板混凝土");
list1_8.add(maw1_8);
} else {
continue;
}
a18++;
}
if ("隧道二衬边墙及拱部钢筋及埋件".equals(stringObjectMap.get("dpt"))) {
if (a19 == 0) {
maw1_8.put("value", "119");
maw1_8.put("label", "隧道二衬边墙及拱部钢筋及埋件");
list1_8.add(maw1_8);
} else {
continue;
}
a19++;
}
if ("隧道二衬墙拱模板".equals(stringObjectMap.get("dpt"))) {
if (a20 == 0) {
maw1_8.put("value", "120");
maw1_8.put("label", "隧道二衬墙拱模板");
list1_8.add(maw1_8);
} else {
continue;
}
a20++;
}
if ("中埋式止水带".equals(stringObjectMap.get("dpt"))) {
if (a21 == 0) {
maw1_8.put("value", "121");
maw1_8.put("label", "中埋式止水带");
list1_8.add(maw1_8);
} else {
continue;
}
a21++;
}
if ("二衬墙拱混凝土".equals(stringObjectMap.get("dpt"))) {
if (a22 == 0) {
maw1_8.put("value", "122");
maw1_8.put("label", "二衬墙拱混凝土");
list1_8.add(maw1_8);
} else {
continue;
}
a22++;
}
if ("二衬混凝土全景".equals(stringObjectMap.get("dpt"))) {
if (a23 == 0) {
maw1_8.put("value", "123");
maw1_8.put("label", "二衬混凝土全景");
list1_8.add(maw1_8);
} else {
continue;
}
a23++;
}
if ("步道混凝土".equals(stringObjectMap.get("dpt"))) {
if (a24 == 0) {
maw1_8.put("value", "124");
maw1_8.put("label", "步道混凝土");
list1_8.add(maw1_8);
} else {
continue;
}
a24++;
}
ma1_8.put("children", list1_8);
}
if (stringObjectMap.get("bzlx").equals("竖井防水层基面")) {
HashMap<String, java.lang.Object> maw1_9 = new HashMap<String, java.lang.Object>();
ma1_9.put("value", "1-9");
ma1_9.put("label", "竖井防水层基面");
if ("竖井防水层基面".equals(stringObjectMap.get("dpt"))) {
if (a25 == 0) {
maw1_9.put("value", "125");
maw1_9.put("label", "竖井防水层基面");
list1_9.add(maw1_9);
} else {
continue;
}
a25++;
}
ma1_9.put("children", list1_9);
}
if (stringObjectMap.get("bzlx").equals("竖井二衬")) {
HashMap<String, java.lang.Object> maw1_10 = new HashMap<String, java.lang.Object>();
ma1_10.put("value", "1-10");
ma1_10.put("label", "竖井二衬");
if ("竖井底板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a26 == 0) {
maw1_10.put("value", "126");
maw1_10.put("label", "竖井底板混凝土");
list1_10.add(maw1_10);
} else {
continue;
}
a26++;
}
if ("竖井边墙钢筋及埋件".equals(stringObjectMap.get("dpt"))) {
if (a27 == 0) {
maw1_10.put("value", "127");
maw1_10.put("label", "竖井边墙钢筋及埋件");
list1_10.add(maw1_10);
} else {
continue;
}
a27++;
}
if ("竖井边墙混凝土".equals(stringObjectMap.get("dpt"))) {
if (a28 == 0) {
maw1_10.put("value", "128");
maw1_10.put("label", "竖井边墙混凝土");
list1_10.add(maw1_10);
} else {
continue;
}
a28++;
}
if ("竖井中隔板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a29 == 0) {
maw1_10.put("value", "129");
maw1_10.put("label", "竖井中隔板混凝土");
list1_10.add(maw1_10);
} else {
continue;
}
a29++;
}
if ("竖井顶板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a30 == 0) {
maw1_10.put("value", "130");
maw1_10.put("label", "竖井顶板混凝土");
list1_10.add(maw1_10);
} else {
continue;
}
a30++;
}
ma1_10.put("children", list1_10);
}
if (stringObjectMap.get("bzlx").equals("竖井平台安装")) {
HashMap<String, java.lang.Object> maw1_11 = new HashMap<String, java.lang.Object>();
ma1_11.put("value", "1-11");
ma1_11.put("label", "竖井平台安装");
if ("竖井平台安装".equals(stringObjectMap.get("dpt"))) {
if (a31 == 0) {
maw1_11.put("value", "131");
maw1_11.put("label", "竖井平台安装");
list1_11.add(maw1_11);
} else {
continue;
}
a31++;
}
ma1_11.put("children", list1_11);
}
if (stringObjectMap.get("bzlx").equals("通风亭设置")) {
HashMap<String, java.lang.Object> maw1_12 = new HashMap<String, java.lang.Object>();
ma1_12.put("value", "1-12");
ma1_12.put("label", "通风亭设置");
if ("通风亭设置".equals(stringObjectMap.get("dpt"))) {
if (a32 == 0) {
maw1_12.put("value", "132");
maw1_12.put("label", "通风亭设置");
list1_12.add(maw1_12);
} else {
continue;
}
a32++;
}
ma1_12.put("children", list1_12);
}
}
// 盾构++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if (stringObjectMap.get("pat").equals("盾构")){
if (stringObjectMap.get("bzlx").equals("竖井护坡桩")) {
HashMap<String, java.lang.Object> maw2_1 = new HashMap<String, java.lang.Object>();
ma2_1.put("value", "2-1");
ma2_1.put("label", "竖井护坡桩");
if ("竖井护坡桩钢筋笼加工".equals(stringObjectMap.get("dpt"))) {
if (a33 == 0) {
maw2_1.put("value", "133");
maw2_1.put("label", "竖井护坡桩钢筋笼加工");
list2_1.add(maw2_1);
} else {
continue;
}
a33++;
}
if ("竖井护坡桩成孔".equals(stringObjectMap.get("dpt"))) {
if (a34 == 0) {
maw2_1.put("value", "134");
maw2_1.put("label", "竖井护坡桩成孔");
list2_1.add(maw2_1);
} else {
continue;
}
a34++;
}
if ("竖井护坡桩钢筋笼安装".equals(stringObjectMap.get("dpt"))) {
if (a35 == 0) {
maw2_1.put("value", "135");
maw2_1.put("label", "竖井护坡桩钢筋笼安装");
list2_1.add(maw2_1);
} else {
continue;
}
a35++;
}
if ("竖井护坡桩混凝土浇筑".equals(stringObjectMap.get("dpt"))) {
if (a36 == 0) {
maw2_1.put("value", "136");
maw2_1.put("label", "竖井护坡桩混凝土浇筑");
list2_1.add(maw2_1);
} else {
continue;
}
a36++;
}
ma2_1.put("children", list2_1);
}
if (stringObjectMap.get("bzlx").equals("通风亭设置")) {
HashMap<String, java.lang.Object> maw1_12 = new HashMap<String, java.lang.Object>();
ma2_10.put("value", "2_10");
ma2_10.put("label", "通风亭设置");
if ("盾构通风亭设置".equals(stringObjectMap.get("dpt"))) {
if (a81 == 0) {
maw1_12.put("value", "181");
maw1_12.put("label", "盾构通风亭设置");
list2_10.add(maw1_12);
} else {
continue;
}
a81++;
}
ma2_10.put("children", list2_10);
}
if (stringObjectMap.get("bzlx").equals("竖井盖梁")) {
HashMap<String, java.lang.Object> maw2_2 = new HashMap<String, java.lang.Object>();
ma2_2.put("value", "2-2");
ma2_2.put("label", "竖井盖梁");
if ("竖井盖梁钢筋".equals(stringObjectMap.get("dpt"))) {
if (a37 == 0) {
maw2_2.put("value", "137");
maw2_2.put("label", "竖井盖梁钢筋");
list2_2.add(maw2_2);
} else {
continue;
}
a37++;
}
if ("竖井盖梁模板".equals(stringObjectMap.get("dpt"))) {
if (a38 == 0) {
maw2_2.put("value", "138");
maw2_2.put("label", "竖井盖梁模板");
list2_2.add(maw2_2);
} else {
continue;
}
a38++;
}
if ("竖井盖梁混凝土".equals(stringObjectMap.get("dpt"))) {
if (a39 == 0) {
maw2_2.put("value", "139");
maw2_2.put("label", "竖井盖梁混凝土");
list2_2.add(maw2_2);
} else {
continue;
}
a39++;
}
ma2_2.put("children", list2_2);
}
if (stringObjectMap.get("bzlx").equals("竖井初衬")) {
HashMap<String, java.lang.Object> maw2_3 = new HashMap<String, java.lang.Object>();
ma2_3.put("value", "2-3");
ma2_3.put("label", "竖井初衬");
if ("初衬桩间墙混凝土喷射混凝土".equals(stringObjectMap.get("dpt"))) {
if (a40 == 0) {
maw2_3.put("value", "140");
maw2_3.put("label", "初衬桩间墙混凝土喷射混凝土");
list2_3.add(maw2_3);
} else {
continue;
}
a40++;
}
if ("竖井封底".equals(stringObjectMap.get("dpt"))) {
if (a41 == 0) {
maw2_3.put("value", "141");
maw2_3.put("label", "竖井封底");
list2_3.add(maw2_3);
} else {
continue;
}
a41++;
}
if ("马头门上方注浆加固".equals(stringObjectMap.get("dpt"))) {
if (a42 == 0) {
maw2_3.put("value", "142");
maw2_3.put("label", "马头门上方注浆加固");
list2_3.add(maw2_3);
} else {
continue;
}
a42++;
}
if ("盾构马头门上方加强环".equals(stringObjectMap.get("dpt"))) {
if (a43 == 0) {
maw2_3.put("value", "143");
maw2_3.put("label", "盾构马头门上方加强环");
list2_3.add(maw2_3);
} else {
continue;
}
a43++;
}
if ("负环及反力架安装".equals(stringObjectMap.get("dpt"))) {
if (a44 == 0) {
maw2_3.put("value", "144");
maw2_3.put("label", "负环及反力架安装");
list2_3.add(maw2_3);
} else {
continue;
}
a44++;
}
ma2_3.put("children", list2_3);
}
if (stringObjectMap.get("bzlx").equals("盾构隧道")) {
HashMap<String, java.lang.Object> maw2_4 = new HashMap<String, java.lang.Object>();
ma2_4.put("value", "2-4");
ma2_4.put("label", "盾构隧道");
if ("管片及手孔螺栓".equals(stringObjectMap.get("dpt"))) {
if (a45 == 0) {
maw2_4.put("value", "145");
maw2_4.put("label", "管片及手孔螺栓");
list2_4.add(maw2_4);
} else {
continue;
}
a45++;
}
if ("电缆支架".equals(stringObjectMap.get("dpt"))) {
if (a46 == 0) {
maw2_4.put("value", "146");
maw2_4.put("label", "电缆支架");
list2_4.add(maw2_4);
} else {
continue;
}
a46++;
}
if ("隧道底板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a47 == 0) {
maw2_4.put("value", "147");
maw2_4.put("label", "隧道底板混凝土");
list2_4.add(maw2_4);
} else {
continue;
}
a47++;
}
if ("步道混凝土".equals(stringObjectMap.get("dpt"))) {
if (a48 == 0) {
maw2_4.put("value", "148");
maw2_4.put("label", "步道混凝土");
list2_4.add(maw2_4);
} else {
continue;
}
a48++;
}
ma2_4.put("children", list2_4);
}
if (stringObjectMap.get("bzlx").equals("竖井防水层基面")) {
HashMap<String, java.lang.Object> maw2_5 = new HashMap<String, java.lang.Object>();
ma2_5.put("value", "2-5");
ma2_5.put("label", "竖井防水层基面");
if ("竖井防水层基面".equals(stringObjectMap.get("dpt"))) {
if (a49 == 0) {
maw2_5.put("value", "149");
maw2_5.put("label", "竖井防水层基面");
list2_5.add(maw2_5);
} else {
continue;
}
a49++;
}
ma2_5.put("children", list2_5);
}
if (stringObjectMap.get("bzlx").equals("竖井二衬")) {
HashMap<String, java.lang.Object> maw2_6 = new HashMap<String, java.lang.Object>();
ma2_6.put("value", "2-6");
ma2_6.put("label", "竖井二衬");
if ("竖井底板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a50 == 0) {
maw2_6.put("value", "150");
maw2_6.put("label", "竖井底板混凝土");
list2_6.add(maw2_6);
} else {
continue;
}
a50++;
}
if ("竖井边墙钢筋及埋件".equals(stringObjectMap.get("dpt"))) {
if (a51 == 0) {
maw2_6.put("value", "151");
maw2_6.put("label", "竖井边墙钢筋及埋件");
list2_6.add(maw2_6);
} else {
continue;
}
a51++;
}
if ("竖井边墙混凝土".equals(stringObjectMap.get("dpt"))) {
if (a52 == 0) {
maw2_6.put("value", "152");
maw2_6.put("label", "竖井边墙混凝土");
list2_6.add(maw2_6);
} else {
continue;
}
a52++;
}
if ("竖井中隔板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a53 == 0) {
maw2_6.put("value", "153");
maw2_6.put("label", "竖井中隔板混凝土");
list2_6.add(maw2_6);
} else {
continue;
}
a53++;
}
if ("竖井顶板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a54 == 0) {
maw2_6.put("value", "154");
maw2_6.put("label", "竖井顶板混凝土");
list2_6.add(maw2_6);
} else {
continue;
}
a54++;
}
ma2_6.put("children", list2_6);
}
if (stringObjectMap.get("bzlx").equals("接地扁铁焊接")) {
HashMap<String, java.lang.Object> maw2_7 = new HashMap<String, java.lang.Object>();
ma2_7.put("value", "2-7");
ma2_7.put("label", "接地扁铁焊接");
if ("接地扁铁焊接".equals(stringObjectMap.get("dpt"))) {
if (a55 == 0) {
maw2_7.put("value", "155");
maw2_7.put("label", "接地扁铁焊接");
list2_7.add(maw2_7);
} else {
continue;
}
a55++;
}
ma2_7.put("children", list2_7);
}
if (stringObjectMap.get("bzlx").equals("接地极施工")) {
HashMap<String, java.lang.Object> maw2_8 = new HashMap<String, java.lang.Object>();
ma2_8.put("value", "2-8");
ma2_8.put("label", "接地极施工");
if ("接地极施工".equals(stringObjectMap.get("dpt"))) {
if (a56 == 0) {
maw2_8.put("value", "156");
maw2_8.put("label", "接地极施工");
list2_8.add(maw2_8);
} else {
continue;
}
a56++;
}
ma2_8.put("children", list2_8);
}
if (stringObjectMap.get("bzlx").equals("竖井平台安装")) {
HashMap<String, java.lang.Object> maw2_9 = new HashMap<String, java.lang.Object>();
ma2_9.put("value", "2-9");
ma2_9.put("label", "竖井平台安装");
if ("竖井平台安装".equals(stringObjectMap.get("dpt"))) {
if (a57 == 0) {
maw2_9.put("value", "157");
maw2_9.put("label", "竖井平台安装");
list2_9.add(maw2_9);
} else {
continue;
}
a57++;
}
ma2_9.put("children", list2_9);
}
}
//明开++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if (stringObjectMap.get("pat").equals("明开")){
if (stringObjectMap.get("bzlx").equals("边坡支护")) {
HashMap<String, java.lang.Object> maw3_1 = new HashMap<String, java.lang.Object>();
ma3_1.put("value", "3-1");
ma3_1.put("label", "边坡支护");
if ("边坡支护".equals(stringObjectMap.get("dpt"))) {
if (a58 == 0) {
maw3_1.put("value", "158");
maw3_1.put("label", "边坡支护");
list3_1.add(maw3_1);
} else {
continue;
}
a58++;
}
ma3_1.put("children", list3_1);
}
if (stringObjectMap.get("bzlx").equals("地基钎探")) {
HashMap<String, java.lang.Object> maw3_2 = new HashMap<String, java.lang.Object>();
ma3_2.put("value", "3-2");
ma3_2.put("label", "地基钎探");
if ("地基钎探".equals(stringObjectMap.get("dpt"))) {
if (a59 == 0) {
maw3_2.put("value", "159");
maw3_2.put("label", "地基钎探");
list3_2.add(maw3_2);
} else {
continue;
}
a59++;
}
ma3_2.put("children", list3_2);
}
if (stringObjectMap.get("bzlx").equals("地基验槽")) {
HashMap<String, java.lang.Object> maw3_3 = new HashMap<String, java.lang.Object>();
ma3_3.put("value", "3-3");
ma3_3.put("label", "地基验槽");
if ("地基验槽".equals(stringObjectMap.get("dpt"))) {
if (a60 == 0) {
maw3_3.put("value", "160");
maw3_3.put("label", "地基验槽");
list3_3.add(maw3_3);
} else {
continue;
}
a60++;
}
ma3_3.put("children", list3_3);
}
if (stringObjectMap.get("bzlx").equals("地基处理")) {
HashMap<String, java.lang.Object> maw3_4 = new HashMap<String, java.lang.Object>();
ma3_4.put("value", "3-4");
ma3_4.put("label", "地基处理");
if ("地基处理".equals(stringObjectMap.get("dpt"))) {
if (a61 == 0) {
maw3_4.put("value", "161");
maw3_4.put("label", "地基处理");
list3_4.add(maw3_4);
} else {
continue;
}
a61++;
}
ma3_4.put("children", list3_4);
}
if (stringObjectMap.get("bzlx").equals("隧道底板")) {
HashMap<String, java.lang.Object> maw3_5 = new HashMap<String, java.lang.Object>();
ma3_5.put("value", "3-5");
ma3_5.put("label", "隧道底板");
if ("垫层模板".equals(stringObjectMap.get("dpt"))) {
if (a62 == 0) {
maw3_5.put("value", "162");
maw3_5.put("label", "垫层模板");
list3_5.add(maw3_5);
} else {
continue;
}
a62++;
}
if ("垫层混凝土".equals(stringObjectMap.get("dpt"))) {
if (a63 == 0) {
maw3_5.put("value", "163");
maw3_5.put("label", "垫层混凝土");
list3_5.add(maw3_5);
} else {
continue;
}
a63++;
}
if ("底板钢筋".equals(stringObjectMap.get("dpt"))) {
if (a64 == 0) {
maw3_5.put("value", "164");
maw3_5.put("label", "底板钢筋");
list3_5.add(maw3_5);
} else {
continue;
}
a64++;
}
if ("底板模板".equals(stringObjectMap.get("dpt"))) {
if (a65 == 0) {
maw3_5.put("value", "165");
maw3_5.put("label", "底板模板");
list3_5.add(maw3_5);
} else {
continue;
}
a65++;
}
if ("底板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a66 == 0) {
maw3_5.put("value", "166");
maw3_5.put("label", "底板混凝土");
list3_5.add(maw3_5);
} else {
continue;
}
a66++;
}
ma3_5.put("children", list3_5);
}
if (stringObjectMap.get("bzlx").equals("隧道边墙及顶板")) {
HashMap<String, java.lang.Object> maw3_6 = new HashMap<String, java.lang.Object>();
ma3_6.put("value", "3-6");
ma3_6.put("label", "隧道边墙及顶板");
if ("边墙及顶板钢筋及埋件".equals(stringObjectMap.get("dpt"))) {
if (a67 == 0) {
maw3_6.put("value", "167");
maw3_6.put("label", "边墙及顶板钢筋及埋件");
list3_6.add(maw3_6);
} else {
continue;
}
a67++;
}
if ("边墙及顶板模板".equals(stringObjectMap.get("dpt"))) {
if (a68 == 0) {
maw3_6.put("value", "168");
maw3_6.put("label", "边墙及顶板模板");
list3_6.add(maw3_6);
} else {
continue;
}
a68++;
}
if ("中埋式止水带".equals(stringObjectMap.get("dpt"))) {
if (a69 == 0) {
maw3_6.put("value", "169");
maw3_6.put("label", "中埋式止水带");
list3_6.add(maw3_6);
} else {
continue;
}
a69++;
}
if ("边墙及顶板混凝土".equals(stringObjectMap.get("dpt"))) {
if (a70 == 0) {
maw3_6.put("value", "170");
maw3_6.put("label", "边墙及顶板混凝土");
list3_6.add(maw3_6);
} else {
continue;
}
a70++;
}
ma3_6.put("children", list3_6);
}
if (stringObjectMap.get("bzlx").equals("隧道混凝土全景")) {
HashMap<String, java.lang.Object> maw3_7 = new HashMap<String, java.lang.Object>();
ma3_7.put("value", "3-7");
ma3_7.put("label", "隧道混凝土全景");
if ("隧道混凝土全景".equals(stringObjectMap.get("dpt"))) {
if (a71 == 0) {
maw3_7.put("value", "171");
maw3_7.put("label", "隧道混凝土全景");
list3_7.add(maw3_7);
} else {
continue;
}
a71++;
}
ma3_7.put("children", list3_7);
}
if (stringObjectMap.get("bzlx").equals("步道混凝土")) {
HashMap<String, java.lang.Object> maw3_8 = new HashMap<String, java.lang.Object>();
ma3_8.put("value", "3-8");
ma3_8.put("label", "步道混凝土");
if ("步道混凝土".equals(stringObjectMap.get("dpt"))) {
if (a72 == 0) {
maw3_8.put("value", "172");
maw3_8.put("label", "步道混凝土");
list3_8.add(maw3_8);
} else {
continue;
}
a72++;
}
ma3_8.put("children", list3_8);
}
if (stringObjectMap.get("bzlx").equals("接地扁铁焊接")) {
HashMap<String, java.lang.Object> maw3_9 = new HashMap<String, java.lang.Object>();
ma3_9.put("value", "3-9");
ma3_9.put("label", "接地扁铁焊接");
if ("接地扁铁焊接".equals(stringObjectMap.get("dpt"))) {
if (a73 == 0) {
maw3_9.put("value", "173");
maw3_9.put("label", "接地扁铁焊接");
list3_9.add(maw3_9);
} else {
continue;
}
a73++;
}
ma3_9.put("children", list3_9);
}
if (stringObjectMap.get("bzlx").equals("接地极施工")) {
HashMap<String, java.lang.Object> maw3_10 = new HashMap<String, java.lang.Object>();
ma3_10.put("value", "3-10");
ma3_10.put("label", "接地极施工");
if ("接地极施工".equals(stringObjectMap.get("dpt"))) {
if (a74 == 0) {
maw3_10.put("value", "174");
maw3_10.put("label", "接地极施工");
list3_10.add(maw3_10);
} else {
continue;
}
a74++;
}
ma3_10.put("children", list3_10);
}
if (stringObjectMap.get("bzlx").equals("底板防水")) {
HashMap<String, java.lang.Object> maw3_11 = new HashMap<String, java.lang.Object>();
ma3_11.put("value", "3-11");
ma3_11.put("label", "底板防水");
if ("底板防水".equals(stringObjectMap.get("dpt"))) {
if (a75 == 0) {
maw3_11.put("value", "175");
maw3_11.put("label", "底板防水");
list3_11.add(maw3_11);
} else {
continue;
}
a75++;
}
if ("边墙及顶板防水".equals(stringObjectMap.get("dpt"))) {
if (a76 == 0) {
maw3_11.put("value", "176");
maw3_11.put("label", "边墙及顶板防水");
list3_11.add(maw3_11);
} else {
continue;
}
a76++;
}
ma3_11.put("children", list3_11);
}
if (stringObjectMap.get("bzlx").equals("电缆支架")) {
HashMap<String, java.lang.Object> maw3_12 = new HashMap<String, java.lang.Object>();
ma3_12.put("value", "3-12");
ma3_12.put("label", "电缆支架");
if ("电缆支架".equals(stringObjectMap.get("dpt"))) {
if (a77 == 0) {
maw3_12.put("value", "177");
maw3_12.put("label", "电缆支架");
list3_12.add(maw3_12);
} else {
continue;
}
a77++;
}
ma3_12.put("children", list3_12);
}
if (stringObjectMap.get("bzlx").equals("工作井")) {
HashMap<String, java.lang.Object> maw3_13 = new HashMap<String, java.lang.Object>();
ma3_13.put("value", "3-13");
ma3_13.put("label", "工作井");
if ("工作井".equals(stringObjectMap.get("dpt"))) {
if (a78 == 0) {
maw3_13.put("value", "178");
maw3_13.put("label", "工作井");
list3_13.add(maw3_13);
} else {
continue;
}
a78++;
}
ma3_13.put("children", list3_13);
}
if (stringObjectMap.get("bzlx").equals("土方回填")) {
HashMap<String, java.lang.Object> maw3_14 = new HashMap<String, java.lang.Object>();
ma3_14.put("value", "3-14");
ma3_14.put("label", "土方回填");
if ("胸腔两侧回填".equals(stringObjectMap.get("dpt"))) {
if (a79 == 0) {
maw3_14.put("value", "179");
maw3_14.put("label", "胸腔两侧回填");
list3_14.add(maw3_14);
} else {
continue;
}
a79++;
}
if ("顶板以上回填".equals(stringObjectMap.get("dpt"))) {
if (a80 == 0) {
maw3_14.put("value", "180");
maw3_14.put("label", "顶板以上回填");
list3_14.add(maw3_14);
} else {
continue;
}
a80++;
}
ma3_14.put("children", list3_14);
}
}
}
if (ma.size() > 0) {
list5.add(ma);
}
if (ma1_8.size() > 0) {
list5.add(ma1_8);
}
if (ma1_4.size() > 0) {
list5.add(ma1_4);
}
if (ma1_3.size() > 0) {
list5.add(ma1_3);
}
if (ma1_5.size() > 0) {
list5.add(ma1_5);
}
if (ma1_6.size() > 0) {
list5.add(ma1_6);
}
if (ma1_7.size() > 0) {
list5.add(ma1_7);
}
if (ma1_9.size() > 0) {
list5.add(ma1_9);
}
if (ma1_10.size() > 0) {
list5.add(ma1_10);
}
if (ma1_11.size() > 0) {
list5.add(ma1_11);
}
if (ma1_12.size() > 0) {
list5.add(ma1_12);
}
if (ma2_1.size() > 0) {
list51.add(ma2_1);
}
if (ma2_2.size() > 0) {
list51.add(ma2_2);
}
if (ma2_3.size() > 0) {
list51.add(ma2_3);
}
if (ma2_4.size() > 0) {
list51.add(ma2_4);
}
if (ma2_5.size() > 0) {
list51.add(ma2_5);
}
if (ma2_6.size() > 0) {
list51.add(ma2_6);
}
if (ma2_7.size() > 0) {
list51.add(ma2_7);
}
if (ma2_8.size() > 0) {
list51.add(ma2_8);
}
if (ma2_9.size() > 0) {
list51.add(ma2_9);
}
if (ma2_10.size() > 0) {
list51.add(ma2_10);
}
if (ma3_1.size() > 0) {
list53.add(ma3_1);
}
if (ma3_2.size() > 0) {
list53.add(ma3_2);
}
if (ma3_3.size() > 0) {
list53.add(ma3_3);
}
if (ma3_4.size() > 0) {
list53.add(ma3_4);
}
if (ma3_5.size() > 0) {
list53.add(ma3_5);
}
if (ma3_6.size() > 0) {
list53.add(ma3_6);
}
if (ma3_7.size() > 0) {
list53.add(ma3_7);
}
if (ma3_8.size() > 0) {
list53.add(ma3_8);
}
if (ma3_9.size() > 0) {
list53.add(ma3_9);
}
if (ma3_10.size() > 0) {
list53.add(ma3_10);
}
if (ma3_11.size() > 0) {
list53.add(ma3_11);
}
if (ma3_12.size() > 0) {
list53.add(ma3_12);
}
if (ma3_13.size() > 0) {
list53.add(ma3_13);
}
if (ma3_14.size() > 0) {
list53.add(ma3_14);
}
if (ma2.size() > 0||ma.size() > 0||ma1_3.size() > 0||ma1_4.size() > 0||ma1_5.size() > 0||ma1_6.size() > 0
||ma1_7.size() > 0||ma1_8.size() > 0||ma1_9.size() > 0||ma1_10.size() > 0||ma1_11.size() > 0||ma1_12.size() > 0
) {
mapt.put("value", "200");
mapt.put("label", "暗挖");
mapt.put("children",list5);
}
if (ma2_1.size() > 0||ma2_2.size() > 0||ma2_3.size() > 0||ma2_4.size() > 0||ma2_5.size() > 0||ma2_6.size() > 0
||ma2_7.size() > 0 ||ma2_8.size() > 0||ma2_9.size() > 0||ma2_10.size() > 0) {
mapt2.put("value", "201");
mapt2.put("label", "盾构");
mapt2.put("children",list51);
}
if (ma3_1.size() > 0||ma3_2.size() > 0||ma3_3.size() > 0||ma3_4.size() > 0||ma3_5.size() > 0||ma3_6.size() > 0
||ma3_7.size() > 0 ||ma3_8.size() > 0||ma3_9.size() > 0||ma3_10.size() > 0||ma3_11.size() > 0||ma3_12.size() > 0||ma3_13.size() > 0||ma3_14.size() > 0) {
mapt3.put("value", "202");
mapt3.put("label", "明开");
mapt3.put("children",list53);
}
quan.put("value", "0");
quan.put("label", "全部");
if(mapt2.size()>0){
list5q.add(mapt2);
}
if(mapt.size()>0){
list5q.add(mapt);
}
if(mapt3.size()>0){
list5q.add(mapt3);
}
list5q.add(quan);
String string = JSONArray.fromObject(list5q).toString();
System.out.println("生成准备及验收图片搜索" + string);
return string;
}