SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001090s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.026586s ]
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.252' ) [ RunTime:0.009915s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001224s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000947s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002219s ]
SELECT * FROM `stock_search` WHERE `partno` = 'AQW612S' LIMIT 1 [ RunTime:0.002340s ]
UPDATE `stock_search` SET `count` = 12803 , `updatetime` = '2026-05-30 19:32:02' WHERE `partno` = 'AQW612S' [ RunTime:0.024052s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003244s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000220s ]
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.006556s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001774s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'AQW612S%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001630s ]
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 'AQW612S%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001173s ]
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 ('20840481','19283738','11234','20848198','20848197','17150453','17150452') ORDER BY FIELD(s.id, 20840481,19283738,11234,20848198,20848197,17150453,17150452) [ RunTime:0.002356s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20840481 LIMIT 4 [ RunTime:0.002398s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20840481 ORDER BY `minOrder` ASC [ RunTime:0.003970s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20840481 ORDER BY `unit` DESC [ RunTime:0.004569s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009951s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20840481 LIMIT 2 [ RunTime:0.001307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20840481 ORDER BY `minOrder` ASC [ RunTime:0.008296s ]
select * from pdf where partno='AQW612S' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.006555s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002580s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQW612S' OR `brand` LIKE 'Panasonic Electric Works%' ) ) LIMIT 1 [ RunTime:0.009339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19283738 LIMIT 4 [ RunTime:0.003279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19283738 ORDER BY `minOrder` ASC [ RunTime:0.014910s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19283738 ORDER BY `unit` DESC [ RunTime:0.012971s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19283738 LIMIT 2 [ RunTime:0.013995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19283738 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11234 LIMIT 4 [ RunTime:0.007747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11234 ORDER BY `minOrder` ASC [ RunTime:0.005737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11234 ORDER BY `unit` DESC [ RunTime:0.005564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11234 LIMIT 2 [ RunTime:0.025440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11234 ORDER BY `minOrder` ASC [ RunTime:0.011904s ]
select * from pdf where partno='AQW612S' and brandshort='PANASONIC' limit 1 [ RunTime:0.007423s ]
select foldpath,foldpath2,filename from pdf_file where id=1670260 limit 1 [ RunTime:0.012729s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQW612S' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.003131s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20848198 LIMIT 4 [ RunTime:0.006948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20848198 ORDER BY `minOrder` ASC [ RunTime:0.005556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20848198 ORDER BY `unit` DESC [ RunTime:0.018508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20848198 LIMIT 2 [ RunTime:0.018732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20848198 ORDER BY `minOrder` ASC [ RunTime:0.009866s ]
select * from pdf where partno='AQW612SZ' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.024545s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQW612SZ' OR `brand` LIKE 'Panasonic Electric Works%' ) ) LIMIT 1 [ RunTime:0.011509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20848197 LIMIT 4 [ RunTime:0.024051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20848197 ORDER BY `minOrder` ASC [ RunTime:0.005497s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20848197 ORDER BY `unit` DESC [ RunTime:0.000590s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20848197 LIMIT 2 [ RunTime:0.008774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20848197 ORDER BY `minOrder` ASC [ RunTime:0.007075s ]
select * from pdf where partno='AQW612SX' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.003653s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQW612SX' OR `brand` LIKE 'Panasonic Electric Works%' ) ) LIMIT 1 [ RunTime:0.001309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17150453 LIMIT 4 [ RunTime:0.010078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17150453 ORDER BY `minOrder` ASC [ RunTime:0.004605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17150453 ORDER BY `unit` DESC [ RunTime:0.000671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17150453 LIMIT 2 [ RunTime:0.004496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17150453 ORDER BY `minOrder` ASC [ RunTime:0.004082s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17150452 LIMIT 4 [ RunTime:0.000769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17150452 ORDER BY `minOrder` ASC [ RunTime:0.003541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17150452 ORDER BY `unit` DESC [ RunTime:0.000627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17150452 LIMIT 2 [ RunTime:0.002773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17150452 ORDER BY `minOrder` ASC [ RunTime:0.002412s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'AQW612S%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006437s ]