SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001123s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002317s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001638s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.000467s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001111s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000994s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001524s ]
SELECT * FROM `stock_search` WHERE `partno` = 'CRCW060333R0JNEA' LIMIT 1 [ RunTime:0.000740s ]
UPDATE `stock_search` SET `count` = 1030 , `updatetime` = '2026-03-15 12:28:20' WHERE `partno` = 'CRCW060333R0JNEA' [ RunTime:0.002733s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000231s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000153s ]
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.000281s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001054s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'CRCW060333R0JNEA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.002731s ]
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 'CRCW060333R0JNEA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003470s ]
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 ('14100072','16842988','3489','17951917','18146097') ORDER BY FIELD(s.id, 14100072,16842988,3489,17951917,18146097) [ RunTime:0.004329s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14100072 LIMIT 4 [ RunTime:0.001145s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14100072 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14100072 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000874s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14100072 LIMIT 2 [ RunTime:0.002871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14100072 ORDER BY `minOrder` ASC [ RunTime:0.001530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16842988 LIMIT 4 [ RunTime:0.001115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16842988 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16842988 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16842988 LIMIT 2 [ RunTime:0.001346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16842988 ORDER BY `minOrder` ASC [ RunTime:0.005087s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3489 LIMIT 4 [ RunTime:0.000701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3489 ORDER BY `minOrder` ASC [ RunTime:0.002119s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3489 ORDER BY `unit` DESC [ RunTime:0.005091s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3489 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3489 ORDER BY `minOrder` ASC [ RunTime:0.005683s ]
select * from pdf where partno='CRCW060333R0JNEA' and brandshort='VISHAY' limit 1 [ RunTime:0.002604s ]
select foldpath,foldpath2,filename from pdf_file where id=1245034 limit 1 [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW060333R0JNEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.009407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17951917 LIMIT 4 [ RunTime:0.000623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17951917 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17951917 ORDER BY `unit` DESC [ RunTime:0.005079s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17951917 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17951917 ORDER BY `minOrder` ASC [ RunTime:0.001282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18146097 LIMIT 4 [ RunTime:0.007546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18146097 ORDER BY `minOrder` ASC [ RunTime:0.005360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18146097 ORDER BY `unit` DESC [ RunTime:0.001578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18146097 LIMIT 2 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18146097 ORDER BY `minOrder` ASC [ RunTime:0.001993s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CRCW060333R0JNEA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007032s ]