国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專欄INFORMATION COLUMN

問:在指定的JSON數(shù)據(jù)中(最外層是數(shù)組)根據(jù)指定條件拿到匹配到的結(jié)果

wangbjun / 2027人閱讀

摘要:某某市澤國(guó)區(qū)推薦二胎查收茶水草兩個(gè)哈哈啊啊測(cè)試平行記賬啊啊啊測(cè)試不是平行記賬啊啊啊按時(shí)吃打算大薩達(dá)國(guó)家體育總部門經(jīng)濟(jì)司國(guó)家體育總部門測(cè)試區(qū)劃他他他行政數(shù)據(jù)雷霆崖烈焰是剖切新會(huì)計(jì)制度期末業(yè)務(wù)張三事業(yè)數(shù)據(jù)啊啊測(cè)試某某市澤國(guó)區(qū)財(cái)政部門測(cè)試行政測(cè)試

let carr = [{
    "code": "000",
    "agyTypeCode": "1",
    "name": "某某市澤國(guó)區(qū)",
    "pid": null,
    "id": "21sadasdsa45dsadsa1w11ssdsw55wsd"
}, {
    "code": "000001",
    "agyTypeCode": "REGION",
    "children": [{
        "code": "01",
        "agyTypeCode": "1",
        "children": [{
            "code": "0101",
            "agyTypeCode": "1",
            "children": [{
                "finChfName": "推薦",
                "isPairAc": 1,
                "code": "0008",
                "name": "二胎",
                "agyCode": "0101",
                "id": "24d0cb01b02211e8b1528dc623111881",
                "acsCode": "001"
            }, {
                "finChfName": "查收",
                "isPairAc": 0,
                "code": "0009",
                "name": "茶水草",
                "agyCode": "0101",
                "id": "8ce00b71b02211e8b1528dc623111881",
                "acsCode": "003"
            }, {
                "finChfName": "兩個(gè)",
                "isPairAc": 1,
                "code": "0010",
                "name": "O(∩_∩)O哈哈~",
                "agyCode": "0101",
                "id": "12d2f801b02311e8bd661323180bdf18",
                "acsCode": "001"
            }, {
                "finChfName": "啊啊",
                "isPairAc": 1,
                "code": "0013",
                "name": "測(cè)試平行記賬",
                "agyCode": "0101",
                "id": "b29c9e90c07711e8bef6315abdfc5989",
                "acsCode": "001"
            }, {
                "finChfName": "啊啊啊",
                "isPairAc": 0,
                "code": "0014",
                "name": "測(cè)試不是平行記賬",
                "agyCode": "0101",
                "id": "e9830841c07711e8a4682ddcca113e60",
                "acsCode": "002"
            }, {
                "finChfName": "啊啊啊",
                "isPairAc": 0,
                "code": "0015",
                "name": "按時(shí)吃",
                "agyCode": "0101",
                "id": "f8d46e01c07811e8aa1929a828257f4d",
                "acsCode": "002"
            }, {
                "finChfName": "打算",
                "isPairAc": 1,
                "code": "0017",
                "name": "大薩達(dá)",
                "agyCode": "0101",
                "id": "7e7a9a41c16211e887ac6329230785bc",
                "acsCode": "001"
            }],
            "name": "國(guó)家體育總部門經(jīng)濟(jì)司",
            "pid": "f514a5a7e0d14e13aae98e47ec369a97",
            "id": "b9c8b045fb3848c2ae3a7dc44e0db17b"
        }],
        "name": "國(guó)家體育總部門",
        "pid": "ee22f49ae9c1400599f5d52acbbaa006",
        "id": "f514a5a7e0d14e13aae98e47ec369a97"
    }],
    "name": "測(cè)試區(qū)劃",
    "pid": null,
    "id": "ee22f49ae9c1400599f5d52acbbaa006"
}, {
    "code": "009",
    "agyTypeCode": "1",
    "children": [{
        "finChfName": "他他他",
        "isPairAc": 0,
        "code": "002",
        "name": "行政數(shù)據(jù)",
        "agyCode": "009",
        "id": "24767c81349011e8aff46ff006323009",
        "acsCode": "002"
    }, {
        "finChfName": "雷霆崖烈焰",
        "isPairAc": 1,
        "code": "0051",
        "name": "是",
        "agyCode": "009",
        "id": "c98158e17f6211e88778c177655f0ba3",
        "acsCode": "001"
    }, {
        "finChfName": "剖切",
        "isPairAc": 1,
        "code": "0053",
        "name": "新會(huì)計(jì)制度(期末業(yè)務(wù))",
        "agyCode": "009",
        "id": "2c95d8c1803511e89a37851b1a8b5408",
        "acsCode": "001"
    }, {
        "finChfName": "張三",
        "isPairAc": 1,
        "code": "0121",
        "name": "事業(yè)數(shù)據(jù)",
        "agyCode": "009",
        "id": "80d0a7e1cbd911e8bd4bd1c35525136a",
        "acsCode": "001"
    }, {
        "finChfName": "啊啊",
        "isPairAc": 1,
        "code": "0128",
        "name": "測(cè)試",
        "agyCode": "009",
        "id": "e4700fa1d5e011e8b887a9873dfd9ff1",
        "acsCode": "001"
    }],
    "name": "某某市澤國(guó)區(qū)財(cái)政部門",
    "pid": "ee22f49ae9c1400599f5d52acbbaa010",
    "id": "ee22f49ae9c1400599f5d52acbb88009"
}, {
    "code": "010",
    "agyTypeCode": "AGEN",
    "children": [{
        "finChfName": "測(cè)試",
        "isPairAc": 1,
        "code": "0001",
        "name": "行政",
        "agyCode": "010",
        "id": "15fe5ea07f6011e89490b3fa58ca1a1f",
        "acsCode": "001"
    }, {
        "finChfName": "測(cè)試",
        "isPairAc": 1,
        "code": "0002",
        "name": "測(cè)試",
        "agyCode": "010",
        "id": "2e2bd9507ff911e8bd8ce5ebdd3691a4",
        "acsCode": "001"
    }, {
        "finChfName": "嗯",
        "isPairAc": 1,
        "code": "0007",
        "name": "測(cè)試724",
        "agyCode": "010",
        "id": "1c4c07718f1511e89b3fe363a3d40d6b",
        "acsCode": "001"
    }, {
        "finChfName": "孫振生",
        "isPairAc": 0,
        "code": "002",
        "name": "行政數(shù)據(jù)",
        "agyCode": "010",
        "id": "24767c81349011e8aff46ff006323010",
        "acsCode": "002"
    }],
    "name": "某某市澤國(guó)區(qū)信訪部門",
    "pid": "ee22f49ae9c1400599f5d52acbbaa010",
    "id": "ee22f49ae9c1400599f5d52acbb88010"
}, {
    "code": "022",
    "agyTypeCode": "AGEN",
    "children": [{
        "finChfName": "楚云飛",
        "isPairAc": 1,
        "code": "0002",
        "name": "地區(qū)數(shù)據(jù)",
        "agyCode": "022",
        "id": "663982b0831f11e88a4d05ce24bfba35",
        "acsCode": "001"
    }, {
        "finChfName": "啊啊",
        "isPairAc": 1,
        "code": "0003",
        "name": "測(cè)試",
        "agyCode": "022",
        "id": "17e1f3c0832611e89e41871149504fa5",
        "acsCode": "001"
    }, {
        "finChfName": "aa",
        "isPairAc": 1,
        "code": "0014",
        "name": "測(cè)試2",
        "agyCode": "022",
        "id": "14ff2ba1864611e8b71c29a3b3016125",
        "acsCode": "001"
    }, {
        "finChfName": "王娜",
        "isPairAc": 1,
        "code": "0016",
        "name": "wn測(cè)試數(shù)據(jù)",
        "agyCode": "022",
        "id": "1493d5f1866211e8be7a17c7191e695f",
        "acsCode": "001"
    }, {
        "finChfName": "七月",
        "isPairAc": 1,
        "code": "0027",
        "name": "七月",
        "agyCode": "022",
        "id": "26b504d1899511e8b1139f00fbd2f491",
        "acsCode": "001"
    }, {
        "finChfName": "啊",
        "isPairAc": 1,
        "code": "0029",
        "name": "啊啊啊啊",
        "agyCode": "022",
        "id": "e142ed0189ac11e8a943b36e0f97cad8",
        "acsCode": "001"
    }, {
        "finChfName": "京東",
        "isPairAc": 0,
        "code": "0038",
        "name": "ybk數(shù)據(jù)",
        "agyCode": "022",
        "id": "8e444c408b0811e8935bb38bf14dc4d5",
        "acsCode": "002"
    }, {
        "finChfName": "測(cè)測(cè)測(cè)",
        "isPairAc": 1,
        "code": "0040",
        "name": "測(cè)測(cè)測(cè)",
        "agyCode": "022",
        "id": "ff5855318b2511e8895bc71f69695839",
        "acsCode": "001"
    }, {
        "finChfName": "地方",
        "isPairAc": 1,
        "code": "0043",
        "name": "測(cè)試333",
        "agyCode": "022",
        "id": "e57553508b3111e8a2148d98b1a6b4c9",
        "acsCode": "001"
    }, {
        "finChfName": "哦屁",
        "isPairAc": 1,
        "code": "0045",
        "name": "周星馳",
        "agyCode": "022",
        "id": "cec127618b3611e8a45ecf53378eacfd",
        "acsCode": "001"
    }, {
        "finChfName": "讓人",
        "isPairAc": 0,
        "code": "0051",
        "name": "前期",
        "agyCode": "022",
        "id": "34e1cee1907411e895aeb3268240930f",
        "acsCode": "002"
    }, {
        "finChfName": "測(cè)試oracle",
        "isPairAc": 0,
        "code": "0054",
        "name": "測(cè)試oracle",
        "agyCode": "022",
        "id": "ae1cf381979e11e89b283709976946b2",
        "acsCode": "002"
    }],
    "name": "某某市澤國(guó)區(qū)科學(xué)技術(shù)部門",
    "pid": "ee22f49ae9c1400599f5d52acbbaa010",
    "id": "ee22f49ae9c1400599f5d52acbb88022"
}, {
    "code": "302",
    "agyTypeCode": "1",
    "children": [{
        "code": "302001",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 1,
            "code": "0001",
            "name": "地區(qū)數(shù)據(jù)",
            "agyCode": "302001",
            "id": "b4d0b6f0d2de11e8b3ff6531e1dc713e",
            "acsCode": "001"
        }],
        "name": "湖北省環(huán)境保護(hù)廳本級(jí)",
        "pid": "aaf65c00af4011e8ba0e4bb47edc5366",
        "id": "b926dde0af4011e8ba0e4bb47edc5366"
    }],
    "name": "湖北省環(huán)境保護(hù)廳",
    "pid": "",
    "id": "aaf65c00af4011e8ba0e4bb47edc5366"
}, {
    "code": "555",
    "agyTypeCode": "1",
    "children": [{
        "code": "555001",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555001",
            "id": "c9484f80d20c11e897a897a9c63972b2",
            "acsCode": "005"
        }, {
            "finChfName": null,
            "isPairAc": 0,
            "code": "0002",
            "name": "科學(xué)事業(yè)單位數(shù)據(jù)",
            "agyCode": "555001",
            "id": "dc624b70d20c11e897a897a9c63972b2",
            "acsCode": "004"
        }],
        "name": "民族委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836160"
    }, {
        "code": "555002",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555002",
            "id": "2fec2380d12511e89f0605f50d407345",
            "acsCode": "005"
        }],
        "name": "憲法和法律委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836161"
    }, {
        "code": "555003",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555003",
            "id": "6cef62c0d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "監(jiān)察和司法委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836162"
    }, {
        "code": "555004",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555004",
            "id": "75fe8610d12511e89f0605f50d407345",
            "acsCode": "005"
        }],
        "name": "財(cái)政經(jīng)濟(jì)委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836163"
    }, {
        "code": "555005",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555005",
            "id": "7e1d3010d20d11e8a2a5bb48be4c326f",
            "acsCode": "005"
        }],
        "name": "教育科學(xué)文化衛(wèi)生委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836164"
    }, {
        "code": "555006",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555006",
            "id": "7e1d5720d20d11e8a2a5bb48be4c326f",
            "acsCode": "005"
        }],
        "name": "外事委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836165"
    }, {
        "code": "555007",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555007",
            "id": "92a69a80d20d11e8a2a5bb48be4c326f",
            "acsCode": "005"
        }],
        "name": "華僑委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836166"
    }, {
        "code": "555008",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555008",
            "id": "6cef62c1d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "環(huán)境與資源保護(hù)委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836167"
    }, {
        "code": "555009",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555009",
            "id": "6cef62c2d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "農(nóng)業(yè)與農(nóng)村委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836168"
    }, {
        "code": "555010",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555010",
            "id": "6cef62c3d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "社會(huì)建設(shè)委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836169"
    }, {
        "code": "555011",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555011",
            "id": "6cef62c4d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "代表資格審查委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836170"
    }, {
        "code": "555012",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555012",
            "id": "6cef62c5d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "預(yù)算工作委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836171"
    }, {
        "code": "555013",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555013",
            "id": "6cef62c6d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "香港基本法委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836172"
    }, {
        "code": "555014",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555014",
            "id": "6cef62c7d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "澳門基本法委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836173"
    }, {
        "code": "555015",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555015",
            "id": "6cef62c8d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "秘書部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836174"
    }, {
        "code": "555016",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555016",
            "id": "6cef62c9d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "研究室",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836175"
    }, {
        "code": "555017",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555017",
            "id": "6cef62cad2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "聯(lián)絡(luò)部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836176"
    }, {
        "code": "555018",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555018",
            "id": "6cef62cbd2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "外事部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836177"
    }, {
        "code": "555019",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555019",
            "id": "6cef62ccd2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "新聞部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836178"
    }, {
        "code": "555020",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555020",
            "id": "6cef62cdd2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "人事部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836179"
    }, {
        "code": "555021",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555021",
            "id": "6cef62ced2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "機(jī)關(guān)事務(wù)管理部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836180"
    }, {
        "code": "555022",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555022",
            "id": "6cef62cfd2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "機(jī)關(guān)黨委",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836181"
    }, {
        "code": "555023",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555023",
            "id": "6cef62d0d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "機(jī)關(guān)紀(jì)委",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836182"
    }, {
        "code": "555024",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555024",
            "id": "6cef62d1d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "機(jī)關(guān)工會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836183"
    }, {
        "code": "555025",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555025",
            "id": "6cef62d2d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "信訪部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836184"
    }, {
        "code": "555026",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555026",
            "id": "6cef62d3d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "中國(guó)位置制度理論研究會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836185"
    }, {
        "code": "555027",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555027",
            "id": "6cef89d0d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "中央紀(jì)委駐某地區(qū)位置機(jī)關(guān)紀(jì)檢組",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836186"
    }, {
        "code": "555028",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555028",
            "id": "6cef89d1d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "常委會(huì)會(huì)場(chǎng)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836187"
    }, {
        "code": "555029",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555029",
            "id": "6cef89d2d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "信息中心(本級(jí))",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836188"
    }, {
        "code": "555030",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555030",
            "id": "6cef89d3d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "法制工作委員會(huì)",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836189"
    }, {
        "code": "555031",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555031",
            "id": "6cef89d4d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "離退休干部部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836190"
    }, {
        "code": "555032",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555032",
            "id": "6cef89d5d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "采購(gòu)中心",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836191"
    }, {
        "code": "555033",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555033",
            "id": "6cef89d6d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "大會(huì)堂管理部門",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836192"
    }, {
        "code": "555034",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555034",
            "id": "6cef89d7d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "機(jī)關(guān)服務(wù)中心",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836193"
    }, {
        "code": "555035",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555035",
            "id": "6cef89d8d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "信息中心",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836194"
    }, {
        "code": "555036",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555036",
            "id": "6cef89d9d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "培訓(xùn)中心",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836195"
    }, {
        "code": "555037",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555037",
            "id": "6cef89dad2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "圖書館",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836196"
    }, {
        "code": "555038",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555038",
            "id": "6cef89dbd2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "會(huì)議中心",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836197"
    }, {
        "code": "555039",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "555039",
            "id": "6cef89dcd2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "雜志社",
        "pid": "617289d0d04411e8bd8033bd2a0fffdf",
        "id": "1051724173375836198"
    }],
    "name": "某地區(qū)位置",
    "pid": "",
    "id": "617289d0d04411e8bd8033bd2a0fffdf"
}, {
    "code": "777",
    "agyTypeCode": "1",
    "children": [{
        "code": "777001",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 0,
            "code": "0001",
            "name": "中小學(xué)校數(shù)據(jù)",
            "agyCode": "777001",
            "id": "efe6c290d2c811e8a5199f3621c38b01",
            "acsCode": "005"
        }],
        "name": "秘書部門",
        "pid": "62a366d0ced211e8b747731b606acef5",
        "id": "73ca4550ced211e8b747731b606acef5"
    }, {
        "code": "777002",
        "agyTypeCode": "1",
        "children": [{
            "finChfName": null,
            "isPairAc": 1,
            "code": "0002",
            "name": "地區(qū)數(shù)據(jù)",
            "agyCode": "777002",
            "id": "a64a3100d4fb11e8b679555649b719c9",
            "acsCode": "001"
        }],
        "name": "人事部門",
        "pid": "62a366d0ced211e8b747731b606acef5",
        "id": "825d5990ced211e8b747731b606acef5"
    }],
    "name": "某地區(qū)位置測(cè)試數(shù)據(jù)",
    "pid": "",
    "id": "62a366d0ced211e8b747731b606acef5"
}]

let dobj = 
    {"agyCode":"0101",
    "agyName":"國(guó)家體育總局經(jīng)濟(jì)司",
    "acbCode":"0008",
    "acbName":"二胎",
    "acsCode":"001"}
function find(arr, fn, result) {
    arr.forEach(item => {
        if (item.children) {
            find(item.children, fn, result)
        } else {
            if (fn(item)) {
                result.push(item)
            }
        }
    })
}
var result = []
find(carr, item => {
    return item.name == dobj.acbName && item.code == dobj.acbCode && item.agyCode == dobj.agyCode
}, result)

console.log(result);
會(huì)從整個(gè)數(shù)組中遍歷滿足條件dobj的東西

最后的結(jié)果會(huì)是:

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://specialneedsforspecialkids.com/yun/98602.html

相關(guān)文章

  • :指定JSON數(shù)據(jù)外層數(shù)組根據(jù)指定條件拿到匹配結(jié)果

    摘要:某某市澤國(guó)區(qū)推薦二胎查收茶水草兩個(gè)哈哈啊啊測(cè)試平行記賬啊啊啊測(cè)試不是平行記賬啊啊啊按時(shí)吃打算大薩達(dá)國(guó)家體育總部門經(jīng)濟(jì)司國(guó)家體育總部門測(cè)試區(qū)劃他他他行政數(shù)據(jù)雷霆崖烈焰是剖切新會(huì)計(jì)制度期末業(yè)務(wù)張三事業(yè)數(shù)據(jù)啊啊測(cè)試某某市澤國(guó)區(qū)財(cái)政部門測(cè)試行政測(cè)試 let carr = [{ code: 000, agyTypeCode: 1, name: 某某市澤國(guó)區(qū), pi...

    justjavac 評(píng)論0 收藏0
  • :指定JSON數(shù)據(jù)外層數(shù)組根據(jù)指定條件拿到匹配結(jié)果

    摘要:某某市澤國(guó)區(qū)推薦二胎查收茶水草兩個(gè)哈哈啊啊測(cè)試平行記賬啊啊啊測(cè)試不是平行記賬啊啊啊按時(shí)吃打算大薩達(dá)國(guó)家體育總部門經(jīng)濟(jì)司國(guó)家體育總部門測(cè)試區(qū)劃他他他行政數(shù)據(jù)雷霆崖烈焰是剖切新會(huì)計(jì)制度期末業(yè)務(wù)張三事業(yè)數(shù)據(jù)啊啊測(cè)試某某市澤國(guó)區(qū)財(cái)政部門測(cè)試行政測(cè)試 let carr = [{ code: 000, agyTypeCode: 1, name: 某某市澤國(guó)區(qū), pi...

    omgdog 評(píng)論0 收藏0
  • 廣州三本找Java實(shí)習(xí)經(jīng)歷

    摘要:廣州三本大三在讀,在廣州找實(shí)習(xí)。這篇文章其實(shí)主要是記錄一下自己的面試經(jīng)歷,希望大家看完之后能有所了解進(jìn)入中小公司究竟需要什么水平。時(shí)間復(fù)雜度盡量低一些使用快排的,將給出的隨機(jī)數(shù)做基準(zhǔn)值返回的坐標(biāo)就是了。 前言 只有光頭才能變強(qiáng) 這陣子跑去面試Java實(shí)習(xí)生啦~~~我來簡(jiǎn)單介紹一下背景吧。 廣州三本大三在讀,在廣州找實(shí)習(xí)。大學(xué)開始接觸編程,一個(gè)非常平庸的人。 在學(xué)習(xí)編程時(shí),跟我類似的人應(yīng)...

    enali 評(píng)論0 收藏0
  • 貼一貼我后端開發(fā)面試題

    摘要:線程有幾種狀態(tài)生命周期是怎樣的線程有五種狀態(tài)創(chuàng)建就緒運(yùn)行阻塞死亡。當(dāng)線程獲得到等待的資源資源或者引起阻塞的條件得到滿足時(shí)調(diào)用或,會(huì)從阻塞狀態(tài)進(jìn)入就緒狀態(tài)。使用,允許最多個(gè)線程同時(shí)訪問資源。 轉(zhuǎn)載請(qǐng)注明出處: 貼一貼我的后端開發(fā)面試題。 本文是面試回寢室后憑記憶羅列出來的問題,大概90%的問題都在這里面了,有幾個(gè)問題的實(shí)在是想不起來了= =,有些問題自我感覺回答的不好,所以我是查了資料...

    Batkid 評(píng)論0 收藏0

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<