SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001151s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001405s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001165s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.004585s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001816s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001806s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 4 LIMIT 1 [ RunTime:0.008220s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 4 [ RunTime:0.005262s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (25,26) [ RunTime:0.001054s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002507s ]
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,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184) ) AND `u`.`lockUser` = '0' [ RunTime:0.008819s ]
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,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008986s ]
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 ('8234','72','14946','66','1012','7476','250','973','6047','7477','14983','249','14931','248','14958','4569','13951','717','14952','3941') ORDER BY FIELD(s.id, 8234,72,14946,66,1012,7476,250,973,6047,7477,14983,249,14931,248,14958,4569,13951,717,14952,3941) [ RunTime:0.006801s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001994s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8234 LIMIT 4 [ RunTime:0.000509s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.002077s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8234 ORDER BY `unit` DESC [ RunTime:0.005072s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8234 LIMIT 2 [ RunTime:0.005175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33039DR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 72 LIMIT 4 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 72 ORDER BY `unit` DESC [ RunTime:0.000647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 72 LIMIT 2 [ RunTime:0.011196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 72 ORDER BY `minOrder` ASC [ RunTime:0.017851s ]
select * from pdf where partno='B72207S0301K101' and brandshort='EPCOS' limit 1 [ RunTime:0.003721s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.006977s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0301K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.001882s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14946 LIMIT 4 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.002403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14946 ORDER BY `unit` DESC [ RunTime:0.009149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14946 LIMIT 2 [ RunTime:0.011063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.008549s ]
select * from pdf where partno='F75909MB' and brandshort='FINTEK' limit 1 [ RunTime:0.001737s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F75909MB' OR `brand` LIKE 'FINTEK%' ) ) LIMIT 1 [ RunTime:0.003016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66 LIMIT 4 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.000671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66 ORDER BY `unit` DESC [ RunTime:0.011394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66 LIMIT 2 [ RunTime:0.008727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66 ORDER BY `minOrder` ASC [ RunTime:0.000702s ]
select * from pdf where partno='B72207S0251K101' and brandshort='EPCOS' limit 1 [ RunTime:0.002112s ]
select foldpath,foldpath2,filename from pdf_file where id=566331 limit 1 [ RunTime:0.004444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72207S0251K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.006832s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1012 LIMIT 4 [ RunTime:0.001305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.002048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1012 ORDER BY `unit` DESC [ RunTime:0.009438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1012 LIMIT 2 [ RunTime:0.011328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.006658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10207101009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.008640s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7476 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.002790s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7476 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7476 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.002951s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000830' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004338s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 250 LIMIT 4 [ RunTime:0.007859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.004997s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 250 ORDER BY `unit` DESC [ RunTime:0.010272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 250 LIMIT 2 [ RunTime:0.006842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 250 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='V275LA20AP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.004645s ]
select foldpath,foldpath2,filename from pdf_file where id=299558 limit 1 [ RunTime:0.000621s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V275LA20AP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.012921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 973 LIMIT 4 [ RunTime:0.001156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 973 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 973 LIMIT 2 [ RunTime:0.001842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.002535s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0853.0551' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.002305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6047 LIMIT 4 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6047 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6047 LIMIT 2 [ RunTime:0.002318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3557-2' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.004731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7477 LIMIT 4 [ RunTime:0.001438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.001200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7477 ORDER BY `unit` DESC [ RunTime:0.000898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7477 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='MC000832' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000832' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14983 LIMIT 4 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14983 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14983 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14983 LIMIT 2 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14983 ORDER BY `minOrder` ASC [ RunTime:0.002542s ]
select * from pdf where partno='STMPS2151STR' and brandshort='ST' limit 1 [ RunTime:0.001508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.011713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 249 LIMIT 4 [ RunTime:0.002560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.003163s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 249 ORDER BY `unit` DESC [ RunTime:0.001123s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 249 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 249 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='V100ZA15P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001459s ]
select foldpath,foldpath2,filename from pdf_file where id=179201 limit 1 [ RunTime:0.000603s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V100ZA15P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14931 LIMIT 4 [ RunTime:0.004605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14931 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14931 ORDER BY `unit` DESC [ RunTime:0.000156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14931 LIMIT 2 [ RunTime:0.000165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14931 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='ISL6617CRZ-T' and brandshort='INTERSIL' limit 1 [ RunTime:0.000613s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL6617CRZ-T' OR `brand` LIKE 'INTERSIL%' ) ) LIMIT 1 [ RunTime:0.000202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 248 LIMIT 4 [ RunTime:0.001353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 248 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 248 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 248 ORDER BY `minOrder` ASC [ RunTime:0.002600s ]
select * from pdf where partno='V27ZA1P' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000973s ]
select foldpath,foldpath2,filename from pdf_file where id=213253 limit 1 [ RunTime:0.003125s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V27ZA1P' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14958 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958 ORDER BY `minOrder` ASC [ RunTime:0.002731s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14958 ORDER BY `unit` DESC [ RunTime:0.008720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14958 LIMIT 2 [ RunTime:0.004522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
select * from pdf where partno='RTD2281CL-CG' and brandshort='REALTEK' limit 1 [ RunTime:0.002340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTD2281CL-CG' OR `brand` LIKE 'REALTEK%' ) ) LIMIT 1 [ RunTime:0.001654s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4569 LIMIT 4 [ RunTime:0.006141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.022905s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4569 ORDER BY `unit` DESC [ RunTime:0.005716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4569 LIMIT 2 [ RunTime:0.001131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.001410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01110501Z.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13951 LIMIT 4 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13951 ORDER BY `unit` DESC [ RunTime:0.003921s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13951 LIMIT 2 [ RunTime:0.005900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13951 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='B72520T0040M062' and brandshort='EPCOS' limit 1 [ RunTime:0.002257s ]
select foldpath,foldpath2,filename from pdf_file where id=643217 limit 1 [ RunTime:0.000435s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72520T0040M062' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 717 LIMIT 4 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.000562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 717 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 717 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0020' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.001373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14952 LIMIT 4 [ RunTime:0.006542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14952 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14952 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14952 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14952 ORDER BY `minOrder` ASC [ RunTime:0.001998s ]
select * from pdf where partno='TPS40195RGYR' and brandshort='TI' limit 1 [ RunTime:0.000987s ]
select foldpath,foldpath2,filename from pdf_file where id=2027444 limit 1 [ RunTime:0.006874s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS40195RGYR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.026347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3941 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3941 ORDER BY `unit` DESC [ RunTime:0.002423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3941 LIMIT 2 [ RunTime:0.010283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3941 ORDER BY `minOrder` ASC [ RunTime:0.002127s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MLV0805E32503T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.005906s ]
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,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.008958s ]