SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002955s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.013923s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003372s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000483s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002771s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003479s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.006980s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000357s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000724s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001272s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `partno` LIKE 'L717HDE15P%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001942s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('2310052','6943','16813','15794','2305071','3553005','3547673','3536329','3536205','3536046','3534735','3534734','2300596','2279249','2278859','2278526','2277721','2277494','2275331','2275324') ORDER BY FIELD(s.id, 2310052,6943,16813,15794,2305071,3553005,3547673,3536329,3536205,3536046,3534735,3534734,2300596,2279249,2278859,2278526,2277721,2277494,2275331,2275324) [ RunTime:0.012769s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2310052 LIMIT 4 [ RunTime:0.000710s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2310052 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2310052 ORDER BY `unit` DESC [ RunTime:0.005536s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2310052 LIMIT 2 [ RunTime:0.008566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2310052 ORDER BY `minOrder` ASC [ RunTime:0.002875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6943 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6943 ORDER BY `minOrder` ASC [ RunTime:0.005529s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6943 ORDER BY `unit` DESC [ RunTime:0.001889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6943 LIMIT 2 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6943 ORDER BY `minOrder` ASC [ RunTime:0.000841s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.001234s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.007493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16813 LIMIT 4 [ RunTime:0.008112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813 ORDER BY `minOrder` ASC [ RunTime:0.002537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16813 ORDER BY `unit` DESC [ RunTime:0.000549s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16813 LIMIT 2 [ RunTime:0.000447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.000285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15794 LIMIT 4 [ RunTime:0.015333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15794 ORDER BY `minOrder` ASC [ RunTime:0.002367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15794 ORDER BY `unit` DESC [ RunTime:0.010009s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15794 LIMIT 2 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15794 ORDER BY `minOrder` ASC [ RunTime:0.000914s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.000423s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2305071 LIMIT 4 [ RunTime:0.000917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2305071 ORDER BY `minOrder` ASC [ RunTime:0.003254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2305071 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2305071 LIMIT 2 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2305071 ORDER BY `minOrder` ASC [ RunTime:0.001592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3553005 LIMIT 4 [ RunTime:0.000802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553005 ORDER BY `minOrder` ASC [ RunTime:0.001847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3553005 ORDER BY `unit` DESC [ RunTime:0.010266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3553005 LIMIT 2 [ RunTime:0.003146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553005 ORDER BY `minOrder` ASC [ RunTime:0.001090s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3547673 LIMIT 4 [ RunTime:0.007141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3547673 ORDER BY `minOrder` ASC [ RunTime:0.005265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3547673 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3547673 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3547673 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536329 LIMIT 4 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536329 ORDER BY `minOrder` ASC [ RunTime:0.001117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536329 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536329 LIMIT 2 [ RunTime:0.001296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536329 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536205 LIMIT 4 [ RunTime:0.006413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536205 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536205 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536205 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536205 ORDER BY `minOrder` ASC [ RunTime:0.001648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536046 LIMIT 4 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536046 ORDER BY `minOrder` ASC [ RunTime:0.002129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536046 ORDER BY `unit` DESC [ RunTime:0.001754s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536046 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536046 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3534735 LIMIT 4 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534735 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3534735 ORDER BY `unit` DESC [ RunTime:0.001873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3534735 LIMIT 2 [ RunTime:0.005828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534735 ORDER BY `minOrder` ASC [ RunTime:0.003148s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3534734 LIMIT 4 [ RunTime:0.002050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534734 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3534734 ORDER BY `unit` DESC [ RunTime:0.001121s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3534734 LIMIT 2 [ RunTime:0.003575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534734 ORDER BY `minOrder` ASC [ RunTime:0.000944s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2300596 LIMIT 4 [ RunTime:0.003226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2300596 ORDER BY `minOrder` ASC [ RunTime:0.000715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2300596 ORDER BY `unit` DESC [ RunTime:0.001866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2300596 LIMIT 2 [ RunTime:0.008308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2300596 ORDER BY `minOrder` ASC [ RunTime:0.009126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2279249 LIMIT 4 [ RunTime:0.001618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2279249 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2279249 ORDER BY `unit` DESC [ RunTime:0.000904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2279249 LIMIT 2 [ RunTime:0.004282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2279249 ORDER BY `minOrder` ASC [ RunTime:0.004583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2278859 LIMIT 4 [ RunTime:0.000785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278859 ORDER BY `minOrder` ASC [ RunTime:0.001485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2278859 ORDER BY `unit` DESC [ RunTime:0.009235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2278859 LIMIT 2 [ RunTime:0.003488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278859 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2278526 LIMIT 4 [ RunTime:0.000692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278526 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2278526 ORDER BY `unit` DESC [ RunTime:0.000456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2278526 LIMIT 2 [ RunTime:0.002472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278526 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2277721 LIMIT 4 [ RunTime:0.001433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277721 ORDER BY `minOrder` ASC [ RunTime:0.000862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2277721 ORDER BY `unit` DESC [ RunTime:0.000479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2277721 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277721 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2277494 LIMIT 4 [ RunTime:0.000638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277494 ORDER BY `minOrder` ASC [ RunTime:0.002243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2277494 ORDER BY `unit` DESC [ RunTime:0.002293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2277494 LIMIT 2 [ RunTime:0.001666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277494 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2275331 LIMIT 4 [ RunTime:0.001803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275331 ORDER BY `minOrder` ASC [ RunTime:0.001088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2275331 ORDER BY `unit` DESC [ RunTime:0.000902s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2275331 LIMIT 2 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275331 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2275324 LIMIT 4 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275324 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2275324 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2275324 LIMIT 2 [ RunTime:0.002072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275324 ORDER BY `minOrder` ASC [ RunTime:0.000686s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'L717HDE15P%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003113s ]