SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001329s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000506s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002213s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000383s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001663s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000275s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000992s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 8 [ RunTime:0.007818s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (33,34,35,36) [ RunTime:0.008346s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.008698s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375) ) AND `u`.`lockUser` = '0' [ RunTime:0.001538s ]
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 (341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001667s ]
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 ('4155','3641','5311','10835','7852','176','4079','3643','11496','2122','2261','3335','1126','1125','16957','16892','15939','15873','5213','2420') ORDER BY FIELD(s.id, 4155,3641,5311,10835,7852,176,4079,3643,11496,2122,2261,3335,1126,1125,16957,16892,15939,15873,5213,2420) [ RunTime:0.011910s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4155 LIMIT 4 [ RunTime:0.015733s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4155 ORDER BY `minOrder` ASC [ RunTime:0.010151s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4155 ORDER BY `unit` DESC [ RunTime:0.002673s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4155 LIMIT 2 [ RunTime:0.007518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4155 ORDER BY `minOrder` ASC [ RunTime:0.010402s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001091s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NSI45030AT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.027445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3641 LIMIT 4 [ RunTime:0.005864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.007086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3641 ORDER BY `unit` DESC [ RunTime:0.005139s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3641 LIMIT 2 [ RunTime:0.002080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.011795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5311 LIMIT 4 [ RunTime:0.001966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5311 ORDER BY `minOrder` ASC [ RunTime:0.003254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5311 ORDER BY `unit` DESC [ RunTime:0.010357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5311 LIMIT 2 [ RunTime:0.002474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5311 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TEFD4300' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.017236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10835 LIMIT 4 [ RunTime:0.001242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.000806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10835 ORDER BY `unit` DESC [ RunTime:0.000875s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10835 LIMIT 2 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN330SPTR-E' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000794s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7852 LIMIT 4 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7852 ORDER BY `minOrder` ASC [ RunTime:0.006467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7852 ORDER BY `unit` DESC [ RunTime:0.002663s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7852 LIMIT 2 [ RunTime:0.013962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7852 ORDER BY `minOrder` ASC [ RunTime:0.008733s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD2523SLX01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 176 LIMIT 4 [ RunTime:0.004754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 176 ORDER BY `minOrder` ASC [ RunTime:0.002454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 176 ORDER BY `unit` DESC [ RunTime:0.001433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 176 LIMIT 2 [ RunTime:0.001383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 176 ORDER BY `minOrder` ASC [ RunTime:0.002107s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BPW21R' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014628s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4079 LIMIT 4 [ RunTime:0.005637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4079 ORDER BY `minOrder` ASC [ RunTime:0.003552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4079 ORDER BY `unit` DESC [ RunTime:0.004862s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4079 LIMIT 2 [ RunTime:0.003094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4079 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD2020X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.012297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3643 LIMIT 4 [ RunTime:0.000603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3643 ORDER BY `unit` DESC [ RunTime:0.001521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3643 LIMIT 2 [ RunTime:0.004965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='ASSR-3210-003E' and brandshort='BROADCOM' limit 1 [ RunTime:0.006238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-3210-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11496 LIMIT 4 [ RunTime:0.001947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496 ORDER BY `minOrder` ASC [ RunTime:0.000534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11496 ORDER BY `unit` DESC [ RunTime:0.002253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11496 LIMIT 2 [ RunTime:0.008815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496 ORDER BY `minOrder` ASC [ RunTime:0.007142s ]
select * from pdf where partno='VEMD4110X01' and brandshort='VISHAY' limit 1 [ RunTime:0.015923s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD4110X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.007141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2122 LIMIT 4 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2122 ORDER BY `minOrder` ASC [ RunTime:0.001533s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2122 ORDER BY `unit` DESC [ RunTime:0.001129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2122 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2122 ORDER BY `minOrder` ASC [ RunTime:0.001731s ]
select * from pdf where partno='553-0112F' and brandshort='DIALIGHT' limit 1 [ RunTime:0.007564s ]
select foldpath,foldpath2,filename from pdf_file where id=1116832 limit 1 [ RunTime:0.010097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '553-0112F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.007514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2261 LIMIT 4 [ RunTime:0.000761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2261 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2261 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2261 LIMIT 2 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2261 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BPW20RF' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.012449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3335 LIMIT 4 [ RunTime:0.004649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3335 ORDER BY `minOrder` ASC [ RunTime:0.005803s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3335 ORDER BY `unit` DESC [ RunTime:0.000643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3335 LIMIT 2 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3335 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FAN5333BSX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.020126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1126 LIMIT 4 [ RunTime:0.002455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.000686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1126 ORDER BY `unit` DESC [ RunTime:0.000684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1126 LIMIT 2 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.001385s ]
select * from pdf where partno='CX240D5' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.006991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CX240D5' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.006967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1125 LIMIT 4 [ RunTime:0.007956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.004218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1125 ORDER BY `unit` DESC [ RunTime:0.000836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1125 LIMIT 2 [ RunTime:0.006808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.013425s ]
select * from pdf where partno='CMX60D10' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.011344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CMX60D10' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.006939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16957 LIMIT 4 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.000568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16957 ORDER BY `unit` DESC [ RunTime:0.001628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16957 LIMIT 2 [ RunTime:0.012829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.004801s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.018937s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.018976s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.020448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16892 LIMIT 4 [ RunTime:0.005864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16892 ORDER BY `minOrder` ASC [ RunTime:0.004697s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16892 ORDER BY `unit` DESC [ RunTime:0.008579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16892 LIMIT 2 [ RunTime:0.004720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16892 ORDER BY `minOrder` ASC [ RunTime:0.002397s ]
select * from pdf where partno='S1223' and brandshort='HAMAMATSU' limit 1 [ RunTime:0.016397s ]
select foldpath,foldpath2,filename from pdf_file where id=613920 limit 1 [ RunTime:0.010417s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.005346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15939 LIMIT 4 [ RunTime:0.004154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.005124s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15939 ORDER BY `unit` DESC [ RunTime:0.016676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15939 LIMIT 2 [ RunTime:0.001294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.000414s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15873 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15873 ORDER BY `unit` DESC [ RunTime:0.002215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15873 LIMIT 2 [ RunTime:0.004018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='S1223' and brandshort='HAMAMATSU' limit 1 [ RunTime:0.000473s ]
select foldpath,foldpath2,filename from pdf_file where id=613920 limit 1 [ RunTime:0.000317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5213 LIMIT 4 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5213 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5213 LIMIT 2 [ RunTime:0.006068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.002502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.001802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2420 LIMIT 4 [ RunTime:0.000447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2420 ORDER BY `minOrder` ASC [ RunTime:0.007473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2420 ORDER BY `unit` DESC [ RunTime:0.004782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2420 LIMIT 2 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2420 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.000275s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001352s ]