SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001495s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000992s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001752s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001384s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000524s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001188s ]
SELECT * FROM `stock_search` WHERE `partno` = 'BSS84' LIMIT 1 [ RunTime:0.002505s ]
UPDATE `stock_search` SET `count` = 4497 , `updatetime` = '2026-03-02 00:14:09' WHERE `partno` = 'BSS84' [ RunTime:0.005746s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 132 LIMIT 1 [ RunTime:0.000754s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 132 [ RunTime:0.004719s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000619s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001187s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'BSS84%' AND `status` <> 2 AND `categoryid` = 132 ) AND `u`.`lockUser` = '0' [ RunTime:0.016935s ]
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 'BSS84%' AND `status` <> 2 AND `categoryid` = 132 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021944s ]
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 ('6413','247','5015','4529','16267','15247','7804') ORDER BY FIELD(s.id, 6413,247,5015,4529,16267,15247,7804) [ RunTime:0.022160s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6413 LIMIT 4 [ RunTime:0.017642s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.018712s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6413 ORDER BY `unit` DESC [ RunTime:0.015674s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6413 LIMIT 2 [ RunTime:0.004148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6413 ORDER BY `minOrder` ASC [ RunTime:0.003556s ]
select * from pdf where partno='BSS84' and brandshort='ONSEMI' limit 1 [ RunTime:0.010074s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003421s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.025945s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 247 LIMIT 4 [ RunTime:0.022022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.013688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 247 ORDER BY `unit` DESC [ RunTime:0.004908s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 247 LIMIT 2 [ RunTime:0.004213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 247 ORDER BY `minOrder` ASC [ RunTime:0.002693s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84PH6327XTSA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.021528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5015 LIMIT 4 [ RunTime:0.015483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5015 ORDER BY `minOrder` ASC [ RunTime:0.018405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5015 ORDER BY `unit` DESC [ RunTime:0.010061s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5015 LIMIT 2 [ RunTime:0.011071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5015 ORDER BY `minOrder` ASC [ RunTime:0.006466s ]
select * from pdf where partno='BSS84AK,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.007675s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84AK,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.012420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4529 LIMIT 4 [ RunTime:0.006659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4529 ORDER BY `minOrder` ASC [ RunTime:0.003442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4529 ORDER BY `unit` DESC [ RunTime:0.000458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4529 LIMIT 2 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4529 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='BSS84-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002540s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.018474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16267 LIMIT 4 [ RunTime:0.014351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16267 ORDER BY `minOrder` ASC [ RunTime:0.019310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16267 ORDER BY `unit` DESC [ RunTime:0.022665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16267 LIMIT 2 [ RunTime:0.076614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16267 ORDER BY `minOrder` ASC [ RunTime:0.002196s ]
select * from pdf where partno='BSS84' and brandshort='ONSEMI' limit 1 [ RunTime:0.009497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15247 LIMIT 4 [ RunTime:0.021868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15247 ORDER BY `minOrder` ASC [ RunTime:0.042784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15247 ORDER BY `unit` DESC [ RunTime:0.035243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15247 LIMIT 2 [ RunTime:0.028732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15247 ORDER BY `minOrder` ASC [ RunTime:0.011188s ]
select * from pdf where partno='BSS84' and brandshort='ONSEMI' limit 1 [ RunTime:0.000535s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016027s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7804 LIMIT 4 [ RunTime:0.027096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7804 ORDER BY `minOrder` ASC [ RunTime:0.019094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7804 ORDER BY `unit` DESC [ RunTime:0.021521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7804 LIMIT 2 [ RunTime:0.049868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7804 ORDER BY `minOrder` ASC [ RunTime:0.015586s ]
select * from pdf where partno='BSS84AKMB,315' and brandshort='NEXPERIA' limit 1 [ RunTime:0.019367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSS84AKMB,315' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.024956s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'BSS84%' AND `status` <> 2 AND `categoryid` = 132 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.066687s ]