SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002645s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000632s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002641s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000400s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002557s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000358s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 577 LIMIT 1 [ RunTime:0.000382s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 577 [ RunTime:0.000266s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001222s ]
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-09-26 17:03:09' ) ) AND `categoryid` = 577 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.013316s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001452s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4505 LIMIT 4 [ RunTime:0.000427s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4505 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4505 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7107 LIMIT 4 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7107 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7107 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS3410GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005050s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5779 LIMIT 4 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5779 ORDER BY `unit` DESC [ RunTime:0.000233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5779 LIMIT 2 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4141NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11136 LIMIT 4 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11136 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11136 LIMIT 2 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE75008ESDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.004941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7885 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7885 ORDER BY `unit` DESC [ RunTime:0.000227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7885 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC2009A-1YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.009523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11424 LIMIT 4 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11424 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11424 LIMIT 2 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L99PM62GXPTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000770s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337 LIMIT 4 [ RunTime:0.000539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.000568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337 ORDER BY `unit` DESC [ RunTime:0.000560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337 LIMIT 2 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS712204ESAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5787 LIMIT 4 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5787 ORDER BY `unit` DESC [ RunTime:0.000568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5787 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP742RIXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11980 LIMIT 4 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11980 ORDER BY `unit` DESC [ RunTime:0.000583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11980 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE7240SLXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12233 LIMIT 4 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.000606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12233 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12233 LIMIT 2 [ RunTime:0.000561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS70802EPZXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011187s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-26 17:03:09' ) ) AND `categoryid` = 577 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.033186s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-26 17:03:09' ) ) AND `categoryid` = 577 ) [ RunTime:0.010662s ]