SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001226s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001991s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001796s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000343s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000331s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000225s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (132,133,134,135,136,137,138,139,140,141) [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002491s ]
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 ( `package` = 'TO-263' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-08 14:43:36' ) ) AND `categoryid` IN (132,133,134,135,136,137,138,139,140,141) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:2.192871s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14936 LIMIT 4 [ RunTime:0.001459s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14936 ORDER BY `minOrder` ASC [ RunTime:0.000730s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14936 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000804s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14936 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14936 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='PHB45N03LT' and brandshort='PHILIPS' limit 1 [ RunTime:0.001460s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001810s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PHB45N03LT' OR `brand` LIKE 'PHILIPS%' ) ) LIMIT 1 [ RunTime:0.000843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14935 LIMIT 4 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14935 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14935 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14935 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14935 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='PHB45N03LT' and brandshort='PHILIPS' limit 1 [ RunTime:0.000807s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PHB45N03LT' OR `brand` LIKE 'PHILIPS%' ) ) LIMIT 1 [ RunTime:0.000195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14962 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14962 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14962 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14962 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14962 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='AOB260L' and brandshort='AOS' limit 1 [ RunTime:0.011335s ]
select foldpath,foldpath2,filename from pdf_file where id=1182221 limit 1 [ RunTime:0.000809s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AOB260L' OR `brand` LIKE 'AOS%' ) ) LIMIT 1 [ RunTime:0.001348s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-08 14:43:36' ) ) AND `categoryid` IN (132,133,134,135,136,137,138,139,140,141) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.705571s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `package` = 'TO-263' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-08 14:43:36' ) ) AND `categoryid` IN (132,133,134,135,136,137,138,139,140,141) ) [ RunTime:1.621075s ]