SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001480s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000558s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002461s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001711s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000328s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 287 LIMIT 1 [ RunTime:0.000594s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 287 [ RunTime:0.000375s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002421s ]
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.000586s ]
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.000761s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2577 LIMIT 4 [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002074s ]
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.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001866s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCLTL-613R' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10902 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10902 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10902 LIMIT 2 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSMSMTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9881 LIMIT 4 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
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.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
select * from pdf where partno='EVQPUL02K' and brandshort='PANASONIC' limit 1 [ RunTime:0.000427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPUL02K' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000534s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9869 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9869 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9869 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
select * from pdf where partno='KSEK43G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSEK43G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1148 LIMIT 4 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1148 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1148 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='KMR221G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000455s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KMR221G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10372 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10372 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10372 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSLPT5252CG3BTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5062 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5062 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5062 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SKHMQKE010' OR `brand` LIKE 'ALPS ALPINE%' ) ) LIMIT 1 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16312 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16312 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16312 LIMIT 2 [ RunTime:0.000731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15292 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15292 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15292 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7047 LIMIT 4 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7047 ORDER BY `unit` DESC [ RunTime:0.000251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7047 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPT9A15' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11784 LIMIT 4 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11784 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11784 ORDER BY `unit` DESC [ RunTime:0.000173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11784 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11784 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B3U-3100PM-B' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9830 LIMIT 4 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9830 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9830 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9830 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9830 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
select * from pdf where partno='B3SE-1002P' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B3SE-1002P' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9882 LIMIT 4 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9882 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9882 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9882 LIMIT 2 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9882 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQP2T02M' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6050 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6050 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6050 ORDER BY `unit` DESC [ RunTime:0.000194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6050 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6050 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSM4JSMATR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10901 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10901 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10901 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
select * from pdf where partno='1825027-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1825027-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767 LIMIT 4 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8275 LIMIT 4 [ RunTime:0.000170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8275 ORDER BY `unit` DESC [ RunTime:0.000181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8275 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC32879' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000183s ]
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.000222s ]