SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002711s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000552s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002454s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.94' ) [ RunTime:0.001234s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002157s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002531s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001775s ]
SELECT * FROM `stock_search` WHERE `partno` = 'STLD40DPUR' LIMIT 1 [ RunTime:0.001156s ]
UPDATE `stock_search` SET `count` = 17221 , `updatetime` = '2026-05-30 07:36:26' WHERE `partno` = 'STLD40DPUR' [ RunTime:0.006307s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001374s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000259s ]
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.000398s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002145s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'STLD40DPUR%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.003431s ]
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 'STLD40DPUR%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011570s ]
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 ('20259606','20252321','20185305','20172622','19147843','25294737','10853') ORDER BY FIELD(s.id, 20259606,20252321,20185305,20172622,19147843,25294737,10853) [ RunTime:0.016847s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001060s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20259606 LIMIT 4 [ RunTime:0.000341s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20259606 ORDER BY `minOrder` ASC [ RunTime:0.001006s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20259606 ORDER BY `unit` DESC [ RunTime:0.001012s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20259606 LIMIT 2 [ RunTime:0.006855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20259606 ORDER BY `minOrder` ASC [ RunTime:0.002288s ]
select * from pdf where partno='stld40dpur' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.006878s ]
select foldpath,foldpath2,filename from pdf_file where id=572607 limit 1 [ RunTime:0.008225s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003116s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'stld40dpur' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.010300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20252321 LIMIT 4 [ RunTime:0.012923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20252321 ORDER BY `minOrder` ASC [ RunTime:0.006193s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20252321 ORDER BY `unit` DESC [ RunTime:0.005010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20252321 LIMIT 2 [ RunTime:0.015658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20252321 ORDER BY `minOrder` ASC [ RunTime:0.001436s ]
select * from pdf where partno='stld40dpur' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.002514s ]
select foldpath,foldpath2,filename from pdf_file where id=572607 limit 1 [ RunTime:0.000227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'stld40dpur' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20185305 LIMIT 4 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20185305 ORDER BY `minOrder` ASC [ RunTime:0.004927s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20185305 ORDER BY `unit` DESC [ RunTime:0.004508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20185305 LIMIT 2 [ RunTime:0.000658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20185305 ORDER BY `minOrder` ASC [ RunTime:0.001268s ]
select * from pdf where partno='stld40dpur' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.004280s ]
select foldpath,foldpath2,filename from pdf_file where id=572607 limit 1 [ RunTime:0.002643s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'stld40dpur' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.001479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20172622 LIMIT 4 [ RunTime:0.021483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20172622 ORDER BY `minOrder` ASC [ RunTime:0.012894s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20172622 ORDER BY `unit` DESC [ RunTime:0.009477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20172622 LIMIT 2 [ RunTime:0.000873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20172622 ORDER BY `minOrder` ASC [ RunTime:0.002683s ]
select * from pdf where partno='stld40dpur' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.000299s ]
select foldpath,foldpath2,filename from pdf_file where id=572607 limit 1 [ RunTime:0.002997s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'stld40dpur' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.002102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19147843 LIMIT 4 [ RunTime:0.018719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19147843 ORDER BY `minOrder` ASC [ RunTime:0.020570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19147843 ORDER BY `unit` DESC [ RunTime:0.009522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19147843 LIMIT 2 [ RunTime:0.005606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19147843 ORDER BY `minOrder` ASC [ RunTime:0.002080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25294737 LIMIT 4 [ RunTime:0.002907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25294737 ORDER BY `minOrder` ASC [ RunTime:0.014887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25294737 ORDER BY `unit` DESC [ RunTime:0.004558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25294737 LIMIT 2 [ RunTime:0.004518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25294737 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
select * from pdf where partno='STLD40DPUR' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.002602s ]
select foldpath,foldpath2,filename from pdf_file where id=572607 limit 1 [ RunTime:0.002948s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STLD40DPUR' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.007725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10853 LIMIT 4 [ RunTime:0.004542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10853 ORDER BY `minOrder` ASC [ RunTime:0.010795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10853 ORDER BY `unit` DESC [ RunTime:0.005744s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10853 LIMIT 2 [ RunTime:0.005662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10853 ORDER BY `minOrder` ASC [ RunTime:0.002155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STLD40DPUR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000916s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'STLD40DPUR%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003456s ]