SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001655s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000430s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001133s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000874s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000188s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 450 LIMIT 1 [ RunTime:0.000368s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 450 [ RunTime:0.000374s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001138s ]
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-28 17:19:05' ) ) AND `categoryid` = 450 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.014674s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12357 LIMIT 4 [ RunTime:0.000462s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12357 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001022s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12357 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12357 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12357 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001035s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS711KEXLT-15AB-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.003049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10497 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10497 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10497 ORDER BY `unit` DESC [ RunTime:0.000345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10497 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10497 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS720KLATR-65AB-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4122 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4122 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4122 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4122 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4122 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS758LCB-050B-PFF-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5064 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5064 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5064 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5064 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5064 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS758ECB-200U-PFF-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000640s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11303 LIMIT 4 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11303 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11303 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11303 LIMIT 2 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11303 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACS70331EOLCTR-005B3' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8554 LIMIT 4 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8554 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8554 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8554 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8554 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLSR 50-P' OR `brand` LIKE 'LEM%' ) ) LIMIT 1 [ RunTime:0.001103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11170 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11170 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11170 ORDER BY `unit` DESC [ RunTime:0.000281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11170 LIMIT 2 [ RunTime:0.000228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11170 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPSR 6-NP' OR `brand` LIKE 'LEM%' ) ) LIMIT 1 [ RunTime:0.000490s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-28 17:19:05' ) ) AND `categoryid` = 450 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.021078s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-28 17:19:05' ) ) AND `categoryid` = 450 ) [ RunTime:0.011252s ]