SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002186s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000630s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002548s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.17' ) [ RunTime:0.000347s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001807s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 195 [ RunTime:0.000782s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002474s ]
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-21 01:13:28' ) ) AND `categoryid` = 195 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.026317s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14953 LIMIT 4 [ RunTime:0.000551s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14953 ORDER BY `minOrder` ASC [ RunTime:0.000488s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14953 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001710s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14953 LIMIT 2 [ RunTime:0.000448s ]
select * from pdf where partno='AR8236-AL1A' and brandshort='QUALCOMM' limit 1 [ RunTime:0.001824s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AR8236-AL1A' OR `brand` LIKE 'QUALCOMM%' ) ) LIMIT 1 [ RunTime:0.001725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10386 LIMIT 4 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10386 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10386 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10386 LIMIT 2 [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN7431-I/YXX' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6043 LIMIT 4 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6043 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6043 ORDER BY `unit` DESC [ RunTime:0.000552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6043 LIMIT 2 [ RunTime:0.000560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN9512-JZX' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.020785s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-21 01:13:28' ) ) AND `categoryid` = 195 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.035484s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-21 01:13:28' ) ) AND `categoryid` = 195 ) [ RunTime:0.009939s ]