SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001801s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001374s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002587s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.000371s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001978s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001400s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001861s ]
SELECT * FROM `stock_search` WHERE `partno` = 'TL082CD' LIMIT 1 [ RunTime:0.010321s ]
UPDATE `stock_search` SET `count` = 4396 , `updatetime` = '2026-03-16 13:08:53' WHERE `partno` = 'TL082CD' [ RunTime:0.004835s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 516 LIMIT 1 [ RunTime:0.002720s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 516 [ RunTime:0.007433s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 46 [ RunTime:0.003053s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002112s ]
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` = 516 ) AND `u`.`lockUser` = '0' [ RunTime:0.007716s ]
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` = 516 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001174s ]
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.008505s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11429 LIMIT 4 [ RunTime:0.005921s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11429 ORDER BY `minOrder` ASC [ RunTime:0.005306s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11429 ORDER BY `unit` DESC [ RunTime:0.000621s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11429 LIMIT 2 [ RunTime:0.004742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11429 ORDER BY `minOrder` ASC [ RunTime:0.000589s ]
select * from pdf where partno='TL082CDT' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001823s ]
select foldpath,foldpath2,filename from pdf_file where id=589118 limit 1 [ RunTime:0.000899s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082CDT' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2240 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2240 ORDER BY `minOrder` ASC [ RunTime:0.002865s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2240 ORDER BY `unit` DESC [ RunTime:0.002175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2240 LIMIT 2 [ RunTime:0.000903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2240 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL082CD' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002277s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'TL082CD%' AND `status` <> 2 AND `categoryid` = 516 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005678s ]