SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001961s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000903s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002240s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.183' ) [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001835s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000516s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 2 [ RunTime:0.000881s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (19,20) [ RunTime:0.002928s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004251s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) AND `u`.`lockUser` = '0' [ RunTime:0.001030s ]
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 (98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017972s ]
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 ('7234','14981','14922','7381','14985','14999','14923','11765','14994','14997','14996','14560','7535','2848','14941','11762','9518','14998','14938','7233') ORDER BY FIELD(s.id, 7234,14981,14922,7381,14985,14999,14923,11765,14994,14997,14996,14560,7535,2848,14941,11762,9518,14998,14938,7233) [ RunTime:0.007734s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7234 LIMIT 4 [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7234 ORDER BY `unit` DESC [ RunTime:0.002315s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7234 LIMIT 2 [ RunTime:0.002405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPIC6C596PW-Q100,1' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14981 LIMIT 4 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14981 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14981 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
select * from pdf where partno='74LVC1G07GW,125' and brandshort='Nexperia' limit 1 [ RunTime:0.004346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G07GW,125' OR `brand` LIKE 'Nexperia%' ) ) LIMIT 1 [ RunTime:0.000340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922 LIMIT 4 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='PIC16F886-I/SS' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000329s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F886-I/SS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7381 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7381 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7381 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC7SZ175P6X' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14985 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14985 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14985 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='PIC12F1501T-I/MC' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC12F1501T-I/MC' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.000345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923 LIMIT 4 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.001899s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.006894s ]
select * from pdf where partno='PIC16F887-I/PT' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000384s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.003651s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F887-I/PT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.002160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11765 LIMIT 4 [ RunTime:0.002245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.003542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11765 ORDER BY `unit` DESC [ RunTime:0.000209s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11765 LIMIT 2 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G74DC-Q100H' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14994 LIMIT 4 [ RunTime:0.004808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.007772s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14994 ORDER BY `unit` DESC [ RunTime:0.001529s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14994 LIMIT 2 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
select * from pdf where partno='SGM800-2.93YN5G' and brandshort='SGMICRO' limit 1 [ RunTime:0.001634s ]
select foldpath,foldpath2,filename from pdf_file where id=1999174 limit 1 [ RunTime:0.005600s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM800-2.93YN5G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.008479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14997 LIMIT 4 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.003186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14997 ORDER BY `unit` DESC [ RunTime:0.012946s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14997 LIMIT 2 [ RunTime:0.012079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
select * from pdf where partno='SGM2030-2.8YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.001450s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-2.8YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.002143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14996 LIMIT 4 [ RunTime:0.008616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.001381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14996 ORDER BY `unit` DESC [ RunTime:0.001649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14996 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='SGM2030-3.3YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.009119s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-3.3YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.011958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14560 LIMIT 4 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14560 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14560 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.002932s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL7135CPIZ' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.005422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7535 LIMIT 4 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7535 ORDER BY `unit` DESC [ RunTime:0.000278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7535 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC174ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2848 LIMIT 4 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2848 ORDER BY `unit` DESC [ RunTime:0.000646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2848 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14941 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14941 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14941 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='74AVC16T245DGG,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AVC16T245DGG,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11762 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11762 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11762 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9518 LIMIT 4 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9518 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9518 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NL27WZ17DFT2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.000369s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.007474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 4 [ RunTime:0.007909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.005362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.006480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.003716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.006712s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.000259s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7233 LIMIT 4 [ RunTime:0.000193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7233 ORDER BY `unit` DESC [ RunTime:0.000188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7233 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AHCT594PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000216s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005188s ]