SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001222s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000412s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001722s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000821s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000179s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 39 LIMIT 1 [ RunTime:0.000355s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.000917s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) [ RunTime:0.000984s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001988s ]
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 20:52:23' ) ) AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.029604s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14916 LIMIT 4 [ RunTime:0.000485s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14916 ORDER BY `unit` DESC [ RunTime:0.000419s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001734s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14916 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000876s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001702s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.018675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14961 LIMIT 4 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14961 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14961 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10843 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10843 ORDER BY `unit` DESC [ RunTime:0.000423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10843 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14914 LIMIT 4 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14914 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14914 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.018227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9734 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9734 ORDER BY `unit` DESC [ RunTime:0.000587s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9734 LIMIT 2 [ RunTime:0.000544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C02-RDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14977 LIMIT 4 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.000568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14977 ORDER BY `unit` DESC [ RunTime:0.000555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14977 LIMIT 2 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9412 LIMIT 4 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.000636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9412 ORDER BY `unit` DESC [ RunTime:0.000586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9412 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7531 LIMIT 4 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7531 ORDER BY `unit` DESC [ RunTime:0.001969s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7531 LIMIT 2 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256YI-GT3' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9415 LIMIT 4 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.000822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9415 ORDER BY `unit` DESC [ RunTime:0.000595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9415 LIMIT 2 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M02-DRCS6TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10888 LIMIT 4 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10888 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10888 LIMIT 2 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000906s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 20:52:23' ) ) AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.042214s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 20:52:23' ) ) AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419) ) [ RunTime:0.027894s ]