SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001891s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000494s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002058s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.113' ) [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001804s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001831s ]
SELECT * FROM `stock_search` WHERE `partno` = 'C315C103K5R5TA' LIMIT 1 [ RunTime:0.003524s ]
UPDATE `stock_search` SET `count` = 57 , `updatetime` = '2026-01-24 18:43:00' WHERE `partno` = 'C315C103K5R5TA' [ RunTime:0.006254s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.007895s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002942s ]
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.000959s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003329s ]
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.005232s ]
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.006074s ]
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.018041s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2065 LIMIT 4 [ RunTime:0.000437s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.002693s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001936s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2065 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001670s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2065 LIMIT 2 [ RunTime:0.005995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.004474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15209 LIMIT 4 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.002889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15209 ORDER BY `unit` DESC [ RunTime:0.000942s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15209 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.001225s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.005294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000526s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15104 LIMIT 4 [ RunTime:0.004014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.001248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15104 ORDER BY `unit` DESC [ RunTime:0.002310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15104 LIMIT 2 [ RunTime:0.001254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.004474s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.003631s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7683453 LIMIT 4 [ RunTime:0.002796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.001416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7683453 ORDER BY `unit` DESC [ RunTime:0.000528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7683453 LIMIT 2 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676102 LIMIT 4 [ RunTime:0.008019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.002403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676102 ORDER BY `unit` DESC [ RunTime:0.007048s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676102 LIMIT 2 [ RunTime:0.015188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.003837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676101 LIMIT 4 [ RunTime:0.010027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.008856s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676101 ORDER BY `unit` DESC [ RunTime:0.002962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676101 LIMIT 2 [ RunTime:0.000785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.002213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7673288 LIMIT 4 [ RunTime:0.005157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.003493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7673288 ORDER BY `unit` DESC [ RunTime:0.000702s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7673288 LIMIT 2 [ RunTime:0.010751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7671736 LIMIT 4 [ RunTime:0.006774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.023338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7671736 ORDER BY `unit` DESC [ RunTime:0.012823s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7671736 LIMIT 2 [ RunTime:0.002790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.000785s ]
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.004555s ]