SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001310s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001159s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.41' ) [ RunTime:0.000644s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000902s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.006004s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001139s ]
SELECT * FROM `stock_search` WHERE `partno` = 'P6SMB15CA' LIMIT 1 [ RunTime:0.007155s ]
UPDATE `stock_search` SET `count` = 1114 , `updatetime` = '2026-01-31 21:23:35' WHERE `partno` = 'P6SMB15CA' [ RunTime:0.007779s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.009134s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.007052s ]
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.003023s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001337s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'P6SMB15CA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.014281s ]
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 'P6SMB15CA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021013s ]
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 ('4822','16595','15575') ORDER BY FIELD(s.id, 4822,16595,15575) [ RunTime:0.036235s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005017s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4822 LIMIT 4 [ RunTime:0.012880s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4822 ORDER BY `minOrder` ASC [ RunTime:0.021811s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4822 ORDER BY `unit` DESC [ RunTime:0.001131s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4822 LIMIT 2 [ RunTime:0.005768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4822 ORDER BY `minOrder` ASC [ RunTime:0.003410s ]
select * from pdf where partno='P6SMB15CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.016462s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.011731s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002506s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB15CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.019581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16595 LIMIT 4 [ RunTime:0.004561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16595 ORDER BY `minOrder` ASC [ RunTime:0.023263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16595 ORDER BY `unit` DESC [ RunTime:0.025775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16595 LIMIT 2 [ RunTime:0.003733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16595 ORDER BY `minOrder` ASC [ RunTime:0.002661s ]
select * from pdf where partno='P6SMB15CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.028236s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.009652s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB15CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15575 LIMIT 4 [ RunTime:0.009621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15575 ORDER BY `minOrder` ASC [ RunTime:0.016937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15575 ORDER BY `unit` DESC [ RunTime:0.023166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15575 LIMIT 2 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15575 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
select * from pdf where partno='P6SMB15CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000338s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB15CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'P6SMB15CA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002268s ]