SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001841s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000467s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001618s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.134' ) [ RunTime:0.000291s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001208s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000239s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 718 LIMIT 1 [ RunTime:0.000353s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 718 [ RunTime:0.000182s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000208s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001288s ]
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-01 11:32:12' ) ) AND `categoryid` = 718 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.832244s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7723 LIMIT 4 [ RunTime:0.000411s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7723 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7723 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7723 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7723 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
select * from pdf where partno='35622' and brandshort='DESCO' limit 1 [ RunTime:0.003498s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '35622' OR `brand` LIKE 'DESCO%' ) ) LIMIT 1 [ RunTime:0.000509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13692 LIMIT 4 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13692 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13692 ORDER BY `unit` DESC [ RunTime:0.000281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13692 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13692 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A-K (IEC)' OR `brand` LIKE 'LABFACILITY%' ) ) LIMIT 1 [ RunTime:0.000568s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-01 11:32:12' ) ) AND `categoryid` = 718 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.467993s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-01 11:32:12' ) ) AND `categoryid` = 718 ) [ RunTime:1.688149s ]