SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002360s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000651s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002870s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000424s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001063s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001074s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001104s ]
SELECT * FROM `stock_search` WHERE `partno` = 'STM32F407VGT6' LIMIT 1 [ RunTime:0.000615s ]
UPDATE `stock_search` SET `count` = 4235 , `updatetime` = '2026-03-05 04:58:21' WHERE `partno` = 'STM32F407VGT6' [ RunTime:0.005557s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000216s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000180s ]
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.000277s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000994s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'STM32F407VGT6%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.002241s ]
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 'STM32F407VGT6%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002659s ]
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 ('11239745','14999','5206','11239744','19223877') ORDER BY FIELD(s.id, 11239745,14999,5206,11239744,19223877) [ RunTime:0.004056s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11239745 LIMIT 4 [ RunTime:0.001506s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239745 ORDER BY `minOrder` ASC [ RunTime:0.006334s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11239745 ORDER BY `unit` DESC [ RunTime:0.000431s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000784s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11239745 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239745 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='STM32F407VGT6TR' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.002709s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.009956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000790s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.001222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.001242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.003723s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.000922s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.016276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5206 LIMIT 4 [ RunTime:0.001489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5206 ORDER BY `minOrder` ASC [ RunTime:0.000799s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5206 ORDER BY `unit` DESC [ RunTime:0.005076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5206 LIMIT 2 [ RunTime:0.009351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5206 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11239744 LIMIT 4 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239744 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11239744 ORDER BY `unit` DESC [ RunTime:0.004272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11239744 LIMIT 2 [ RunTime:0.000946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239744 ORDER BY `minOrder` ASC [ RunTime:0.002683s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.001329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19223877 LIMIT 4 [ RunTime:0.002943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19223877 ORDER BY `minOrder` ASC [ RunTime:0.004822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19223877 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19223877 LIMIT 2 [ RunTime:0.002511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19223877 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
select * from pdf where partno='STM32F407VGT6J' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.001035s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'STM32F407VGT6%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000749s ]