SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001035s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000464s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001051s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001355s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004572s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000478s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000250s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000455s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002193s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'CRCW12060000Z0EA%' AND `status` <> 2 ) [ RunTime:0.008881s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'CRCW12060000Z0EA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006906s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7883723 LIMIT 4 [ RunTime:0.004062s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883723 ORDER BY `minOrder` ASC [ RunTime:0.001562s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7883723 ORDER BY `unit` DESC [ RunTime:0.001176s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7883723 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883723 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5590 LIMIT 4 [ RunTime:0.002453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5590 ORDER BY `minOrder` ASC [ RunTime:0.007959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5590 ORDER BY `unit` DESC [ RunTime:0.004998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5590 LIMIT 2 [ RunTime:0.005678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5590 ORDER BY `minOrder` ASC [ RunTime:0.002177s ]
select * from pdf where partno='CRCW12060000Z0EA' and brandshort='VISHAY' limit 1 [ RunTime:0.002655s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.008982s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001105s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8083453 LIMIT 4 [ RunTime:0.002628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8083453 ORDER BY `minOrder` ASC [ RunTime:0.001850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8083453 ORDER BY `unit` DESC [ RunTime:0.003375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8083453 LIMIT 2 [ RunTime:0.001142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8083453 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5031398 LIMIT 4 [ RunTime:0.001414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5031398 ORDER BY `minOrder` ASC [ RunTime:0.000481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5031398 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5031398 LIMIT 2 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5031398 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2370 LIMIT 4 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2370 ORDER BY `minOrder` ASC [ RunTime:0.002748s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2370 ORDER BY `unit` DESC [ RunTime:0.006249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2370 LIMIT 2 [ RunTime:0.006433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2370 ORDER BY `minOrder` ASC [ RunTime:0.000612s ]
select * from pdf where partno='CRCW12060000Z0EA' and brandshort='VISHAY' limit 1 [ RunTime:0.000325s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5510 LIMIT 4 [ RunTime:0.008343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5510 ORDER BY `minOrder` ASC [ RunTime:0.006087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5510 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5510 LIMIT 2 [ RunTime:0.002527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5510 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
select * from pdf where partno='CRCW12060000Z0EAHP' and brandshort='VISHAY' limit 1 [ RunTime:0.004758s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.001221s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EAHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16876 LIMIT 4 [ RunTime:0.001964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16876 ORDER BY `minOrder` ASC [ RunTime:0.002282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16876 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16876 LIMIT 2 [ RunTime:0.001395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16876 ORDER BY `minOrder` ASC [ RunTime:0.003688s ]
select * from pdf where partno='CRCW12060000Z0EAHP' and brandshort='VISHAY' limit 1 [ RunTime:0.000249s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.000185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EAHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15857 LIMIT 4 [ RunTime:0.001343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15857 ORDER BY `minOrder` ASC [ RunTime:0.001867s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15857 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15857 LIMIT 2 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15857 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='CRCW12060000Z0EAHP' and brandshort='VISHAY' limit 1 [ RunTime:0.000215s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.000143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EAHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21735 LIMIT 4 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21735 ORDER BY `minOrder` ASC [ RunTime:0.001169s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21735 ORDER BY `unit` DESC [ RunTime:0.002637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21735 LIMIT 2 [ RunTime:0.004442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21735 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='CRCW12060000Z0EA' and brandshort='VISHAY' limit 1 [ RunTime:0.000233s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.000149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000167s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CRCW12060000Z0EA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001767s ]