SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001244s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000423s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001369s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000867s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000190s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000225s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000147s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) [ RunTime:0.000196s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001072s ]
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-27 16:59:59' ) ) AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,10 [ RunTime:0.030298s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2774 LIMIT 4 [ RunTime:0.000546s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2774 ORDER BY `minOrder` ASC [ RunTime:0.000485s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2774 ORDER BY `unit` DESC [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2774 LIMIT 2 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2774 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001709s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCL-S270GC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1315 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1315 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1315 ORDER BY `unit` DESC [ RunTime:0.000523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1315 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1315 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LS R976' OR `brand` LIKE 'AMS OSRAM GROUP%' ) ) LIMIT 1 [ RunTime:0.000541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8351 LIMIT 4 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8351 ORDER BY `unit` DESC [ RunTime:0.000227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8351 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='BAW56S,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 418 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 418 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 418 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 418 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 418 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
select * from pdf where partno='BAS85,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000693s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS85,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006013s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14740 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14740 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14740 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14740 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14740 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N6263' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3089 LIMIT 4 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3089 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3089 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3089 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3089 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LC503FBL1-15Q-A3-00001' OR `brand` LIKE 'CREE LED%' ) ) LIMIT 1 [ RunTime:0.000515s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2233 LIMIT 4 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2233 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2233 LIMIT 2 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
select * from pdf where partno='SS14' and brandshort='ONSEMI' limit 1 [ RunTime:0.001107s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013216s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5373 LIMIT 4 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5373 ORDER BY `minOrder` ASC [ RunTime:0.000558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5373 ORDER BY `unit` DESC [ RunTime:0.000645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5373 LIMIT 2 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5373 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPT-1608CGCK' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6195 LIMIT 4 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6195 ORDER BY `minOrder` ASC [ RunTime:0.000603s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6195 ORDER BY `unit` DESC [ RunTime:0.000598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6195 LIMIT 2 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6195 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B140-13-F' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13579 LIMIT 4 [ RunTime:0.000620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13579 ORDER BY `minOrder` ASC [ RunTime:0.000679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13579 ORDER BY `unit` DESC [ RunTime:0.000629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13579 LIMIT 2 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13579 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMS-C170' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004251s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 16:59:59' ) ) AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.042182s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 16:59:59' ) ) AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) [ RunTime:0.011687s ]