SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001068s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000371s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003057s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000397s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001960s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003684s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001835s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SRN4026-150M' LIMIT 1 [ RunTime:0.000522s ]
UPDATE `stock_search` SET `count` = 3438 , `updatetime` = '2026-03-01 22:53:08' WHERE `partno` = 'SRN4026-150M' [ RunTime:0.001743s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 86 LIMIT 1 [ RunTime:0.000263s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 86 [ RunTime:0.000221s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 18 [ RunTime:0.000220s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002105s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'SRN4026-150M%' AND `status` <> 2 AND `categoryid` = 86 ) AND `u`.`lockUser` = '0' [ RunTime:0.005734s ]
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 'SRN4026-150M%' AND `status` <> 2 AND `categoryid` = 86 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012157s ]
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 ('7070','16677','15658') ORDER BY FIELD(s.id, 7070,16677,15658) [ RunTime:0.005051s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7070 LIMIT 4 [ RunTime:0.002334s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7070 ORDER BY `minOrder` ASC [ RunTime:0.011253s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7070 ORDER BY `unit` DESC [ RunTime:0.008749s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7070 LIMIT 2 [ RunTime:0.005746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7070 ORDER BY `minOrder` ASC [ RunTime:0.005357s ]
select * from pdf where partno='SRN4026-150M' and brandshort='BOURNS' limit 1 [ RunTime:0.007975s ]
select foldpath,foldpath2,filename from pdf_file where id=1772394 limit 1 [ RunTime:0.001659s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001794s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN4026-150M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.015932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16677 LIMIT 4 [ RunTime:0.001691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16677 ORDER BY `minOrder` ASC [ RunTime:0.006539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16677 ORDER BY `unit` DESC [ RunTime:0.007048s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16677 LIMIT 2 [ RunTime:0.005706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16677 ORDER BY `minOrder` ASC [ RunTime:0.003064s ]
select * from pdf where partno='SRN4026-150M' and brandshort='BOURNS' limit 1 [ RunTime:0.000331s ]
select foldpath,foldpath2,filename from pdf_file where id=1772394 limit 1 [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN4026-150M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15658 LIMIT 4 [ RunTime:0.002379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15658 ORDER BY `minOrder` ASC [ RunTime:0.004241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15658 ORDER BY `unit` DESC [ RunTime:0.000512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15658 LIMIT 2 [ RunTime:0.001861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15658 ORDER BY `minOrder` ASC [ RunTime:0.002564s ]
select * from pdf where partno='SRN4026-150M' and brandshort='BOURNS' limit 1 [ RunTime:0.000317s ]
select foldpath,foldpath2,filename from pdf_file where id=1772394 limit 1 [ RunTime:0.000206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN4026-150M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SRN4026-150M%' AND `status` <> 2 AND `categoryid` = 86 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002497s ]