SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001119s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001069s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.25' ) [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000887s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000193s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000180s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002220s ]
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.000751s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001767s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'L717HDE15P%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001581s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'L717HDE15P%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003888s ]
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 = 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.007211s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2310052 LIMIT 4 [ RunTime:0.004297s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2310052 ORDER BY `minOrder` ASC [ RunTime:0.004363s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2310052 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2310052 LIMIT 2 [ RunTime:0.001680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2310052 ORDER BY `minOrder` ASC [ RunTime:0.002201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6943 LIMIT 4 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6943 ORDER BY `minOrder` ASC [ RunTime:0.000823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6943 ORDER BY `unit` DESC [ RunTime:0.001296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6943 LIMIT 2 [ RunTime:0.005188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6943 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.002746s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.001280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16813 LIMIT 4 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813 ORDER BY `minOrder` ASC [ RunTime:0.003341s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16813 ORDER BY `unit` DESC [ RunTime:0.002950s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16813 LIMIT 2 [ RunTime:0.002581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813 ORDER BY `minOrder` ASC [ RunTime:0.001517s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.000583s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15794 LIMIT 4 [ RunTime:0.002090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15794 ORDER BY `minOrder` ASC [ RunTime:0.001088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15794 ORDER BY `unit` DESC [ RunTime:0.000977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15794 LIMIT 2 [ RunTime:0.000716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15794 ORDER BY `minOrder` ASC [ RunTime:0.003175s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.000659s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2305071 LIMIT 4 [ RunTime:0.001376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2305071 ORDER BY `minOrder` ASC [ RunTime:0.004077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2305071 ORDER BY `unit` DESC [ RunTime:0.006216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2305071 LIMIT 2 [ RunTime:0.004961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2305071 ORDER BY `minOrder` ASC [ RunTime:0.004115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3553005 LIMIT 4 [ RunTime:0.001915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553005 ORDER BY `minOrder` ASC [ RunTime:0.008658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3553005 ORDER BY `unit` DESC [ RunTime:0.001079s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3553005 LIMIT 2 [ RunTime:0.000763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553005 ORDER BY `minOrder` ASC [ RunTime:0.001764s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3547673 LIMIT 4 [ RunTime:0.003731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3547673 ORDER BY `minOrder` ASC [ RunTime:0.002975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3547673 ORDER BY `unit` DESC [ RunTime:0.002749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3547673 LIMIT 2 [ RunTime:0.003939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3547673 ORDER BY `minOrder` ASC [ RunTime:0.006396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536329 LIMIT 4 [ RunTime:0.001212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536329 ORDER BY `minOrder` ASC [ RunTime:0.000695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536329 ORDER BY `unit` DESC [ RunTime:0.000569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536329 LIMIT 2 [ RunTime:0.003347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536329 ORDER BY `minOrder` ASC [ RunTime:0.006300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536205 LIMIT 4 [ RunTime:0.000920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536205 ORDER BY `minOrder` ASC [ RunTime:0.000669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536205 ORDER BY `unit` DESC [ RunTime:0.000596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536205 LIMIT 2 [ RunTime:0.002863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536205 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536046 LIMIT 4 [ RunTime:0.002177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536046 ORDER BY `minOrder` ASC [ RunTime:0.001359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536046 ORDER BY `unit` DESC [ RunTime:0.001160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536046 LIMIT 2 [ RunTime:0.000823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536046 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3534735 LIMIT 4 [ RunTime:0.000754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534735 ORDER BY `minOrder` ASC [ RunTime:0.000656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3534735 ORDER BY `unit` DESC [ RunTime:0.001398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3534735 LIMIT 2 [ RunTime:0.002550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534735 ORDER BY `minOrder` ASC [ RunTime:0.001100s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3534734 LIMIT 4 [ RunTime:0.001867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534734 ORDER BY `minOrder` ASC [ RunTime:0.006496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3534734 ORDER BY `unit` DESC [ RunTime:0.000684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3534734 LIMIT 2 [ RunTime:0.006559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534734 ORDER BY `minOrder` ASC [ RunTime:0.001317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2300596 LIMIT 4 [ RunTime:0.002314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2300596 ORDER BY `minOrder` ASC [ RunTime:0.001429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2300596 ORDER BY `unit` DESC [ RunTime:0.009904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2300596 LIMIT 2 [ RunTime:0.003799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2300596 ORDER BY `minOrder` ASC [ RunTime:0.002093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2279249 LIMIT 4 [ RunTime:0.006121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2279249 ORDER BY `minOrder` ASC [ RunTime:0.009589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2279249 ORDER BY `unit` DESC [ RunTime:0.002454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2279249 LIMIT 2 [ RunTime:0.009424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2279249 ORDER BY `minOrder` ASC [ RunTime:0.003522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2278859 LIMIT 4 [ RunTime:0.004568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278859 ORDER BY `minOrder` ASC [ RunTime:0.000967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2278859 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2278859 LIMIT 2 [ RunTime:0.000616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278859 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2278526 LIMIT 4 [ RunTime:0.000790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278526 ORDER BY `minOrder` ASC [ RunTime:0.007848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2278526 ORDER BY `unit` DESC [ RunTime:0.016889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2278526 LIMIT 2 [ RunTime:0.001337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278526 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2277721 LIMIT 4 [ RunTime:0.000936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277721 ORDER BY `minOrder` ASC [ RunTime:0.009297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2277721 ORDER BY `unit` DESC [ RunTime:0.007744s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2277721 LIMIT 2 [ RunTime:0.007939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277721 ORDER BY `minOrder` ASC [ RunTime:0.001925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2277494 LIMIT 4 [ RunTime:0.000930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277494 ORDER BY `minOrder` ASC [ RunTime:0.003126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2277494 ORDER BY `unit` DESC [ RunTime:0.003914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2277494 LIMIT 2 [ RunTime:0.014647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277494 ORDER BY `minOrder` ASC [ RunTime:0.005435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2275331 LIMIT 4 [ RunTime:0.000718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275331 ORDER BY `minOrder` ASC [ RunTime:0.006198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2275331 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2275331 LIMIT 2 [ RunTime:0.002492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275331 ORDER BY `minOrder` ASC [ RunTime:0.002377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2275324 LIMIT 4 [ RunTime:0.013660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275324 ORDER BY `minOrder` ASC [ RunTime:0.000761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2275324 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2275324 LIMIT 2 [ RunTime:0.001184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275324 ORDER BY `minOrder` ASC [ RunTime:0.002706s ]
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.001187s ]