SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001281s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002869s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.008252s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002260s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000328s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 287 LIMIT 1 [ RunTime:0.000645s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 287 [ RunTime:0.000344s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002319s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 287 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001320s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('2577','10902','9881','9869','1148','10372','5062','16312','15292','7047','11784','9830','9882','6050','10901','4767','8275') ORDER BY FIELD(s.id, 2577,10902,9881,9869,1148,10372,5062,16312,15292,7047,11784,9830,9882,6050,10901,4767,8275) [ RunTime:0.001672s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2577 LIMIT 4 [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2577 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2577 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCLTL-613R' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10902 LIMIT 4 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10902 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10902 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSMSMTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9881 LIMIT 4 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9881 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9881 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='EVQPUL02K' and brandshort='PANASONIC' limit 1 [ RunTime:0.000646s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPUL02K' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9869 LIMIT 4 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9869 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9869 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
select * from pdf where partno='KSEK43G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000470s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSEK43G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1148 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1148 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1148 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='KMR221G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000759s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KMR221G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10372 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10372 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10372 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSLPT5252CG3BTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5062 LIMIT 4 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5062 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5062 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SKHMQKE010' OR `brand` LIKE 'ALPS ALPINE%' ) ) LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16312 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16312 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16312 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15292 LIMIT 4 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15292 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15292 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7047 LIMIT 4 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047 ORDER BY `minOrder` ASC [ RunTime:0.004885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7047 ORDER BY `unit` DESC [ RunTime:0.005759s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7047 LIMIT 2 [ RunTime:0.002221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047 ORDER BY `minOrder` ASC [ RunTime:0.002641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPT9A15' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11784 LIMIT 4 [ RunTime:0.003240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11784 ORDER BY `minOrder` ASC [ RunTime:0.009733s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11784 ORDER BY `unit` DESC [ RunTime:0.001214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11784 LIMIT 2 [ RunTime:0.001352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11784 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B3U-3100PM-B' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9830 LIMIT 4 [ RunTime:0.004170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9830 ORDER BY `minOrder` ASC [ RunTime:0.001384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9830 ORDER BY `unit` DESC [ RunTime:0.003178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9830 LIMIT 2 [ RunTime:0.002054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9830 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='B3SE-1002P' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.001738s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B3SE-1002P' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9882 LIMIT 4 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9882 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9882 ORDER BY `unit` DESC [ RunTime:0.007214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9882 LIMIT 2 [ RunTime:0.002279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9882 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQP2T02M' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6050 LIMIT 4 [ RunTime:0.000651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6050 ORDER BY `minOrder` ASC [ RunTime:0.000509s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6050 ORDER BY `unit` DESC [ RunTime:0.000590s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6050 LIMIT 2 [ RunTime:0.003574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6050 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSM4JSMATR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002940s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10901 LIMIT 4 [ RunTime:0.002429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.000780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10901 ORDER BY `unit` DESC [ RunTime:0.000606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10901 LIMIT 2 [ RunTime:0.000557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
select * from pdf where partno='1825027-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001456s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1825027-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.021015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767 LIMIT 4 [ RunTime:0.002225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.000890s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767 ORDER BY `unit` DESC [ RunTime:0.000520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.001961s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000697s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8275 LIMIT 4 [ RunTime:0.006223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.002444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8275 ORDER BY `unit` DESC [ RunTime:0.007627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8275 LIMIT 2 [ RunTime:0.001807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.003221s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC32879' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.002676s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 287 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.009671s ]