SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.003028s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.46' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://ic118.com/stock&typeid=149&page=1' [ RunTime:0.002768s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002845s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000867s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003914s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.000412s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001953s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003522s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 149 [ RunTime:0.000447s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 149 LIMIT 1 [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001629s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` <> '2' AND `s`.`categoryid` = '149' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012042s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3872 LIMIT 4 [ RunTime:0.004071s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3872 ORDER BY `minOrder` ASC [ RunTime:0.014793s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3872 ORDER BY `unit` DESC [ RunTime:0.006690s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004949s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3872 LIMIT 2 [ RunTime:0.003498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3872 ORDER BY `minOrder` ASC [ RunTime:0.006434s ]
select * from pdf where partno='CG75L' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.017113s ]
select foldpath,foldpath2,filename from pdf_file where id=1191817 limit 1 [ RunTime:0.009817s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CG75L' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.014047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12374 LIMIT 4 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12374 ORDER BY `minOrder` ASC [ RunTime:0.004454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12374 ORDER BY `unit` DESC [ RunTime:0.008010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12374 LIMIT 2 [ RunTime:0.002686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12374 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B88069X1913T902' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.003025s ]
SELECT `id` FROM `stock` WHERE `id` <> 12374 AND `partno` = 'B88069X1913T902' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%epcos%' ) [ RunTime:0.015696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13900170 [ RunTime:0.008937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6786 LIMIT 4 [ RunTime:0.003895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6786 ORDER BY `minOrder` ASC [ RunTime:0.000845s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6786 ORDER BY `unit` DESC [ RunTime:0.000721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6786 LIMIT 2 [ RunTime:0.001859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6786 ORDER BY `minOrder` ASC [ RunTime:0.003319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2036-07-SMLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5513 LIMIT 4 [ RunTime:0.003322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5513 ORDER BY `minOrder` ASC [ RunTime:0.011684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5513 ORDER BY `unit` DESC [ RunTime:0.016976s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5513 LIMIT 2 [ RunTime:0.001282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5513 ORDER BY `minOrder` ASC [ RunTime:0.006778s ]
select * from pdf where partno='CG35.0L' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001868s ]
select foldpath,foldpath2,filename from pdf_file where id=1114268 limit 1 [ RunTime:0.002042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CG35.0L' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.013242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5693 LIMIT 4 [ RunTime:0.012168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5693 ORDER BY `minOrder` ASC [ RunTime:0.004361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5693 ORDER BY `unit` DESC [ RunTime:0.001172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5693 LIMIT 2 [ RunTime:0.007924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5693 ORDER BY `minOrder` ASC [ RunTime:0.006744s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2097-200-DLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5692 LIMIT 4 [ RunTime:0.008648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5692 ORDER BY `minOrder` ASC [ RunTime:0.002135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5692 ORDER BY `unit` DESC [ RunTime:0.001474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5692 LIMIT 2 [ RunTime:0.003329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5692 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2049-25-BLF' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.006108s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` <> '2' AND `s`.`categoryid` = '149' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002899s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` <> '2' AND `s`.`categoryid` = '149' ) LIMIT 6 ) tmp GROUP BY `brand` [ RunTime:0.001165s ]