SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001907s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000492s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002137s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001861s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000599s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 2 [ RunTime:0.000553s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (19,20) [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002015s ]
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 ( `package` = 'LQFP100' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 18:00:16' ) ) AND `categoryid` IN (98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.902233s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.000994s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.007401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.001091s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.007460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 4 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.001155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.007459s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 18:00:16' ) ) AND `categoryid` IN (98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.893361s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `package` = 'LQFP100' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 18:00:16' ) ) AND `categoryid` IN (98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) [ RunTime:1.613488s ]