SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001089s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006487s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001192s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.008485s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001344s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004615s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.000467s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.000279s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000279s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002342s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 121 ) AND `u`.`lockUser` = '0' [ RunTime:0.004543s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 121 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001400s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('4031','8351','4047','2585','7482','7153','4950','14976','7400','4656','14982','7486','291','4533','4949','7484','4947','16762','16442','16343') ORDER BY FIELD(s.id, 4031,8351,4047,2585,7482,7153,4950,14976,7400,4656,14982,7486,291,4533,4949,7484,4947,16762,16442,16343) [ RunTime:0.007767s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.002536s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000734s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001061s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.003530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.002884s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004511s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001113s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.003296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8351 LIMIT 4 [ RunTime:0.002523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.006843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8351 ORDER BY `unit` DESC [ RunTime:0.001569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8351 LIMIT 2 [ RunTime:0.004338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.002813s ]
select * from pdf where partno='BAW56S,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.011949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4047 LIMIT 4 [ RunTime:0.007421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.005296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4047 ORDER BY `unit` DESC [ RunTime:0.000862s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4047 LIMIT 2 [ RunTime:0.006626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.008507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2585 LIMIT 4 [ RunTime:0.002432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.007130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2585 ORDER BY `unit` DESC [ RunTime:0.001260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2585 LIMIT 2 [ RunTime:0.009349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.002482s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.008888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7482 LIMIT 4 [ RunTime:0.002747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.000695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7482 ORDER BY `unit` DESC [ RunTime:0.010108s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7482 LIMIT 2 [ RunTime:0.006689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.001656s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.029154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7153 LIMIT 4 [ RunTime:0.013432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.004008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7153 ORDER BY `unit` DESC [ RunTime:0.010192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7153 LIMIT 2 [ RunTime:0.014156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.002163s ]
select * from pdf where partno='1N4148W-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.001874s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.024774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4950 LIMIT 4 [ RunTime:0.005697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.002586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4950 ORDER BY `unit` DESC [ RunTime:0.001670s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4950 LIMIT 2 [ RunTime:0.006367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.006050s ]
select * from pdf where partno='BAS70-06,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.012029s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-06,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.012006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14976 LIMIT 4 [ RunTime:0.000880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.005924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14976 ORDER BY `unit` DESC [ RunTime:0.004336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14976 LIMIT 2 [ RunTime:0.021144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.000514s ]
select * from pdf where partno='MMBD4148SE' and brandshort='ON' limit 1 [ RunTime:0.004151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD4148SE' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.019026s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7400 LIMIT 4 [ RunTime:0.008289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.000671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7400 ORDER BY `unit` DESC [ RunTime:0.000639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7400 LIMIT 2 [ RunTime:0.002383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.002913s ]
select * from pdf where partno='1N4148WT' and brandshort='ONSEMI' limit 1 [ RunTime:0.003113s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.015640s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4656 LIMIT 4 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.000611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4656 ORDER BY `unit` DESC [ RunTime:0.000613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4656 LIMIT 2 [ RunTime:0.002213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.001823s ]
select * from pdf where partno='BAV21W-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV21W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14982 LIMIT 4 [ RunTime:0.000643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.000645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14982 ORDER BY `unit` DESC [ RunTime:0.000602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14982 LIMIT 2 [ RunTime:0.002591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.001166s ]
select * from pdf where partno='MMBD3004S-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000987s ]
select foldpath,foldpath2,filename from pdf_file where id=613255 limit 1 [ RunTime:0.002791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD3004S-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.006777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7486 LIMIT 4 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7486 ORDER BY `unit` DESC [ RunTime:0.006713s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7486 LIMIT 2 [ RunTime:0.002255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS45AL,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007148s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 291 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.000613s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 291 ORDER BY `unit` DESC [ RunTime:0.001873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 291 LIMIT 2 [ RunTime:0.005387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.000717s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4533 LIMIT 4 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.002664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4533 ORDER BY `unit` DESC [ RunTime:0.021090s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4533 LIMIT 2 [ RunTime:0.003484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
select * from pdf where partno='1N4448WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4448WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.011257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4949 LIMIT 4 [ RunTime:0.004197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.005213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4949 ORDER BY `unit` DESC [ RunTime:0.003326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4949 LIMIT 2 [ RunTime:0.000593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
select * from pdf where partno='BAS40L,315' and brandshort='NEXPERIA' limit 1 [ RunTime:0.005474s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40L,315' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.018520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7484 LIMIT 4 [ RunTime:0.000782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.008637s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7484 ORDER BY `unit` DESC [ RunTime:0.000683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7484 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4947 LIMIT 4 [ RunTime:0.005422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.003474s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4947 ORDER BY `unit` DESC [ RunTime:0.000635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4947 LIMIT 2 [ RunTime:0.005185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.004840s ]
select * from pdf where partno='BAS16H,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.008877s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS16H,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16762 LIMIT 4 [ RunTime:0.003322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.003349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16762 ORDER BY `unit` DESC [ RunTime:0.000568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16762 LIMIT 2 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.001953s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.003353s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.001342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16442 LIMIT 4 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.004696s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16442 ORDER BY `unit` DESC [ RunTime:0.004652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16442 LIMIT 2 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.005072s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.006706s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.002742s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16343 LIMIT 4 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.010077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16343 ORDER BY `unit` DESC [ RunTime:0.011771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16343 LIMIT 2 [ RunTime:0.000557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002931s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.009807s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014742s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 121 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.018063s ]