SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001875s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002265s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001659s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000255s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 485 LIMIT 1 [ RunTime:0.000259s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 485 [ RunTime:0.000213s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 42 [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001715s ]
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-03 07:27:51' ) ) AND `categoryid` = 485 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:1.783004s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6049 LIMIT 4 [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6049 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000816s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6049 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6049 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
select * from pdf where partno='HE721C0500' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001000s ]
select foldpath,foldpath2,filename from pdf_file where id=1678321 limit 1 [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HE721C0500' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005001s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6654 LIMIT 4 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6654 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6654 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2271-12-001' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 286 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 286 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 286 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 286 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2332-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9570 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9570 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9570 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9570 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9570 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LI12-1A85' OR `brand` LIKE 'STANDEXMEDER%' ) ) LIMIT 1 [ RunTime:0.000479s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 07:27:51' ) ) AND `categoryid` = 485 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.476733s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 07:27:51' ) ) AND `categoryid` = 485 ) [ RunTime:1.479293s ]