SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001662s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000830s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001472s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.003299s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001263s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002922s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 252 LIMIT 1 [ RunTime:0.004846s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 252 [ RunTime:0.000980s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.001321s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001580s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 252 ) AND `u`.`lockUser` = '0' [ RunTime:0.014287s ]
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` = 252 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044327s ]
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','4544','5596','991','4266','3647','3648','4244','1530','197','4545','4200','5624') ORDER BY FIELD(s.id, 6711,13442,5685,5860,6641,7372,3646,1017,4544,5596,991,4266,3647,3648,4244,1530,197,4545,4200,5624) [ RunTime:0.006105s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001100s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711 LIMIT 4 [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.001960s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711 ORDER BY `unit` DESC [ RunTime:0.000665s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
select * from pdf where partno='EMK105B7104KV-F' and brandshort='TAIYO YUDEN' limit 1 [ RunTime:0.010657s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002031s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EMK105B7104KV-F' OR `brand` LIKE 'TAIYO YUDEN%' ) ) LIMIT 1 [ RunTime:0.007333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13442 LIMIT 4 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13442 ORDER BY `unit` DESC [ RunTime:0.000226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13442 LIMIT 2 [ RunTime:0.000192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12063C103KAT2A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5685 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.001696s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5685 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5685 LIMIT 2 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5685 ORDER BY `minOrder` ASC [ RunTime:0.004021s ]
select * from pdf where partno='C1608X7R1H104K' and brandshort='TDK' limit 1 [ RunTime:0.006886s ]
select foldpath,foldpath2,filename from pdf_file where id=1113786 limit 1 [ RunTime:0.007099s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X7R1H104K' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.019966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5860 LIMIT 4 [ RunTime:0.002763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.009903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5860 ORDER BY `unit` DESC [ RunTime:0.008589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5860 LIMIT 2 [ RunTime:0.001364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.001204s ]
select * from pdf where partno='175196-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.017063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175196-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.012469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6641 LIMIT 4 [ RunTime:0.006015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.006013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6641 ORDER BY `unit` DESC [ RunTime:0.005557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6641 LIMIT 2 [ RunTime:0.005763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641 ORDER BY `minOrder` ASC [ RunTime:0.001745s ]
select * from pdf where partno='C1005X7R1E104M050BB' and brandshort='TDK' limit 1 [ RunTime:0.002706s ]
select foldpath,foldpath2,filename from pdf_file where id=1917795 limit 1 [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1005X7R1E104M050BB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.009824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7372 LIMIT 4 [ RunTime:0.003707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.002130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7372 ORDER BY `unit` DESC [ RunTime:0.004693s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7372 LIMIT 2 [ RunTime:0.000630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7372 ORDER BY `minOrder` ASC [ RunTime:0.001245s ]
select * from pdf where partno='175362-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.007429s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175362-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3646 LIMIT 4 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.006080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3646 ORDER BY `unit` DESC [ RunTime:0.009972s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3646 LIMIT 2 [ RunTime:0.002119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3646 ORDER BY `minOrder` ASC [ RunTime:0.002911s ]
select * from pdf where partno='MC0603B222M500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.005793s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603B222M500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.030052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1017 LIMIT 4 [ RunTime:0.014238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.016956s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1017 ORDER BY `unit` DESC [ RunTime:0.008305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1017 LIMIT 2 [ RunTime:0.008573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1017 ORDER BY `minOrder` ASC [ RunTime:0.004386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCC1C220J3AS6L-RH' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.009197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4544 LIMIT 4 [ RunTime:0.009878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.003480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4544 ORDER BY `unit` DESC [ RunTime:0.002303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4544 LIMIT 2 [ RunTime:0.009909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.001415s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X8R1H103K080AA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.011319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5596 LIMIT 4 [ RunTime:0.008777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.001340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5596 ORDER BY `unit` DESC [ RunTime:0.009594s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5596 LIMIT 2 [ RunTime:0.001247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5596 ORDER BY `minOrder` ASC [ RunTime:0.000777s ]
select * from pdf where partno='SA105A102JAR' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.006854s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SA105A102JAR' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.023198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 991 LIMIT 4 [ RunTime:0.006277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.006289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 991 ORDER BY `unit` DESC [ RunTime:0.004323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 991 LIMIT 2 [ RunTime:0.000937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 991 ORDER BY `minOrder` ASC [ RunTime:0.000882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '125LD10-R' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.018120s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4266 LIMIT 4 [ RunTime:0.003422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.010988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4266 ORDER BY `unit` DESC [ RunTime:0.002843s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4266 LIMIT 2 [ RunTime:0.004348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4266 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UVZ1A471MED1TD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.004008s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3647 LIMIT 4 [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.002811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3647 ORDER BY `unit` DESC [ RunTime:0.000756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3647 LIMIT 2 [ RunTime:0.000821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3647 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
select * from pdf where partno='MC0603N101K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000847s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N101K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000636s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3648 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.000667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3648 ORDER BY `unit` DESC [ RunTime:0.000686s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3648 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3648 ORDER BY `minOrder` ASC [ RunTime:0.001998s ]
select * from pdf where partno='MC0603N150K500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002503s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N150K500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4244 LIMIT 4 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.001367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4244 ORDER BY `unit` DESC [ RunTime:0.002498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4244 LIMIT 2 [ RunTime:0.002912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4244 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LGU2W471MELC' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.001740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1530 LIMIT 4 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.000735s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1530 ORDER BY `unit` DESC [ RunTime:0.000940s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1530 LIMIT 2 [ RunTime:0.007268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1530 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EKMG500ELL470MF11D' OR `brand` LIKE 'CHEMI-CON%' ) ) LIMIT 1 [ RunTime:0.003068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 197 LIMIT 4 [ RunTime:0.003009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.002916s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 197 ORDER BY `unit` DESC [ RunTime:0.008463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 197 LIMIT 2 [ RunTime:0.002054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 197 ORDER BY `minOrder` ASC [ RunTime:0.004292s ]
select * from pdf where partno='UTG16AC' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.012304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTG16AC' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.002684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4545 LIMIT 4 [ RunTime:0.003198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4545 ORDER BY `minOrder` ASC [ RunTime:0.006473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4545 ORDER BY `unit` DESC [ RunTime:0.001182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4545 LIMIT 2 [ RunTime:0.015174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4545 ORDER BY `minOrder` ASC [ RunTime:0.000494s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1005X8R1H102K050BA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.015189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4200 LIMIT 4 [ RunTime:0.000604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200 ORDER BY `minOrder` ASC [ RunTime:0.001367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4200 ORDER BY `unit` DESC [ RunTime:0.005592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4200 LIMIT 2 [ RunTime:0.007091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200 ORDER BY `minOrder` ASC [ RunTime:0.002478s ]
select * from pdf where partno='MCSMT-8540C-3716' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001632s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCSMT-8540C-3716' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5624 LIMIT 4 [ RunTime:0.002819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5624 ORDER BY `minOrder` ASC [ RunTime:0.003010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5624 ORDER BY `unit` DESC [ RunTime:0.000577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5624 LIMIT 2 [ RunTime:0.002792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5624 ORDER BY `minOrder` ASC [ RunTime:0.001481s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCKPX-G1205A-3700' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002428s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 252 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001597s ]