SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001949s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000568s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002134s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002046s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005703s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001836s ]
SELECT * FROM `stock_search` WHERE `partno` = '1N4007' LIMIT 1 [ RunTime:0.000904s ]
UPDATE `stock_search` SET `count` = 3613 , `updatetime` = '2026-03-03 20:05:42' WHERE `partno` = '1N4007' [ RunTime:0.001779s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001793s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000252s ]
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.000386s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002121s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '1N4007%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.011699s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE '1N4007%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005073s ]
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 = 1) ) AND `s`.`id` IN ('2092','6205','6333','6833','4526','6361','3117') ORDER BY FIELD(s.id, 2092,6205,6333,6833,4526,6361,3117) [ RunTime:0.004360s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2092 LIMIT 4 [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2092 ORDER BY `minOrder` ASC [ RunTime:0.000843s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2092 ORDER BY `unit` DESC [ RunTime:0.004371s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000946s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2092 LIMIT 2 [ RunTime:0.000754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2092 ORDER BY `minOrder` ASC [ RunTime:0.003271s ]
select * from pdf where partno='1N4007G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002645s ]
select foldpath,foldpath2,filename from pdf_file where id=581385 limit 1 [ RunTime:0.001160s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002167s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6205 LIMIT 4 [ RunTime:0.004720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6205 ORDER BY `minOrder` ASC [ RunTime:0.011412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6205 ORDER BY `unit` DESC [ RunTime:0.004055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6205 LIMIT 2 [ RunTime:0.000902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6205 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='1N4007' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.007502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6333 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6333 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6333 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6333 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6333 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
select * from pdf where partno='1N4007RLG' and brandshort='ONSEMI' limit 1 [ RunTime:0.000307s ]
select foldpath,foldpath2,filename from pdf_file where id=581385 limit 1 [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007RLG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6833 LIMIT 4 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6833 ORDER BY `minOrder` ASC [ RunTime:0.002081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6833 ORDER BY `unit` DESC [ RunTime:0.003084s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6833 LIMIT 2 [ RunTime:0.002337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6833 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='1N4007-E3/73' and brandshort='VISHAY' limit 1 [ RunTime:0.002807s ]
select foldpath,foldpath2,filename from pdf_file where id=1299729 limit 1 [ RunTime:0.002202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007-E3/73' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.007972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4526 LIMIT 4 [ RunTime:0.003907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4526 ORDER BY `minOrder` ASC [ RunTime:0.002854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4526 ORDER BY `unit` DESC [ RunTime:0.001473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4526 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4526 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='1N4007-T' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001628s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007-T' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6361 LIMIT 4 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6361 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6361 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6361 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6361 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007RLG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3117 LIMIT 4 [ RunTime:0.000544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3117 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3117 ORDER BY `unit` DESC [ RunTime:0.000481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3117 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3117 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='1N4007' and brandshort='NTE ELECTRONICS' limit 1 [ RunTime:0.004106s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007' OR `brand` LIKE 'NTE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000992s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '1N4007%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000900s ]