SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001601s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000545s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001188s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000441s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000902s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001258s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 6 LIMIT 1 [ RunTime:0.008945s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 6 [ RunTime:0.003242s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (29,30) [ RunTime:0.002552s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002265s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266) ) AND `u`.`lockUser` = '0' [ RunTime:0.004043s ]
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` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009027s ]
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 ('6711','13442','5685','5860','6641','7372','3646','1017','14927','14926','14925','4544','5596','991','4266','3647','3648','4244','1530','197') ORDER BY FIELD(s.id, 6711,13442,5685,5860,6641,7372,3646,1017,14927,14926,14925,4544,5596,991,4266,3647,3648,4244,1530,197) [ RunTime:0.012068s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711 LIMIT 4 [ RunTime:0.008317s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.011645s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711 ORDER BY `unit` DESC [ RunTime:0.000679s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002062s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711 LIMIT 2 [ RunTime:0.006215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.001139s ]
select * from pdf where partno='EMK105B7104KV-F' and brandshort='TAIYO YUDEN' limit 1 [ RunTime:0.010010s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EMK105B7104KV-F' OR `brand` LIKE 'TAIYO YUDEN%' ) ) LIMIT 1 [ RunTime:0.002595s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13442 LIMIT 4 [ RunTime:0.003080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.007800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13442 ORDER BY `unit` DESC [ RunTime:0.002469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13442 LIMIT 2 [ RunTime:0.007736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.009438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12063C103KAT2A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.039077s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5685 LIMIT 4 [ RunTime:0.019278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.020930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5685 ORDER BY `unit` DESC [ RunTime:0.037766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5685 LIMIT 2 [ RunTime:0.008577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.010165s ]
select * from pdf where partno='C1608X7R1H104K' and brandshort='TDK' limit 1 [ RunTime:0.015438s ]
select foldpath,foldpath2,filename from pdf_file where id=1113786 limit 1 [ RunTime:0.020570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X7R1H104K' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.056954s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5860 LIMIT 4 [ RunTime:0.011062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.015943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5860 ORDER BY `unit` DESC [ RunTime:0.009525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5860 LIMIT 2 [ RunTime:0.030112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.012401s ]
select * from pdf where partno='175196-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.031056s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175196-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.016800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6641 LIMIT 4 [ RunTime:0.009046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.017258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6641 ORDER BY `unit` DESC [ RunTime:0.018646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6641 LIMIT 2 [ RunTime:0.018915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.020817s ]
select * from pdf where partno='C1005X7R1E104M050BB' and brandshort='TDK' limit 1 [ RunTime:0.015188s ]
select foldpath,foldpath2,filename from pdf_file where id=1917795 limit 1 [ RunTime:0.036678s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1005X7R1E104M050BB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.015165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7372 LIMIT 4 [ RunTime:0.010080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.010227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7372 ORDER BY `unit` DESC [ RunTime:0.001186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7372 LIMIT 2 [ RunTime:0.006942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.010075s ]
select * from pdf where partno='175362-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.005257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175362-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.009383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3646 LIMIT 4 [ RunTime:0.011248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.003763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3646 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3646 LIMIT 2 [ RunTime:0.002176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
select * from pdf where partno='MC0603B222M500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.009185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603B222M500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.005931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1017 LIMIT 4 [ RunTime:0.010355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.013556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1017 ORDER BY `unit` DESC [ RunTime:0.019855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1017 LIMIT 2 [ RunTime:0.016961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.034465s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCC1C220J3AS6L-RH' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.010158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927 LIMIT 4 [ RunTime:0.009114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927 ORDER BY `minOrder` ASC [ RunTime:0.018800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14927 ORDER BY `unit` DESC [ RunTime:0.016789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14927 LIMIT 2 [ RunTime:0.004290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927 ORDER BY `minOrder` ASC [ RunTime:0.013334s ]
select * from pdf where partno='CNT-M254-1*40-GD-6/6/1.5' and brandshort='CNT' limit 1 [ RunTime:0.013187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GD-6/6/1.5' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.013973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14926 LIMIT 4 [ RunTime:0.005613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14926 ORDER BY `minOrder` ASC [ RunTime:0.003466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14926 ORDER BY `unit` DESC [ RunTime:0.013247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14926 LIMIT 2 [ RunTime:0.006645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14926 ORDER BY `minOrder` ASC [ RunTime:0.008571s ]
select * from pdf where partno='CNT-M254-2*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.013938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-2*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.004790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14925 LIMIT 4 [ RunTime:0.028589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14925 ORDER BY `minOrder` ASC [ RunTime:0.011803s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14925 ORDER BY `unit` DESC [ RunTime:0.006450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14925 LIMIT 2 [ RunTime:0.016609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14925 ORDER BY `minOrder` ASC [ RunTime:0.013644s ]
select * from pdf where partno='CNT-M254-1*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.005655s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.007259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4544 LIMIT 4 [ RunTime:0.008392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.004815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4544 ORDER BY `unit` DESC [ RunTime:0.000660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4544 LIMIT 2 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.000903s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X8R1H103K080AA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.027551s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5596 LIMIT 4 [ RunTime:0.012964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.012466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5596 ORDER BY `unit` DESC [ RunTime:0.006131s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5596 LIMIT 2 [ RunTime:0.002715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.006225s ]
select * from pdf where partno='SA105A102JAR' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.010488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SA105A102JAR' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.014435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 991 LIMIT 4 [ RunTime:0.001450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.010175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 991 ORDER BY `unit` DESC [ RunTime:0.000588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 991 LIMIT 2 [ RunTime:0.008705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.000797s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '125LD10-R' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.020518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4266 LIMIT 4 [ RunTime:0.004486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.018692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4266 ORDER BY `unit` DESC [ RunTime:0.012797s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4266 LIMIT 2 [ RunTime:0.008565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.007865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UVZ1A471MED1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.023904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3647 LIMIT 4 [ RunTime:0.020396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.002058s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3647 ORDER BY `unit` DESC [ RunTime:0.008050s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3647 LIMIT 2 [ RunTime:0.006168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.009241s ]
select * from pdf where partno='MC0603N101K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.008801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N101K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.011780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3648 LIMIT 4 [ RunTime:0.004380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.015042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3648 ORDER BY `unit` DESC [ RunTime:0.002230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3648 LIMIT 2 [ RunTime:0.002487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.006242s ]
select * from pdf where partno='MC0603N150K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.026094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N150K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.027493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4244 LIMIT 4 [ RunTime:0.007240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.028184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4244 ORDER BY `unit` DESC [ RunTime:0.043664s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4244 LIMIT 2 [ RunTime:0.021132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.016542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LGU2W471MELC' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.006254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1530 LIMIT 4 [ RunTime:0.003184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.009283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1530 ORDER BY `unit` DESC [ RunTime:0.000937s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1530 LIMIT 2 [ RunTime:0.012910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.004908s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EKMG500ELL470MF11D' OR `brand` LIKE 'CHEMI-CON%' ) ) LIMIT 1 [ RunTime:0.001232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 197 LIMIT 4 [ RunTime:0.001997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.011085s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 197 ORDER BY `unit` DESC [ RunTime:0.006476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 197 LIMIT 2 [ RunTime:0.007612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.000869s ]
select * from pdf where partno='UTG16AC' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.002884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTG16AC' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000841s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.031766s ]