SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001163s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000685s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001359s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000988s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000201s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.000863s ]
SELECT * FROM `stock_search` WHERE `partno` = '3013' LIMIT 1 [ RunTime:0.006924s ]
UPDATE `stock_search` SET `count` = 4957 , `updatetime` = '2026-03-04 22:15:35' WHERE `partno` = '3013' [ RunTime:0.001658s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 643 LIMIT 1 [ RunTime:0.000180s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 643 [ RunTime:0.000368s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000155s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001407s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '3013%' AND `status` <> 2 AND `categoryid` = 643 ) AND `u`.`lockUser` = '0' [ RunTime:0.003190s ]
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 '3013%' AND `status` <> 2 AND `categoryid` = 643 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000559s ]
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 ('3094','16284','15264') ORDER BY FIELD(s.id, 3094,16284,15264) [ RunTime:0.002970s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.001361s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000916s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000871s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.000452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.001960s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.005938s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001519s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16284 LIMIT 4 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.001412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16284 ORDER BY `unit` DESC [ RunTime:0.001679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16284 LIMIT 2 [ RunTime:0.006127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.002524s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.000750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.001831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.010020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.003946s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.002012s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '3013%' AND `status` <> 2 AND `categoryid` = 643 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002332s ]