SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002554s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000653s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002789s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000493s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002322s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000645s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 25 LIMIT 1 [ RunTime:0.001816s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000474s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) [ RunTime:0.000369s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001572s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) AND `u`.`lockUser` = '0' [ RunTime:0.003589s ]
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 (147,148,149,150,151,152,153,154,155,156,157,158,159) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004303s ]
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 ('72','66','1012','7476','250','973','6047','7477','249','248','4569','13951','717','3941','71','1179','4237','2812','789','3137') ORDER BY FIELD(s.id, 72,66,1012,7476,250,973,6047,7477,249,248,4569,13951,717,3941,71,1179,4237,2812,789,3137) [ RunTime:0.007300s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 72 LIMIT 4 [ RunTime:0.001123s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.004641s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 72 ORDER BY `unit` DESC [ RunTime:0.000366s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 72 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
select * from pdf where partno='B72207S0301K101' and brandshort='EPCOS' limit 1 [ RunTime:0.001720s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.001017s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001102s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0301K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.003822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66 LIMIT 4 [ RunTime:0.002274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.002104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66 ORDER BY `unit` DESC [ RunTime:0.000574s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66 LIMIT 2 [ RunTime:0.007537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.001675s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.002448s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.000227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.002834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1012 LIMIT 4 [ RunTime:0.000920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.007060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1012 ORDER BY `unit` DESC [ RunTime:0.000503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1012 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.001032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10207101009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.001010s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7476 LIMIT 4 [ RunTime:0.001408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7476 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7476 LIMIT 2 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000830' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 250 LIMIT 4 [ RunTime:0.001345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 250 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 250 LIMIT 2 [ RunTime:0.002489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.002026s ]
select * from pdf where partno='V275LA20AP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.005134s ]
select foldpath,foldpath2,filename from pdf_file where id=299558 limit 1 [ RunTime:0.011126s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20AP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 973 LIMIT 4 [ RunTime:0.001931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 973 ORDER BY `unit` DESC [ RunTime:0.004891s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 973 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0853.0551' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.003433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6047 LIMIT 4 [ RunTime:0.004015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.004907s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6047 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6047 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3557-2' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.008228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7477 LIMIT 4 [ RunTime:0.002403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.003770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7477 ORDER BY `unit` DESC [ RunTime:0.003474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7477 LIMIT 2 [ RunTime:0.000888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.004955s ]
select * from pdf where partno='MC000832' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001634s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000832' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 249 LIMIT 4 [ RunTime:0.000453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.001342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 249 ORDER BY `unit` DESC [ RunTime:0.010922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 249 LIMIT 2 [ RunTime:0.004109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
select * from pdf where partno='V100ZA15P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003209s ]
select foldpath,foldpath2,filename from pdf_file where id=179201 limit 1 [ RunTime:0.012966s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V100ZA15P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.014193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 248 LIMIT 4 [ RunTime:0.012811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.006584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 248 ORDER BY `unit` DESC [ RunTime:0.001789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 248 LIMIT 2 [ RunTime:0.002142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.008674s ]
select * from pdf where partno='V27ZA1P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000990s ]
select foldpath,foldpath2,filename from pdf_file where id=213253 limit 1 [ RunTime:0.006334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V27ZA1P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.028209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4569 LIMIT 4 [ RunTime:0.002672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4569 ORDER BY `unit` DESC [ RunTime:0.001224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4569 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01110501Z.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13951 LIMIT 4 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13951 ORDER BY `unit` DESC [ RunTime:0.008001s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13951 LIMIT 2 [ RunTime:0.016339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.001949s ]
select * from pdf where partno='B72520T0040M062' and brandshort='EPCOS' limit 1 [ RunTime:0.004141s ]
select foldpath,foldpath2,filename from pdf_file where id=643217 limit 1 [ RunTime:0.004313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72520T0040M062' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.003413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 717 LIMIT 4 [ RunTime:0.005234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.002304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 717 ORDER BY `unit` DESC [ RunTime:0.002753s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 717 LIMIT 2 [ RunTime:0.001159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.000725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0020' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3941 LIMIT 4 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.002615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3941 ORDER BY `unit` DESC [ RunTime:0.010015s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3941 LIMIT 2 [ RunTime:0.003196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MLV0805E32503T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.009335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71 LIMIT 4 [ RunTime:0.000900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.007051s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71 ORDER BY `unit` DESC [ RunTime:0.010580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
select * from pdf where partno='B72220S0271K101' and brandshort='EPCOS' limit 1 [ RunTime:0.008300s ]
select foldpath,foldpath2,filename from pdf_file where id=566343 limit 1 [ RunTime:0.002628s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72220S0271K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.007465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1179 LIMIT 4 [ RunTime:0.001018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.003649s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1179 ORDER BY `unit` DESC [ RunTime:0.004781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1179 LIMIT 2 [ RunTime:0.006258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.002882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.007862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4237 LIMIT 4 [ RunTime:0.013199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4237 ORDER BY `minOrder` ASC [ RunTime:0.009437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4237 ORDER BY `unit` DESC [ RunTime:0.009817s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4237 LIMIT 2 [ RunTime:0.003583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4237 ORDER BY `minOrder` ASC [ RunTime:0.001119s ]
select * from pdf where partno='V510LA80BP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.010915s ]
select foldpath,foldpath2,filename from pdf_file where id=178035 limit 1 [ RunTime:0.007603s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V510LA80BP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.021833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2812 LIMIT 4 [ RunTime:0.018385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2812 ORDER BY `unit` DESC [ RunTime:0.001353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2812 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.002536s ]
select * from pdf where partno='65600001009' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.012031s ]
select foldpath,foldpath2,filename from pdf_file where id=1212905 limit 1 [ RunTime:0.005704s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '65600001009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.014546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 789 LIMIT 4 [ RunTime:0.002068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.003613s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 789 ORDER BY `unit` DESC [ RunTime:0.008418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 789 LIMIT 2 [ RunTime:0.006358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.001938s ]
select * from pdf where partno='4301.1401' and brandshort='SCHURTER' limit 1 [ RunTime:0.000358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1401' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3137 LIMIT 4 [ RunTime:0.001315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.000763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3137 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3137 LIMIT 2 [ RunTime:0.004753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.000527s ]
select * from pdf where partno='0031.3901' and brandshort='SCHURTER' limit 1 [ RunTime:0.006114s ]
select foldpath,foldpath2,filename from pdf_file where id=897021 limit 1 [ RunTime:0.004304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.3901' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.007125s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (147,148,149,150,151,152,153,154,155,156,157,158,159) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.010807s ]