SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001645s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000650s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002732s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000317s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001585s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000256s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000370s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000182s ]
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.000329s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001482s ]
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 'G501%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001607s ]
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 ('8563388','740','8562351','3939917','3939914','3939913','3939918','4573918','8834366','8557672','8556534','8556527','8556072','8556071','6994799','6934249','5972411','5972410','5972409','3776156') ORDER BY FIELD(s.id, 8563388,740,8562351,3939917,3939914,3939913,3939918,4573918,8834366,8557672,8556534,8556527,8556072,8556071,6994799,6934249,5972411,5972410,5972409,3776156) [ RunTime:0.008420s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8563388 LIMIT 4 [ RunTime:0.013418s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8563388 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8563388 ORDER BY `unit` DESC [ RunTime:0.002332s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001907s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8563388 LIMIT 2 [ RunTime:0.004985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8563388 ORDER BY `minOrder` ASC [ RunTime:0.005593s ]
select * from pdf where partno='G5015H24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.011430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 740 LIMIT 4 [ RunTime:0.010374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 740 ORDER BY `minOrder` ASC [ RunTime:0.004994s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 740 ORDER BY `unit` DESC [ RunTime:0.004752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 740 LIMIT 2 [ RunTime:0.005131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 740 ORDER BY `minOrder` ASC [ RunTime:0.000664s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001601s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G501' OR `brand` LIKE 'CML INNOVATIVE TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.001317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8562351 LIMIT 4 [ RunTime:0.001355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8562351 ORDER BY `minOrder` ASC [ RunTime:0.014729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8562351 ORDER BY `unit` DESC [ RunTime:0.001630s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8562351 LIMIT 2 [ RunTime:0.005541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8562351 ORDER BY `minOrder` ASC [ RunTime:0.008835s ]
select * from pdf where partno='G5015E12B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.005389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939917 LIMIT 4 [ RunTime:0.010992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939917 ORDER BY `minOrder` ASC [ RunTime:0.002222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939917 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939917 LIMIT 2 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939917 ORDER BY `minOrder` ASC [ RunTime:0.002011s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939914 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939914 ORDER BY `minOrder` ASC [ RunTime:0.005003s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939914 ORDER BY `unit` DESC [ RunTime:0.004835s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939914 LIMIT 2 [ RunTime:0.007289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939914 ORDER BY `minOrder` ASC [ RunTime:0.002352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939913 LIMIT 4 [ RunTime:0.003039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939913 ORDER BY `minOrder` ASC [ RunTime:0.007293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939913 ORDER BY `unit` DESC [ RunTime:0.005194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939913 LIMIT 2 [ RunTime:0.006363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939913 ORDER BY `minOrder` ASC [ RunTime:0.013074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3939918 LIMIT 4 [ RunTime:0.003520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939918 ORDER BY `minOrder` ASC [ RunTime:0.002670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3939918 ORDER BY `unit` DESC [ RunTime:0.004969s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3939918 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3939918 ORDER BY `minOrder` ASC [ RunTime:0.004532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4573918 LIMIT 4 [ RunTime:0.002122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4573918 ORDER BY `minOrder` ASC [ RunTime:0.001052s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4573918 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4573918 LIMIT 2 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4573918 ORDER BY `minOrder` ASC [ RunTime:0.002826s ]
select * from pdf where partno='G5015M05B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8834366 LIMIT 4 [ RunTime:0.002971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8834366 ORDER BY `minOrder` ASC [ RunTime:0.002709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8834366 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8834366 LIMIT 2 [ RunTime:0.002118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8834366 ORDER BY `minOrder` ASC [ RunTime:0.008332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8557672 LIMIT 4 [ RunTime:0.000840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8557672 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8557672 ORDER BY `unit` DESC [ RunTime:0.002800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8557672 LIMIT 2 [ RunTime:0.001302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8557672 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
select * from pdf where partno='G5015L12B1+6-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.002681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556534 LIMIT 4 [ RunTime:0.003262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556534 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556534 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556534 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556534 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
select * from pdf where partno='G5015E12B1-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556527 LIMIT 4 [ RunTime:0.004843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556527 ORDER BY `minOrder` ASC [ RunTime:0.001051s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556527 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556527 LIMIT 2 [ RunTime:0.001723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556527 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
select * from pdf where partno='G5015H12B1-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.002325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556072 LIMIT 4 [ RunTime:0.001500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556072 ORDER BY `minOrder` ASC [ RunTime:0.001231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556072 ORDER BY `unit` DESC [ RunTime:0.000756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556072 LIMIT 2 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556072 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
select * from pdf where partno='G5015S24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8556071 LIMIT 4 [ RunTime:0.002701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556071 ORDER BY `minOrder` ASC [ RunTime:0.001171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8556071 ORDER BY `unit` DESC [ RunTime:0.001038s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8556071 LIMIT 2 [ RunTime:0.000615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8556071 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='G5015H05B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000591s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6994799 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6994799 ORDER BY `minOrder` ASC [ RunTime:0.002872s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6994799 ORDER BY `unit` DESC [ RunTime:0.005962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6994799 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6994799 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6934249 LIMIT 4 [ RunTime:0.000631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6934249 ORDER BY `minOrder` ASC [ RunTime:0.002367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6934249 ORDER BY `unit` DESC [ RunTime:0.006012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6934249 LIMIT 2 [ RunTime:0.001256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6934249 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
select * from pdf where partno='G5015E12B-RSR-CC' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.000629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5972411 LIMIT 4 [ RunTime:0.002494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972411 ORDER BY `minOrder` ASC [ RunTime:0.001808s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5972411 ORDER BY `unit` DESC [ RunTime:0.000811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5972411 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972411 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
select * from pdf where partno='G5015M24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.003173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5972410 LIMIT 4 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972410 ORDER BY `minOrder` ASC [ RunTime:0.002957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5972410 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5972410 LIMIT 2 [ RunTime:0.001695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972410 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='G5015M12B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.001066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5972409 LIMIT 4 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972409 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5972409 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5972409 LIMIT 2 [ RunTime:0.010534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5972409 ORDER BY `minOrder` ASC [ RunTime:0.008103s ]
select * from pdf where partno='G5015E24B-RSR' and brandshort='Mechatronics Fan Group' limit 1 [ RunTime:0.001989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3776156 LIMIT 4 [ RunTime:0.001627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3776156 ORDER BY `minOrder` ASC [ RunTime:0.002161s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3776156 ORDER BY `unit` DESC [ RunTime:0.000890s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3776156 LIMIT 2 [ RunTime:0.006332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3776156 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'G501%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001341s ]