SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002120s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000553s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001994s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001777s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001747s ]
SELECT * FROM `stock_search` WHERE `partno` = 'L717HDE15P' LIMIT 1 [ RunTime:0.000488s ]
UPDATE `stock_search` SET `count` = 10 WHERE `partno` = 'L717HDE15P' [ RunTime:0.001763s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000248s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000222s ]
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.000374s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001942s ]
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.006028s ]
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.000606s ]
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.006264s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2310052 LIMIT 4 [ RunTime:0.003404s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2310052 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000797s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2310052 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000777s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2310052 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2310052 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6943 LIMIT 4 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6943 ORDER BY `minOrder` ASC [ RunTime:0.001103s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6943 ORDER BY `unit` DESC [ RunTime:0.003217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6943 LIMIT 2 [ RunTime:0.002846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6943 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.002493s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.001842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16813 LIMIT 4 [ RunTime:0.005423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813 ORDER BY `minOrder` ASC [ RunTime:0.001009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16813 ORDER BY `unit` DESC [ RunTime:0.003177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16813 LIMIT 2 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16813 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.000467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15794 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15794 ORDER BY `minOrder` ASC [ RunTime:0.003550s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15794 ORDER BY `unit` DESC [ RunTime:0.000596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15794 LIMIT 2 [ RunTime:0.002538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15794 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='L717HDE15P' and brandshort='AMPHENOL COMMUNICATIONS SOLUTIONS' limit 1 [ RunTime:0.000763s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L717HDE15P' OR `brand` LIKE 'AMPHENOL COMMUNICATIONS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2305071 LIMIT 4 [ RunTime:0.000912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2305071 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2305071 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2305071 LIMIT 2 [ RunTime:0.001471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2305071 ORDER BY `minOrder` ASC [ RunTime:0.000988s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3553005 LIMIT 4 [ RunTime:0.002168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553005 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3553005 ORDER BY `unit` DESC [ RunTime:0.000706s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3553005 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3553005 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3547673 LIMIT 4 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3547673 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3547673 ORDER BY `unit` DESC [ RunTime:0.001019s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3547673 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3547673 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536329 LIMIT 4 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536329 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536329 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536329 LIMIT 2 [ RunTime:0.001076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536329 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536205 LIMIT 4 [ RunTime:0.000956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536205 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536205 ORDER BY `unit` DESC [ RunTime:0.000843s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536205 LIMIT 2 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536205 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3536046 LIMIT 4 [ RunTime:0.000785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536046 ORDER BY `minOrder` ASC [ RunTime:0.000498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3536046 ORDER BY `unit` DESC [ RunTime:0.002500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3536046 LIMIT 2 [ RunTime:0.001665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3536046 ORDER BY `minOrder` ASC [ RunTime:0.001066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3534735 LIMIT 4 [ RunTime:0.001178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534735 ORDER BY `minOrder` ASC [ RunTime:0.000637s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3534735 ORDER BY `unit` DESC [ RunTime:0.001524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3534735 LIMIT 2 [ RunTime:0.001558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534735 ORDER BY `minOrder` ASC [ RunTime:0.002019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3534734 LIMIT 4 [ RunTime:0.000525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534734 ORDER BY `minOrder` ASC [ RunTime:0.000977s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3534734 ORDER BY `unit` DESC [ RunTime:0.000951s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3534734 LIMIT 2 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3534734 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2300596 LIMIT 4 [ RunTime:0.000980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2300596 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2300596 ORDER BY `unit` DESC [ RunTime:0.002860s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2300596 LIMIT 2 [ RunTime:0.001214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2300596 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2279249 LIMIT 4 [ RunTime:0.001277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2279249 ORDER BY `minOrder` ASC [ RunTime:0.000944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2279249 ORDER BY `unit` DESC [ RunTime:0.000481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2279249 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2279249 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2278859 LIMIT 4 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278859 ORDER BY `minOrder` ASC [ RunTime:0.004567s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2278859 ORDER BY `unit` DESC [ RunTime:0.001359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2278859 LIMIT 2 [ RunTime:0.000996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278859 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2278526 LIMIT 4 [ RunTime:0.002652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278526 ORDER BY `minOrder` ASC [ RunTime:0.004633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2278526 ORDER BY `unit` DESC [ RunTime:0.002489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2278526 LIMIT 2 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2278526 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2277721 LIMIT 4 [ RunTime:0.000883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277721 ORDER BY `minOrder` ASC [ RunTime:0.001178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2277721 ORDER BY `unit` DESC [ RunTime:0.001223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2277721 LIMIT 2 [ RunTime:0.001988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277721 ORDER BY `minOrder` ASC [ RunTime:0.000728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2277494 LIMIT 4 [ RunTime:0.008658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277494 ORDER BY `minOrder` ASC [ RunTime:0.003088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2277494 ORDER BY `unit` DESC [ RunTime:0.010170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2277494 LIMIT 2 [ RunTime:0.006903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2277494 ORDER BY `minOrder` ASC [ RunTime:0.003050s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2275331 LIMIT 4 [ RunTime:0.002695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275331 ORDER BY `minOrder` ASC [ RunTime:0.003045s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2275331 ORDER BY `unit` DESC [ RunTime:0.005700s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2275331 LIMIT 2 [ RunTime:0.007885s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275331 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2275324 LIMIT 4 [ RunTime:0.002478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275324 ORDER BY `minOrder` ASC [ RunTime:0.005208s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2275324 ORDER BY `unit` DESC [ RunTime:0.007005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2275324 LIMIT 2 [ RunTime:0.000598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2275324 ORDER BY `minOrder` ASC [ RunTime:0.003428s ]
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.009898s ]