SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001235s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001327s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001133s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000230s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000245s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000188s ]
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.000381s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001119s ]
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-29 04:07:51' ) ) 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 240,10 [ RunTime:0.017336s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 477 LIMIT 4 [ RunTime:0.000367s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 477 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 477 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001098s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 477 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 477 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000947s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4-640441-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2527 LIMIT 4 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2527 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2527 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2527 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2527 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GHR-10V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 231 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 231 ORDER BY `unit` DESC [ RunTime:0.000212s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 231 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3249 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3249 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3249 ORDER BY `unit` DESC [ RunTime:0.000316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3249 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3249 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='39-01-4051' and brandshort='MOLEX' limit 1 [ RunTime:0.001491s ]
select foldpath,foldpath2,filename from pdf_file where id=850294 limit 1 [ RunTime:0.000750s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-4051' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.008679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9270 LIMIT 4 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9270 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9270 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9270 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9270 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0808' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.008418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2656 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2656 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2656 ORDER BY `unit` DESC [ RunTime:0.000459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2656 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2656 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='206429-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000895s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206429-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 468 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 468 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 468 ORDER BY `unit` DESC [ RunTime:0.000426s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 468 LIMIT 2 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 468 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640441-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13648 LIMIT 4 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13648 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13648 ORDER BY `unit` DESC [ RunTime:0.000457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13648 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13648 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='43025-1200' and brandshort='MOLEX' limit 1 [ RunTime:0.001160s ]
select foldpath,foldpath2,filename from pdf_file where id=827943 limit 1 [ RunTime:0.000588s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-1200' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.009697s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11040 LIMIT 4 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11040 ORDER BY `minOrder` ASC [ RunTime:0.000489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11040 ORDER BY `unit` DESC [ RunTime:0.000486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11040 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11040 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='105308-1214' and brandshort='MOLEX' limit 1 [ RunTime:0.001274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '105308-1214' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10663 LIMIT 4 [ RunTime:0.000727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10663 ORDER BY `unit` DESC [ RunTime:0.000575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10663 LIMIT 2 [ RunTime:0.000561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.001004s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-29 04:07:51' ) ) 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.044554s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-29 04:07:51' ) ) 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.024786s ]