SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002094s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000554s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002662s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000353s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001775s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 636 LIMIT 1 [ RunTime:0.000512s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 636 [ RunTime:0.000460s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001840s ]
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 13:48:19' ) ) AND `categoryid` = 636 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.026726s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002039s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.000547s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002136s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.000478s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001710s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4719 LIMIT 4 [ RunTime:0.000445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4719 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4719 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-350816-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001002s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5431 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5431 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5431 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31886' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4718 LIMIT 4 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4718 ORDER BY `unit` DESC [ RunTime:0.000218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4718 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520083-2' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3696 LIMIT 4 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3696 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3696 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/3' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3695 LIMIT 4 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3695 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3695 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000470s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5861 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5861 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5861 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '321045' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3996 LIMIT 4 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3996 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3996 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5-160430-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6854 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6854 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6854 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34318' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000557s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-28 13:48:19' ) ) AND `categoryid` = 636 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.033147s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-28 13:48:19' ) ) AND `categoryid` = 636 ) [ RunTime:0.024340s ]