SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001785s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000452s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001360s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002192s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 438 LIMIT 1 [ RunTime:0.000920s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 438 [ RunTime:0.000671s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002116s ]
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-02 08:15:34' ) ) AND `categoryid` = 438 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.838923s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1357 LIMIT 4 [ RunTime:0.000399s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1357 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000963s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1357 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1357 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1357 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000977s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HFBR-2412TZ' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1358 LIMIT 4 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1358 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1358 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1358 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1358 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HFBR-4533Z' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1359 LIMIT 4 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1359 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1359 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1359 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1359 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HFBR-4535Z' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13729 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13729 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13729 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13729 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13729 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WLL160-F420' OR `brand` LIKE 'SICK OPTIC ELECTRONIC%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-02 08:15:34' ) ) AND `categoryid` = 438 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.562300s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-02 08:15:34' ) ) AND `categoryid` = 438 ) [ RunTime:1.572271s ]