SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001578s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007108s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001256s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.033559s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002406s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.048674s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001439s ]
SELECT * FROM `stock_search` WHERE `partno` = 'TL082CD' LIMIT 1 [ RunTime:0.036605s ]
UPDATE `stock_search` SET `count` = 4760 , `updatetime` = '2026-03-16 18:18:33' WHERE `partno` = 'TL082CD' [ RunTime:0.013147s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 46 LIMIT 1 [ RunTime:0.006406s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 46 [ RunTime:0.032728s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) [ RunTime:0.032092s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001431s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'TL082CD%' AND `status` <> 2 AND `categoryid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) ) AND `u`.`lockUser` = '0' [ RunTime:0.140998s ]
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 'TL082CD%' AND `status` <> 2 AND `categoryid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084805s ]
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 ('11429','2240') ORDER BY FIELD(s.id, 11429,2240) [ RunTime:0.125537s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.011022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11429 LIMIT 4 [ RunTime:0.111315s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.011738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11429 ORDER BY `minOrder` ASC [ RunTime:0.135870s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.026049s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11429 ORDER BY `unit` DESC [ RunTime:0.022077s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.063310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11429 LIMIT 2 [ RunTime:0.160434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11429 ORDER BY `minOrder` ASC [ RunTime:0.037943s ]
select * from pdf where partno='TL082CDT' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.048413s ]
select foldpath,foldpath2,filename from pdf_file where id=589118 limit 1 [ RunTime:0.044403s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001490s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082CDT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.143323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2240 LIMIT 4 [ RunTime:0.056918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2240 ORDER BY `minOrder` ASC [ RunTime:0.075895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2240 ORDER BY `unit` DESC [ RunTime:0.042501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2240 LIMIT 2 [ RunTime:0.103250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2240 ORDER BY `minOrder` ASC [ RunTime:0.000522s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082CD' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.019433s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'TL082CD%' AND `status` <> 2 AND `categoryid` IN (516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.075517s ]