三级联动图片搜索

这篇具有很好参考价值的文章主要介绍了三级联动图片搜索。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

{
        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;
    }

三级联动图片搜索,java,前端,数据库文章来源地址https://www.toymoban.com/news/detail-740043.html

到了这里,关于三级联动图片搜索的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 用python实现调用百度图片搜索的API

    前言: 这段代码是一个简单的图片爬虫程序 它可以通过输入,在百度图片中搜索相关图片,并返回一张随机的图片。 代码使用Flask框架搭建了一个简单的Web应用,将用户输入的作为参数传递给爬虫程序,然后从百度图片中获取相关图片的URL 并随机选择一张返回

    2024年02月11日
    浏览(63)
  • OpenCV书签 #差值哈希算法的原理与相似图片搜索实验

    差值哈希算法(Difference Hash Algorithm,简称dHash) 是哈希算法的一种,主要可以用来做以图搜索/相似图片的搜索工作。   差值哈希算法通过计算相邻像素的差异来生成哈希,即通过缩小图像的每个像素与平均灰度值的比较,生成一组哈希值。最后,利用两组图像的哈希值的汉

    2024年01月23日
    浏览(47)
  • OpenCV书签 #感知哈希算法的原理与相似图片搜索实验

    感知哈希算法(Perceptual Hash Algorithm,简称pHash) 是哈希算法的一种,主要可以用来做以图搜索/相似图片搜索工作。   感知哈希算法(pHash)首先将原图像缩小成一个固定大小的像素图像,然后将图像转换为灰度图像,通过使用离散余弦变换(DCT)来获取频域信息。然后,根

    2024年01月22日
    浏览(41)
  • 图片搜索引擎网站大全,以图搜图网站

    当我们需要搜索一些图片的时候使用图片搜索引擎网站可以帮我们更快地找到自己需要的图片,那么有哪些图片搜索引擎网站可以搜索图片呢?下面小编就来和大家分享几个以图搜图的网站。 1.百度图片搜索引擎网站 百度是最大的中文搜索引擎,百度的图片搜索以中文网站的

    2024年02月07日
    浏览(73)
  • OpenCV书签 #直方图算法的原理与相似图片搜索实验

    直方图算法(Image Histogram Algorithm) 通过统计图像中各个颜色值的分布情况来提供关于图像颜色特征的信息,它可以用来衡量两张图片在颜色分布上的相似度,进而可以用来进行图像相似度的比较,因此,直方图算法是一种常用的图片相似度算法,通常是一个一维的数组(取

    2024年01月23日
    浏览(46)
  • Python Selenium 图片资源自动搜索保存 项目实践

    启动后会自动打开一个页面 页面分析 第一页 第二页 由此可得出变化的只有这里,根据pagi= 展示不同页面 红色箭头定位到页数,绿色的不要使用 是反爬虫的限制,不断变化的 可以适当的进行优化,使用selnium的页面加载策略

    2024年01月16日
    浏览(55)
  • Elasticsearch:如何在 Elastic 中实现图片相似度搜索

    作者:Radovan Ondas 在本文章,我们将了解如何通过几个步骤在 Elastic 中实施相似图像搜索。 开始设置应用程序环境,然后导入 NLP 模型,最后完成为你的图像集生成嵌入。 Elastic 图像相似性搜索概览 Elasticsearch:如何在 Elastic 中实现图片相似度搜索 第一步是为你的应用程序设

    2024年01月22日
    浏览(52)
  • Vue3使用高德地图、搜索、地图选点、以及省市区三级联动

    1、准备工作 需要在 高德开发平台 申请自己的 key 和 密钥 这里的 Key 名称大家可以随意填写 申请完之后我们得到 key 和 密钥 vue中使用需要安装**@amap/amap-jsapi-loader --save** 官方文档 2、代码实现 首先我们需要三个文件,一个 index.vue 一个用来存放省市区的 index.js 文件 一个 ma

    2024年02月05日
    浏览(75)
  • DFS(深度优先搜索)详解(概念讲解,图片辅助,例题解释,剪枝技巧)

    目录 那年深夏 引入 1.什么是深度优先搜索(DFS)? 2.什么是栈? 3.什么是递归? 图解过程  问题示例 1、全排列问题 2、迷宫问题 3、棋盘问题(N皇后)  4、加法分解 模板 剪枝 1.简介 2.剪枝的原则   3.剪枝策略的寻找的方法 4.常见剪枝方法 最后 他终于抬起头,眨了眨眼睛

    2023年04月08日
    浏览(46)
  • Selenium定向爬取海量精美图片及搜索引擎杂谈

    我自认为这是自己写过博客中一篇比较优秀的文章,同时也是在深夜凌晨2点满怀着激情和愉悦之心完成的。首先通过这篇文章,你能学到以下几点:         1. 可以了解Python简单爬取图片的一些思路和方法         2.学习Selenium自动、测试分析动态网页和正则表达式的区别和

    2024年02月08日
    浏览(41)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包