SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002086s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001873s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002053s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.002713s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001842s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001952s ]
SELECT * FROM `stock_search` WHERE `partno` = 'V27ZA1P' LIMIT 1 [ RunTime:0.001575s ]
UPDATE `stock_search` SET `count` = 6332 , `updatetime` = '2026-03-16 21:36:21' WHERE `partno` = 'V27ZA1P' [ RunTime:0.010638s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 148 LIMIT 1 [ RunTime:0.005578s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 148 [ RunTime:0.000331s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.006085s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002916s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'V27ZA1P%' AND `status` <> 2 AND `categoryid` = 148 ) AND `u`.`lockUser` = '0' [ RunTime:0.001766s ]
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 'V27ZA1P%' AND `status` <> 2 AND `categoryid` = 148 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009701s ]
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` = '248' ORDER BY FIELD(s.id, 248) [ RunTime:0.005250s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 248 LIMIT 4 [ RunTime:0.013639s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.016834s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 248 ORDER BY `unit` DESC [ RunTime:0.001224s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 248 LIMIT 2 [ RunTime:0.000649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.004368s ]
select * from pdf where partno='V27ZA1P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.014425s ]
select foldpath,foldpath2,filename from pdf_file where id=213253 limit 1 [ RunTime:0.002620s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001685s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V27ZA1P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.027429s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'V27ZA1P%' AND `status` <> 2 AND `categoryid` = 148 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.052081s ]