SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002406s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000522s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002129s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.215' ) [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001872s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000306s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 280 LIMIT 1 [ RunTime:0.000325s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 280 [ RunTime:0.000233s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002516s ]
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-07 15:35:28' ) ) AND `categoryid` = 280 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.884498s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4722 LIMIT 4 [ RunTime:0.000880s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4722 ORDER BY `minOrder` ASC [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4722 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4722 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4722 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '643075-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4721 LIMIT 4 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4721 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4721 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4721 LIMIT 2 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4721 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
select * from pdf where partno='200821-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '200821-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000689s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8449 LIMIT 4 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8449 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8449 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8449 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8449 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74754-0101' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.004962s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14832 LIMIT 4 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14832 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14832 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14832 LIMIT 2 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14832 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9-1415071-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.008851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4035 LIMIT 4 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4035 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4035 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4035 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4035 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1469491-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.008733s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 15:35:28' ) ) AND `categoryid` = 280 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.974740s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 15:35:28' ) ) AND `categoryid` = 280 ) [ RunTime:1.641875s ]