SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001248s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002443s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001366s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000447s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001164s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000764s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 369 LIMIT 1 [ RunTime:0.006307s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 369 [ RunTime:0.004454s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 35 [ RunTime:0.000250s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001979s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 369 ) AND `u`.`lockUser` = '0' [ RunTime:0.001392s ]
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` = 369 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004368s ]
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 ('3641','10835','3643','1126','1125','16957','15939','5213','2935','9587','3642','5683','1124','3640','4991','2934','8578','6816') ORDER BY FIELD(s.id, 3641,10835,3643,1126,1125,16957,15939,5213,2935,9587,3642,5683,1124,3640,4991,2934,8578,6816) [ RunTime:0.027297s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3641 LIMIT 4 [ RunTime:0.013691s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.006122s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006544s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3641 ORDER BY `unit` DESC [ RunTime:0.000663s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3641 LIMIT 2 [ RunTime:0.008648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3641 ORDER BY `minOrder` ASC [ RunTime:0.002110s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001005s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.009937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10835 LIMIT 4 [ RunTime:0.015039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.006023s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10835 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10835 LIMIT 2 [ RunTime:0.003274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10835 ORDER BY `minOrder` ASC [ RunTime:0.014190s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VN330SPTR-E' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3643 LIMIT 4 [ RunTime:0.007201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.004289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3643 ORDER BY `unit` DESC [ RunTime:0.002231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3643 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3643 ORDER BY `minOrder` ASC [ RunTime:0.000686s ]
select * from pdf where partno='ASSR-3210-003E' and brandshort='BROADCOM' limit 1 [ RunTime:0.009852s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-3210-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.007556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1126 LIMIT 4 [ RunTime:0.007352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.029733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1126 ORDER BY `unit` DESC [ RunTime:0.012132s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1126 LIMIT 2 [ RunTime:0.030013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1126 ORDER BY `minOrder` ASC [ RunTime:0.011401s ]
select * from pdf where partno='CX240D5' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.010360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CX240D5' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.016028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1125 LIMIT 4 [ RunTime:0.004696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.011996s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1125 ORDER BY `unit` DESC [ RunTime:0.015367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1125 LIMIT 2 [ RunTime:0.003288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1125 ORDER BY `minOrder` ASC [ RunTime:0.006678s ]
select * from pdf where partno='CMX60D10' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.024010s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CMX60D10' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.020511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16957 LIMIT 4 [ RunTime:0.008815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.012085s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16957 ORDER BY `unit` DESC [ RunTime:0.026817s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16957 LIMIT 2 [ RunTime:0.015037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16957 ORDER BY `minOrder` ASC [ RunTime:0.002586s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.020499s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.017583s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.011617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15939 LIMIT 4 [ RunTime:0.007843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.002284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15939 ORDER BY `unit` DESC [ RunTime:0.007581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15939 LIMIT 2 [ RunTime:0.006127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15939 ORDER BY `minOrder` ASC [ RunTime:0.002319s ]
select * from pdf where partno='G3VM-202J1' and brandshort='OMRON' limit 1 [ RunTime:0.000525s ]
select foldpath,foldpath2,filename from pdf_file where id=689977 limit 1 [ RunTime:0.000422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.000482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5213 LIMIT 4 [ RunTime:0.000539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.002993s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5213 ORDER BY `unit` DESC [ RunTime:0.039424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5213 LIMIT 2 [ RunTime:0.013010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5213 ORDER BY `minOrder` ASC [ RunTime:0.009118s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3VM-202J1' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.010713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2935 LIMIT 4 [ RunTime:0.015957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.016360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2935 ORDER BY `unit` DESC [ RunTime:0.014236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2935 LIMIT 2 [ RunTime:0.015949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2935 ORDER BY `minOrder` ASC [ RunTime:0.006077s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DC60S3' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.006631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9587 LIMIT 4 [ RunTime:0.002630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.004647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9587 ORDER BY `unit` DESC [ RunTime:0.005552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9587 LIMIT 2 [ RunTime:0.010752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9587 ORDER BY `minOrder` ASC [ RunTime:0.005815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RAM1A23D125' OR `brand` LIKE 'CARLO GAVAZZI%' ) ) LIMIT 1 [ RunTime:0.002074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3642 LIMIT 4 [ RunTime:0.003961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.004893s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3642 ORDER BY `unit` DESC [ RunTime:0.013875s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3642 LIMIT 2 [ RunTime:0.011980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3642 ORDER BY `minOrder` ASC [ RunTime:0.003806s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1611-001E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.003504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5683 LIMIT 4 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.000780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5683 ORDER BY `unit` DESC [ RunTime:0.000525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5683 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5683 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRA1MP240D4' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.000913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1124 LIMIT 4 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1124 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1124 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1124 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='D53TP50D' and brandshort='SENSATA/CRYDOM' limit 1 [ RunTime:0.003687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D53TP50D' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.005896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3640 LIMIT 4 [ RunTime:0.003225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.001378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3640 ORDER BY `unit` DESC [ RunTime:0.001379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3640 LIMIT 2 [ RunTime:0.001372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3640 ORDER BY `minOrder` ASC [ RunTime:0.000883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1410-003E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4991 LIMIT 4 [ RunTime:0.008050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.001960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4991 ORDER BY `unit` DESC [ RunTime:0.000789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4991 LIMIT 2 [ RunTime:0.000682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4991 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR20DCZ' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2934 LIMIT 4 [ RunTime:0.002819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.009128s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2934 ORDER BY `unit` DESC [ RunTime:0.000897s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2934 LIMIT 2 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2934 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CKM0610' OR `brand` LIKE 'SENSATA/CRYDOM%' ) ) LIMIT 1 [ RunTime:0.001073s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8578 LIMIT 4 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8578 ORDER BY `unit` DESC [ RunTime:0.003286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8578 LIMIT 2 [ RunTime:0.003236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8578 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G3NA-220B-UTU DC5-24 BY OMZ' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.001163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6816 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.000692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6816 ORDER BY `unit` DESC [ RunTime:0.002766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6816 LIMIT 2 [ RunTime:0.007046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6816 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASSR-1510-503E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.005563s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 369 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.009679s ]