SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001363s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000615s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001173s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.23' ) [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000985s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000190s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000434s ]
SELECT `id` 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.000597s ]
SELECT `id`,`name` FROM `product_type` WHERE `id` 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.000563s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001069s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-20 00:16:12' ) ) 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,10 [ RunTime:0.014411s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711 LIMIT 4 [ RunTime:0.000226s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000768s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711 ORDER BY `unit` DESC [ RunTime:0.000172s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000759s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711 LIMIT 2 [ RunTime:0.000160s ]
select * from pdf where partno='EMK105B7104KV-F' and brandshort='TAIYO YUDEN' limit 1 [ RunTime:0.000702s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001072s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EMK105B7104KV-F' OR `brand` LIKE 'TAIYO YUDEN%' ) ) LIMIT 1 [ RunTime:0.000429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2529 LIMIT 4 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2529 ORDER BY `minOrder` ASC [ RunTime:0.000537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2529 ORDER BY `unit` DESC [ RunTime:0.000514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2529 LIMIT 2 [ RunTime:0.000488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-2' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000789s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4349 LIMIT 4 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4349 ORDER BY `minOrder` ASC [ RunTime:0.000580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4349 ORDER BY `unit` DESC [ RunTime:0.000591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4349 LIMIT 2 [ RunTime:0.000552s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-04V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4348 LIMIT 4 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4348 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4348 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4348 LIMIT 2 [ RunTime:0.000554s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-03V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13674 LIMIT 4 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13674 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13674 ORDER BY `unit` DESC [ RunTime:0.000366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13674 LIMIT 2 [ RunTime:0.000367s ]
select * from pdf where partno='43025-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.000559s ]
select foldpath,foldpath2,filename from pdf_file where id=761289 limit 1 [ RunTime:0.000399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2546 LIMIT 4 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2546 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2546 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2546 LIMIT 2 [ RunTime:0.000358s ]
select * from pdf where partno='39-01-2020' and brandshort='MOLEX' limit 1 [ RunTime:0.000508s ]
select foldpath,foldpath2,filename from pdf_file where id=850267 limit 1 [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3270 LIMIT 4 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3270 ORDER BY `minOrder` ASC [ RunTime:0.000577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3270 ORDER BY `unit` DESC [ RunTime:0.000586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3270 LIMIT 2 [ RunTime:0.000562s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1375820-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4723 LIMIT 4 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4723 ORDER BY `minOrder` ASC [ RunTime:0.000602s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4723 ORDER BY `unit` DESC [ RunTime:0.000559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4723 LIMIT 2 [ RunTime:0.000538s ]
select * from pdf where partno='953697-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000910s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '953697-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4384 LIMIT 4 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4384 ORDER BY `minOrder` ASC [ RunTime:0.000577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4384 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4384 LIMIT 2 [ RunTime:0.000552s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VHR-5N' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2547 LIMIT 4 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2547 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2547 ORDER BY `unit` DESC [ RunTime:0.000560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2547 LIMIT 2 [ RunTime:0.000552s ]
select * from pdf where partno='39-01-2040' and brandshort='MOLEX' limit 1 [ RunTime:0.000971s ]
select foldpath,foldpath2,filename from pdf_file where id=827354 limit 1 [ RunTime:0.000495s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2040' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012155s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-20 00:16:12' ) ) 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 `id` DESC LIMIT 10000 [ RunTime:0.042647s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-20 00:16:12' ) ) 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) ) [ RunTime:0.025937s ]