SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001929s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001481s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.001343s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001193s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000970s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001415s ]
SELECT * FROM `stock_search` WHERE `partno` = 'STM32F407VET6' LIMIT 1 [ RunTime:0.002768s ]
UPDATE `stock_search` SET `count` = 4054 , `updatetime` = '2026-03-05 01:36:06' WHERE `partno` = 'STM32F407VET6' [ RunTime:0.012505s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002363s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.009761s ]
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.001267s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001276s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'STM32F407VET6%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.006478s ]
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 'STM32F407VET6%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001903s ]
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 ('11239700','11612118','11239701','5205','14998','11612025','20124385') ORDER BY FIELD(s.id, 11239700,11612118,11239701,5205,14998,11612025,20124385) [ RunTime:0.010460s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.008925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11239700 LIMIT 4 [ RunTime:0.001907s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239700 ORDER BY `minOrder` ASC [ RunTime:0.002413s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11239700 ORDER BY `unit` DESC [ RunTime:0.005603s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11239700 LIMIT 2 [ RunTime:0.000690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239700 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='STM32F407VET6' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.004839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11612118 LIMIT 4 [ RunTime:0.008086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11612118 ORDER BY `minOrder` ASC [ RunTime:0.006564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11612118 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11612118 LIMIT 2 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11612118 ORDER BY `minOrder` ASC [ RunTime:0.000768s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.006343s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.015914s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11239701 LIMIT 4 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239701 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11239701 ORDER BY `unit` DESC [ RunTime:0.000705s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11239701 LIMIT 2 [ RunTime:0.001719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11239701 ORDER BY `minOrder` ASC [ RunTime:0.001245s ]
select * from pdf where partno='STM32F407VET6TR' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.004221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5205 LIMIT 4 [ RunTime:0.006432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5205 ORDER BY `minOrder` ASC [ RunTime:0.000871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5205 ORDER BY `unit` DESC [ RunTime:0.001936s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5205 LIMIT 2 [ RunTime:0.003444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5205 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.001461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.001379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11612025 LIMIT 4 [ RunTime:0.004401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11612025 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11612025 ORDER BY `unit` DESC [ RunTime:0.002206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11612025 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11612025 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.000297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20124385 LIMIT 4 [ RunTime:0.000673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20124385 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20124385 ORDER BY `unit` DESC [ RunTime:0.001191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20124385 LIMIT 2 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20124385 ORDER BY `minOrder` ASC [ RunTime:0.000793s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.000280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.001717s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'STM32F407VET6%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002782s ]