SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.005529s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000613s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001518s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.003335s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000972s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000215s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001043s ]
SELECT * FROM `stock_search` WHERE `partno` = 'CK05BX104K' LIMIT 1 [ RunTime:0.001472s ]
UPDATE `stock_search` SET `count` = 480 , `updatetime` = '2026-01-22 19:32:55' WHERE `partno` = 'CK05BX104K' [ RunTime:0.001710s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000199s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000180s ]
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.000287s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001368s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'CK05BX104K%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.003454s ]
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 'CK05BX104K%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008690s ]
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 ('4919099','3106','4920766','4910565','4415140','4422068') ORDER BY FIELD(s.id, 4919099,3106,4920766,4910565,4415140,4422068) [ RunTime:0.002080s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4919099 LIMIT 4 [ RunTime:0.008362s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4919099 ORDER BY `minOrder` ASC [ RunTime:0.000890s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001434s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4919099 ORDER BY `unit` DESC [ RunTime:0.002663s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001849s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4919099 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4919099 ORDER BY `minOrder` ASC [ RunTime:0.000758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3106 LIMIT 4 [ RunTime:0.008059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3106 ORDER BY `minOrder` ASC [ RunTime:0.000725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3106 ORDER BY `unit` DESC [ RunTime:0.000261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3106 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3106 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
select * from pdf where partno='CK05BX104K' and brandshort='KEMET' limit 1 [ RunTime:0.008401s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001526s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CK05BX104K' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.003906s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4920766 LIMIT 4 [ RunTime:0.002618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4920766 ORDER BY `minOrder` ASC [ RunTime:0.004798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4920766 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4920766 LIMIT 2 [ RunTime:0.001713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4920766 ORDER BY `minOrder` ASC [ RunTime:0.002184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4910565 LIMIT 4 [ RunTime:0.000821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4910565 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4910565 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4910565 LIMIT 2 [ RunTime:0.002510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4910565 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4415140 LIMIT 4 [ RunTime:0.000810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4415140 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4415140 ORDER BY `unit` DESC [ RunTime:0.001550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4415140 LIMIT 2 [ RunTime:0.000685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4415140 ORDER BY `minOrder` ASC [ RunTime:0.001590s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4422068 LIMIT 4 [ RunTime:0.000816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4422068 ORDER BY `minOrder` ASC [ RunTime:0.002288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4422068 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4422068 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4422068 ORDER BY `minOrder` ASC [ RunTime:0.000709s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CK05BX104K%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001137s ]