SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001490s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000512s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001383s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001246s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000262s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000270s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 4 [ RunTime:0.000211s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (25,26) [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001776s ]
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-10-04 04:16:17' ) ) AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:2.116920s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8234 LIMIT 4 [ RunTime:0.001132s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.000551s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8234 ORDER BY `unit` DESC [ RunTime:0.000517s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8234 LIMIT 2 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001124s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33039DR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 72 LIMIT 4 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 72 ORDER BY `unit` DESC [ RunTime:0.000904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 72 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='B72207S0301K101' and brandshort='EPCOS' limit 1 [ RunTime:0.004309s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.001163s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0301K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14946 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14946 ORDER BY `unit` DESC [ RunTime:0.000417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14946 LIMIT 2 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='F75909MB' and brandshort='FINTEK' limit 1 [ RunTime:0.001204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F75909MB' OR `brand` LIKE 'FINTEK%' ) ) LIMIT 1 [ RunTime:0.000734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66 LIMIT 4 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.000523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66 LIMIT 2 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.001037s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.000327s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1012 LIMIT 4 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1012 ORDER BY `unit` DESC [ RunTime:0.000586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1012 LIMIT 2 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10207101009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.011695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7476 LIMIT 4 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7476 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7476 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000830' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 250 LIMIT 4 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.000510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 250 ORDER BY `unit` DESC [ RunTime:0.000483s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 250 LIMIT 2 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='V275LA20AP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001123s ]
select foldpath,foldpath2,filename from pdf_file where id=299558 limit 1 [ RunTime:0.000647s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20AP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 973 LIMIT 4 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 973 ORDER BY `unit` DESC [ RunTime:0.000615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 973 LIMIT 2 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0853.0551' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.003014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6047 LIMIT 4 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6047 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6047 LIMIT 2 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3557-2' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.001954s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7477 LIMIT 4 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7477 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7477 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='MC000832' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000832' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000291s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 04:16:17' ) ) AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.230309s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 04:16:17' ) ) AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184) ) [ RunTime:1.944092s ]