SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002595s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005123s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001650s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.79' ) [ RunTime:0.007234s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001422s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005014s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 2 LIMIT 1 [ RunTime:0.047756s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 2 [ RunTime:0.040403s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (19,20) [ RunTime:0.018411s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002521s ]
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.021238s ]
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.056524s ]
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.048173s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.031274s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7234 LIMIT 4 [ RunTime:0.013381s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.021404s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002748s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7234 ORDER BY `unit` DESC [ RunTime:0.007358s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7234 LIMIT 2 [ RunTime:0.007517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.012746s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPIC6C596PW-Q100,1' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.024666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14981 LIMIT 4 [ RunTime:0.003301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.008523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14981 ORDER BY `unit` DESC [ RunTime:0.008606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14981 LIMIT 2 [ RunTime:0.013887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14981 ORDER BY `minOrder` ASC [ RunTime:0.005793s ]
select * from pdf where partno='74LVC1G07GW,125' and brandshort='Nexperia' limit 1 [ RunTime:0.002516s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G07GW,125' OR `brand` LIKE 'Nexperia%' ) ) LIMIT 1 [ RunTime:0.004915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922 LIMIT 4 [ RunTime:0.011619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.025329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922 ORDER BY `unit` DESC [ RunTime:0.016936s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922 LIMIT 2 [ RunTime:0.029568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.001302s ]
select * from pdf where partno='PIC16F886-I/SS' and brandshort='MICROCHIP' limit 1 [ RunTime:0.051299s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.043933s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F886-I/SS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.059431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7381 LIMIT 4 [ RunTime:0.023273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.010080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7381 ORDER BY `unit` DESC [ RunTime:0.010853s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7381 LIMIT 2 [ RunTime:0.017974s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7381 ORDER BY `minOrder` ASC [ RunTime:0.001380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC7SZ175P6X' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.001125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14985 LIMIT 4 [ RunTime:0.018782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.049381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14985 ORDER BY `unit` DESC [ RunTime:0.015409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14985 LIMIT 2 [ RunTime:0.034362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.018032s ]
select * from pdf where partno='PIC12F1501T-I/MC' and brandshort='MICROCHIP' limit 1 [ RunTime:0.013005s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC12F1501T-I/MC' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.058566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.010022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.008521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.014595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.020478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.014409s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.006822s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.002884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923 LIMIT 4 [ RunTime:0.031172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.061582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923 ORDER BY `unit` DESC [ RunTime:0.037143s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923 LIMIT 2 [ RunTime:0.003708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.007546s ]
select * from pdf where partno='PIC16F887-I/PT' and brandshort='MICROCHIP' limit 1 [ RunTime:0.019784s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.003638s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F887-I/PT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.043424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11765 LIMIT 4 [ RunTime:0.015619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.009811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11765 ORDER BY `unit` DESC [ RunTime:0.005698s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11765 LIMIT 2 [ RunTime:0.001308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11765 ORDER BY `minOrder` ASC [ RunTime:0.008407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74LVC1G74DC-Q100H' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.013406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14994 LIMIT 4 [ RunTime:0.009291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.000892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14994 ORDER BY `unit` DESC [ RunTime:0.007262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14994 LIMIT 2 [ RunTime:0.007954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='SGM800-2.93YN5G' and brandshort='SGMICRO' limit 1 [ RunTime:0.002137s ]
select foldpath,foldpath2,filename from pdf_file where id=1999174 limit 1 [ RunTime:0.007548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM800-2.93YN5G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.003802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14997 LIMIT 4 [ RunTime:0.012262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.010652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14997 ORDER BY `unit` DESC [ RunTime:0.013629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14997 LIMIT 2 [ RunTime:0.006016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.001323s ]
select * from pdf where partno='SGM2030-2.8YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.011715s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-2.8YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.016343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14996 LIMIT 4 [ RunTime:0.008207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.005600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14996 ORDER BY `unit` DESC [ RunTime:0.002281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14996 LIMIT 2 [ RunTime:0.002205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.001543s ]
select * from pdf where partno='SGM2030-3.3YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.000655s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-3.3YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.002040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14560 LIMIT 4 [ RunTime:0.000476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14560 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14560 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14560 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL7135CPIZ' OR `brand` LIKE 'RENESAS%' ) ) LIMIT 1 [ RunTime:0.000317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7535 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7535 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7535 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7535 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC174ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2848 LIMIT 4 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2848 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2848 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14941 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14941 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14941 ORDER BY `unit` DESC [ RunTime:0.000295s ]
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.000279s ]
select * from pdf where partno='74AVC16T245DGG,118' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AVC16T245DGG,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11762 LIMIT 4 [ RunTime:0.000950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11762 ORDER BY `unit` DESC [ RunTime:0.001699s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11762 LIMIT 2 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11762 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74HC4538DB,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9518 LIMIT 4 [ RunTime:0.002158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.002107s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9518 ORDER BY `unit` DESC [ RunTime:0.002721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9518 LIMIT 2 [ RunTime:0.000993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9518 ORDER BY `minOrder` ASC [ RunTime:0.000889s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NL27WZ17DFT2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.001301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.000495s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.001862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.003311s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.001445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.008741s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7233 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.003835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7233 ORDER BY `unit` DESC [ RunTime:0.001219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7233 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.003158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AHCT594PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000364s ]
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.004857s ]