SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002693s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000593s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003237s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000383s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002488s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000356s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 238 LIMIT 1 [ RunTime:0.000416s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 238 [ RunTime:0.000279s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002468s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 08:53:49' ) ) AND `categoryid` = 238 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:2.179021s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4234 LIMIT 4 [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4234 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4234 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4234 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4234 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000970s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1734742-0' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8089 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8089 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8089 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8089 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8089 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
select * from pdf where partno='686730100001' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.003394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '686730100001' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10318 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10318 ORDER BY `minOrder` ASC [ RunTime:0.000558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10318 ORDER BY `unit` DESC [ RunTime:0.000534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10318 LIMIT 2 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10318 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
select * from pdf where partno='686705200001' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000924s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '686705200001' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8088 LIMIT 4 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8088 ORDER BY `minOrder` ASC [ RunTime:0.000499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8088 ORDER BY `unit` DESC [ RunTime:0.000517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8088 LIMIT 2 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8088 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='686720100001' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001052s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '686720100001' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8090 LIMIT 4 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8090 ORDER BY `minOrder` ASC [ RunTime:0.000500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8090 ORDER BY `unit` DESC [ RunTime:0.000512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8090 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8090 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='687650100002' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001784s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '687650100002' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001121s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 08:53:49' ) ) AND `categoryid` = 238 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.065174s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 08:53:49' ) ) AND `categoryid` = 238 ) [ RunTime:1.544533s ]