SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002614s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000622s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002420s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000408s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002758s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000390s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 718 LIMIT 1 [ RunTime:0.000700s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 718 [ RunTime:0.000471s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000272s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002624s ]
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 22:32:44' ) ) AND `categoryid` = 718 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.914463s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7723 LIMIT 4 [ RunTime:0.000417s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7723 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000842s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7723 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7723 LIMIT 2 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7723 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='35622' and brandshort='DESCO' limit 1 [ RunTime:0.001201s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '35622' OR `brand` LIKE 'DESCO%' ) ) LIMIT 1 [ RunTime:0.000692s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13692 LIMIT 4 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13692 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13692 ORDER BY `unit` DESC [ RunTime:0.000427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13692 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13692 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A-K (IEC)' OR `brand` LIKE 'LABFACILITY%' ) ) LIMIT 1 [ RunTime:0.002837s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 22:32:44' ) ) AND `categoryid` = 718 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.514478s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 22:32:44' ) ) AND `categoryid` = 718 ) [ RunTime:1.573963s ]