SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002132s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000597s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001552s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001064s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000221s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000253s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000202s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) [ RunTime:0.000506s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002537s ]
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 ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006887s ]
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 ('6711','2529','4349','4348','13674','2546','3270','4723','4384','2547','4347','13676','2157','2162','443','13442','14673','2160','2552','11571') ORDER BY FIELD(s.id, 6711,2529,4349,4348,13674,2546,3270,4723,4384,2547,4347,13676,2157,2162,443,13442,14673,2160,2552,11571) [ RunTime:0.002495s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711 LIMIT 4 [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000806s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='EMK105B7104KV-F' and brandshort='TAIYO YUDEN' limit 1 [ RunTime:0.002286s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EMK105B7104KV-F' OR `brand` LIKE 'TAIYO YUDEN%' ) ) LIMIT 1 [ RunTime:0.002007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2529 LIMIT 4 [ RunTime:0.000895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2529 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2529 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2529 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2529 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-2' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.001037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4349 LIMIT 4 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4349 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4349 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4349 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4349 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-04V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4348 LIMIT 4 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4348 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4348 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4348 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4348 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-03V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000624s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13674 LIMIT 4 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13674 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13674 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13674 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13674 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='43025-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.001327s ]
select foldpath,foldpath2,filename from pdf_file where id=761289 limit 1 [ RunTime:0.000836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2546 LIMIT 4 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2546 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2546 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2546 LIMIT 2 [ RunTime:0.001310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2546 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
select * from pdf where partno='39-01-2020' and brandshort='MOLEX' limit 1 [ RunTime:0.001505s ]
select foldpath,foldpath2,filename from pdf_file where id=850267 limit 1 [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006787s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3270 LIMIT 4 [ RunTime:0.000606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3270 ORDER BY `minOrder` ASC [ RunTime:0.000744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3270 ORDER BY `unit` DESC [ RunTime:0.000417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3270 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3270 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1375820-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4723 LIMIT 4 [ RunTime:0.001769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4723 ORDER BY `minOrder` ASC [ RunTime:0.001443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4723 ORDER BY `unit` DESC [ RunTime:0.000171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4723 LIMIT 2 [ RunTime:0.000685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4723 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
select * from pdf where partno='953697-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '953697-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4384 LIMIT 4 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4384 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4384 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4384 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4384 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VHR-5N' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2547 LIMIT 4 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2547 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2547 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2547 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2547 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
select * from pdf where partno='39-01-2040' and brandshort='MOLEX' limit 1 [ RunTime:0.000630s ]
select foldpath,foldpath2,filename from pdf_file where id=827354 limit 1 [ RunTime:0.000438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2040' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4347 LIMIT 4 [ RunTime:0.001664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4347 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4347 ORDER BY `unit` DESC [ RunTime:0.000623s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4347 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4347 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-02V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13676 LIMIT 4 [ RunTime:0.001243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13676 ORDER BY `minOrder` ASC [ RunTime:0.000942s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13676 ORDER BY `unit` DESC [ RunTime:0.000744s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13676 LIMIT 2 [ RunTime:0.000589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13676 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
select * from pdf where partno='43025-0800' and brandshort='MOLEX' limit 1 [ RunTime:0.000911s ]
select foldpath,foldpath2,filename from pdf_file where id=827943 limit 1 [ RunTime:0.003772s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0800' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2157 LIMIT 4 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2157 ORDER BY `minOrder` ASC [ RunTime:0.000800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2157 ORDER BY `unit` DESC [ RunTime:0.001234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2157 LIMIT 2 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2157 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-1023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2162 LIMIT 4 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2162 ORDER BY `minOrder` ASC [ RunTime:0.000612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2162 ORDER BY `unit` DESC [ RunTime:0.000588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2162 LIMIT 2 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2162 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-2023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 443 LIMIT 4 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 443 ORDER BY `minOrder` ASC [ RunTime:0.000793s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 443 ORDER BY `unit` DESC [ RunTime:0.000759s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 443 LIMIT 2 [ RunTime:0.000724s ]
SELECT * FROM `stock_price` WHERE `stockid` = 443 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640440-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13442 LIMIT 4 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13442 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13442 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12063C103KAT2A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14673 LIMIT 4 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14673 ORDER BY `minOrder` ASC [ RunTime:0.000842s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14673 ORDER BY `unit` DESC [ RunTime:0.000767s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14673 LIMIT 2 [ RunTime:0.000728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14673 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
select * from pdf where partno='51021-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.003165s ]
select foldpath,foldpath2,filename from pdf_file where id=824931 limit 1 [ RunTime:0.000751s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51021-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2160 LIMIT 4 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2160 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2160 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2160 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2160 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-1032' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.004902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2552 LIMIT 4 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2552 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2552 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2552 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2552 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='39-01-2041' and brandshort='MOLEX' limit 1 [ RunTime:0.000779s ]
select foldpath,foldpath2,filename from pdf_file where id=850255 limit 1 [ RunTime:0.004030s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2041' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11571 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11571 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11571 ORDER BY `unit` DESC [ RunTime:0.000476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11571 LIMIT 2 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11571 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-969508-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.008678s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004296s ]