SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001320s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005027s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001769s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.79' ) [ RunTime:0.006082s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002092s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.018692s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001652s ]
SELECT * FROM `stock_search` WHERE `partno` = 'CRCW08057K50FKEA' LIMIT 1 [ RunTime:0.023430s ]
UPDATE `stock_search` SET `count` = 3567 , `updatetime` = '2026-04-29 05:26:21' WHERE `partno` = 'CRCW08057K50FKEA' [ RunTime:0.006155s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.006780s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000508s ]
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.007193s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001352s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'CRCW08057K50FKEA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.014140s ]
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 'CRCW08057K50FKEA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010725s ]
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 ('18070531','16814922','3194','16852808','16253') ORDER BY FIELD(s.id, 18070531,16814922,3194,16852808,16253) [ RunTime:0.008655s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18070531 LIMIT 4 [ RunTime:0.010601s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18070531 ORDER BY `minOrder` ASC [ RunTime:0.019269s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.015113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18070531 ORDER BY `unit` DESC [ RunTime:0.017432s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18070531 LIMIT 2 [ RunTime:0.023589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18070531 ORDER BY `minOrder` ASC [ RunTime:0.014044s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16814922 LIMIT 4 [ RunTime:0.025207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16814922 ORDER BY `minOrder` ASC [ RunTime:0.010251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16814922 ORDER BY `unit` DESC [ RunTime:0.035406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16814922 LIMIT 2 [ RunTime:0.022247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16814922 ORDER BY `minOrder` ASC [ RunTime:0.013184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3194 LIMIT 4 [ RunTime:0.016512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3194 ORDER BY `minOrder` ASC [ RunTime:0.033282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3194 ORDER BY `unit` DESC [ RunTime:0.018109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3194 LIMIT 2 [ RunTime:0.023707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3194 ORDER BY `minOrder` ASC [ RunTime:0.015060s ]
select * from pdf where partno='CRCW08057K50FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.033199s ]
select foldpath,foldpath2,filename from pdf_file where id=1523774 limit 1 [ RunTime:0.017192s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW08057K50FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.061518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16852808 LIMIT 4 [ RunTime:0.057741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16852808 ORDER BY `minOrder` ASC [ RunTime:0.030110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16852808 ORDER BY `unit` DESC [ RunTime:0.028947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16852808 LIMIT 2 [ RunTime:0.042970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16852808 ORDER BY `minOrder` ASC [ RunTime:0.024563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16253 LIMIT 4 [ RunTime:0.045640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16253 ORDER BY `minOrder` ASC [ RunTime:0.073161s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16253 ORDER BY `unit` DESC [ RunTime:0.011947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16253 LIMIT 2 [ RunTime:0.014129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16253 ORDER BY `minOrder` ASC [ RunTime:0.021569s ]
select * from pdf where partno='CRCW08057K50FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.010957s ]
select foldpath,foldpath2,filename from pdf_file where id=1523774 limit 1 [ RunTime:0.017634s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW08057K50FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.019570s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CRCW08057K50FKEA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.028224s ]