SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001815s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002120s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001539s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.015813s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001640s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.014102s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001436s ]
SELECT * FROM `stock_search` WHERE `partno` = 'TL082CD' LIMIT 1 [ RunTime:0.014467s ]
UPDATE `stock_search` SET `count` = 4259 , `updatetime` = '2026-03-16 11:29:36' WHERE `partno` = 'TL082CD' [ RunTime:0.006324s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 46 LIMIT 1 [ RunTime:0.002864s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 46 [ RunTime:0.007563s ]
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.020300s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001767s ]
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.009161s ]
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.018362s ]
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.003522s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11429 LIMIT 4 [ RunTime:0.024519s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11429 ORDER BY `minOrder` ASC [ RunTime:0.013371s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11429 ORDER BY `unit` DESC [ RunTime:0.001542s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11429 LIMIT 2 [ RunTime:0.018626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11429 ORDER BY `minOrder` ASC [ RunTime:0.002068s ]
select * from pdf where partno='TL082CDT' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.016303s ]
select foldpath,foldpath2,filename from pdf_file where id=589118 limit 1 [ RunTime:0.011106s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001578s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082CDT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.006160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2240 LIMIT 4 [ RunTime:0.011897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2240 ORDER BY `minOrder` ASC [ RunTime:0.018741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2240 ORDER BY `unit` DESC [ RunTime:0.000885s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2240 LIMIT 2 [ RunTime:0.009290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2240 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082CD' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001058s ]
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.013765s ]