| Nested Loop Left Join (cost=22.33..51.78 rows=1 width=157) |
| Join Filter: (eip.erp_inventory_disassemble_id = eid.id) |
| Filter: ((eip.erp_inventory_disassemble_id IS NULL) OR (eid.status <> 6)) |
| -> Nested Loop Left Join (cost=22.33..50.66 rows=1 width=161) |
| Join Filter: (eip.erp_inventory_build_id = eib.id) |
| Filter: ((eip.erp_inventory_build_id IS NULL) OR (eib.status <> 6)) |
| -> Nested Loop Left Join (cost=22.33..49.36 rows=1 width=165) |
| Join Filter: (eip.erp_inventory_overflow_id = eio.id) |
| Filter: ((eip.erp_inventory_overflow_id IS NULL) OR (eio.status <> 6)) |
| -> Nested Loop Left Join (cost=22.33..48.11 rows=1 width=169) |
| Join Filter: (eip.erp_purchase_gift_id = epg.id) |
| Filter: ((eip.erp_purchase_gift_id IS NULL) OR (epg.status <> 6)) |
| -> Nested Loop Left Join (cost=22.33..46.56 rows=1 width=173) |
| Filter: ((eip.erp_purchase_inbound_id IS NULL) OR (epi.status <> 6)) |
| -> Nested Loop (cost=22.19..41.58 rows=1 width=177) |
| Join Filter: (eipsn.erp_inventory_product_id = eip.id) |
| -> Seq Scan on tbl_erp_inventory_products eip (cost=0.00..15.64 rows=5 width=24) |
| Filter: (product_id = 2267) |
| -> Materialize (cost=22.19..25.65 rows=4 width=157) |
| -> Seq Scan on tbl_erp_inventory_product_sns eipsn (cost=22.19..25.63 rows=4 width=157) |
| Filter: ((NOT (hashed SubPlan 1)) AND ((sn)::text = ANY ('{eqqe,qewq,rwerewr,热二,让我让玩儿,rwwerwe,1,yiyui,534543}'::text[]))) |
| SubPlan 1 |
| -> Nested Loop (cost=0.00..22.18 rows=1 width=14) |
| -> Nested Loop (cost=0.00..14.51 rows=1 width=18) |
| Join Filter: (pps.erp_purchase_inbound_product_id = pp.id) |
| -> Seq Scan on tbl_erp_purchase_inbound_products pp (cost=0.00..12.50 rows=1 width=8) |
| Filter: (erp_purchase_inbound_id = 216) |
| -> Seq Scan on tbl_erp_purchase_inbound_product_sns pps (cost=0.00..1.45 rows=45 width=18) |
| -> Seq Scan on tbl_erp_purchase_inbounds p (cost=0.00..7.66 rows=1 width=4) |
| Filter: (id = 216) |
| -> Index Scan using tbl_erp_purchase_inbounds_pkey on tbl_erp_purchase_inbounds epi (cost=0.14..4.96 rows=1 width=6) |
| Index Cond: (eip.erp_purchase_inbound_id = id) |
| -> Seq Scan on tbl_erp_purchase_gifts epg (cost=0.00..1.22 rows=22 width=6) |
| -> Seq Scan on tbl_erp_inventory_overflows eio (cost=0.00..1.10 rows=10 width=6) |
| -> Seq Scan on tbl_erp_inventory_builds eib (cost=0.00..1.12 rows=12 width=6) |
| -> Seq Scan on tbl_erp_inventory_disassembles eid (cost=0.00..1.05 rows=5 width=6) |