SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001171s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000685s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001702s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.151' ) [ RunTime:0.002893s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002494s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000284s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000351s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000248s ]
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.000438s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002264s ]
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 'DT04-2P%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005346s ]
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 ('3022531','1898876','3026539','1901170','3035769','3026536','1901197','1899666','3029262','3203811','3035777','3034615','3035748','1900726','3035749','3022534','3033197','1900481','1892166','3022875') ORDER BY FIELD(s.id, 3022531,1898876,3026539,1901170,3035769,3026536,1901197,1899666,3029262,3203811,3035777,3034615,3035748,1900726,3035749,3022534,3033197,1900481,1892166,3022875) [ RunTime:0.006926s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3022531 LIMIT 4 [ RunTime:0.005152s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022531 ORDER BY `minOrder` ASC [ RunTime:0.001526s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001728s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3022531 ORDER BY `unit` DESC [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3022531 LIMIT 2 [ RunTime:0.002387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022531 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1898876 LIMIT 4 [ RunTime:0.002324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1898876 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1898876 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1898876 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1898876 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='DT04-2P-CE03' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.004277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3026539 LIMIT 4 [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026539 ORDER BY `minOrder` ASC [ RunTime:0.002698s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3026539 ORDER BY `unit` DESC [ RunTime:0.005583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3026539 LIMIT 2 [ RunTime:0.007865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026539 ORDER BY `minOrder` ASC [ RunTime:0.002129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1901170 LIMIT 4 [ RunTime:0.003504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901170 ORDER BY `minOrder` ASC [ RunTime:0.002018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1901170 ORDER BY `unit` DESC [ RunTime:0.000484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1901170 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901170 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='DT04-2P-TN31' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035769 LIMIT 4 [ RunTime:0.001970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035769 ORDER BY `minOrder` ASC [ RunTime:0.002663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035769 ORDER BY `unit` DESC [ RunTime:0.004051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035769 LIMIT 2 [ RunTime:0.001400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035769 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='DT04-2P-TE81' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3026536 LIMIT 4 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026536 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3026536 ORDER BY `unit` DESC [ RunTime:0.002233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3026536 LIMIT 2 [ RunTime:0.003250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026536 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
select * from pdf where partno='DT04-2P-C015' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1901197 LIMIT 4 [ RunTime:0.002332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901197 ORDER BY `minOrder` ASC [ RunTime:0.000719s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1901197 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1901197 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901197 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
select * from pdf where partno='DT04-2P-TN32' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1899666 LIMIT 4 [ RunTime:0.001398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1899666 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1899666 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1899666 LIMIT 2 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1899666 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='DT04-2P-CE04' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3029262 LIMIT 4 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3029262 ORDER BY `minOrder` ASC [ RunTime:0.006612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3029262 ORDER BY `unit` DESC [ RunTime:0.003916s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3029262 LIMIT 2 [ RunTime:0.001663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3029262 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='DT04-2P-E004' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.003157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3203811 LIMIT 4 [ RunTime:0.000773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3203811 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3203811 ORDER BY `unit` DESC [ RunTime:0.006763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3203811 LIMIT 2 [ RunTime:0.005723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3203811 ORDER BY `minOrder` ASC [ RunTime:0.000812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035777 LIMIT 4 [ RunTime:0.001209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035777 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035777 ORDER BY `unit` DESC [ RunTime:0.000672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035777 LIMIT 2 [ RunTime:0.003260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035777 ORDER BY `minOrder` ASC [ RunTime:0.001674s ]
select * from pdf where partno='DT04-2P-TE31' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001561s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3034615 LIMIT 4 [ RunTime:0.003645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3034615 ORDER BY `minOrder` ASC [ RunTime:0.007429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3034615 ORDER BY `unit` DESC [ RunTime:0.007648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3034615 LIMIT 2 [ RunTime:0.004525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3034615 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
select * from pdf where partno='DT04-2P-TN82' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000703s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035748 LIMIT 4 [ RunTime:0.002792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035748 ORDER BY `minOrder` ASC [ RunTime:0.002199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035748 ORDER BY `unit` DESC [ RunTime:0.010301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035748 LIMIT 2 [ RunTime:0.002546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035748 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='DT04-2P-TN81' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000661s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1900726 LIMIT 4 [ RunTime:0.002859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900726 ORDER BY `minOrder` ASC [ RunTime:0.012219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1900726 ORDER BY `unit` DESC [ RunTime:0.002736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1900726 LIMIT 2 [ RunTime:0.007031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900726 ORDER BY `minOrder` ASC [ RunTime:0.007042s ]
select * from pdf where partno='DT04-2P-RT25' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035749 LIMIT 4 [ RunTime:0.003001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035749 ORDER BY `minOrder` ASC [ RunTime:0.001503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035749 ORDER BY `unit` DESC [ RunTime:0.000569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035749 LIMIT 2 [ RunTime:0.001888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035749 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
select * from pdf where partno='DT04-2P-TE82' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3022534 LIMIT 4 [ RunTime:0.006183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022534 ORDER BY `minOrder` ASC [ RunTime:0.008740s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3022534 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3022534 LIMIT 2 [ RunTime:0.003649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022534 ORDER BY `minOrder` ASC [ RunTime:0.004622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3033197 LIMIT 4 [ RunTime:0.003233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3033197 ORDER BY `minOrder` ASC [ RunTime:0.006113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3033197 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3033197 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3033197 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
select * from pdf where partno='DT04-2P-CE01' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.002647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1900481 LIMIT 4 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900481 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1900481 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1900481 LIMIT 2 [ RunTime:0.002944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900481 ORDER BY `minOrder` ASC [ RunTime:0.002672s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1892166 LIMIT 4 [ RunTime:0.003519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1892166 ORDER BY `minOrder` ASC [ RunTime:0.010441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1892166 ORDER BY `unit` DESC [ RunTime:0.005997s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1892166 LIMIT 2 [ RunTime:0.002451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1892166 ORDER BY `minOrder` ASC [ RunTime:0.001485s ]
select * from pdf where partno='DT04-2P-E003' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3022875 LIMIT 4 [ RunTime:0.007638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022875 ORDER BY `minOrder` ASC [ RunTime:0.000549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3022875 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3022875 LIMIT 2 [ RunTime:0.001237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022875 ORDER BY `minOrder` ASC [ RunTime:0.001572s ]
select * from pdf where partno='DT04-2P-TE32' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.003306s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'DT04-2P%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004933s ]