SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001439s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003558s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001556s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.113' ) [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001455s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001061s ]
SELECT * FROM `stock_search` WHERE `partno` = 'C315C103K5R5TA' LIMIT 1 [ RunTime:0.000501s ]
UPDATE `stock_search` SET `count` = 53 , `updatetime` = '2026-01-24 17:26:07' WHERE `partno` = 'C315C103K5R5TA' [ RunTime:0.007064s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000213s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000197s ]
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.000343s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001618s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'C315C103K5R5TA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.003087s ]
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 'C315C103K5R5TA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007524s ]
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 ('2065','15209','15104','7683453','7676102','7676101','7673288','7671736') ORDER BY FIELD(s.id, 2065,15209,15104,7683453,7676102,7676101,7673288,7671736) [ RunTime:0.004598s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2065 LIMIT 4 [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000940s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2065 ORDER BY `unit` DESC [ RunTime:0.001023s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000893s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2065 LIMIT 2 [ RunTime:0.003543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.007607s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001064s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.002023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15209 LIMIT 4 [ RunTime:0.009182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.007431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15209 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15209 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.001829s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.001479s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15104 LIMIT 4 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15104 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15104 LIMIT 2 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.000310s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.000221s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7683453 LIMIT 4 [ RunTime:0.000847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7683453 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7683453 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676102 LIMIT 4 [ RunTime:0.000691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676102 ORDER BY `unit` DESC [ RunTime:0.000660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676102 LIMIT 2 [ RunTime:0.000623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676101 LIMIT 4 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676101 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676101 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7673288 LIMIT 4 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7673288 ORDER BY `unit` DESC [ RunTime:0.001266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7673288 LIMIT 2 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.001052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7671736 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.000532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7671736 ORDER BY `unit` DESC [ RunTime:0.000664s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7671736 LIMIT 2 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.000466s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'C315C103K5R5TA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000283s ]