SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001086s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002336s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000361s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002158s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000348s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 403 LIMIT 1 [ RunTime:0.002567s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 403 [ RunTime:0.000325s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002497s ]
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` = 403 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015014s ]
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 ('14916','14961','10843','14914','9734','14977','9412','7531','9415','10888','9414','14980','11359','2642','6598','8033','10864','14711','9835','3713') ORDER BY FIELD(s.id, 14916,14961,10843,14914,9734,14977,9412,7531,9415,10888,9414,14980,11359,2642,6598,8033,10864,14711,9835,3713) [ RunTime:0.006258s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14916 LIMIT 4 [ RunTime:0.003208s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.007584s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14916 ORDER BY `unit` DESC [ RunTime:0.000607s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14916 LIMIT 2 [ RunTime:0.000696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003370s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.014405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14961 LIMIT 4 [ RunTime:0.000836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14961 ORDER BY `unit` DESC [ RunTime:0.000516s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14961 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10843 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10843 ORDER BY `unit` DESC [ RunTime:0.001206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10843 LIMIT 2 [ RunTime:0.002920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14914 LIMIT 4 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14914 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14914 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.017125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9734 LIMIT 4 [ RunTime:0.004301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.001800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9734 ORDER BY `unit` DESC [ RunTime:0.002401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9734 LIMIT 2 [ RunTime:0.003254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.004242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C02-RDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14977 LIMIT 4 [ RunTime:0.002597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14977 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14977 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.001972s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000216s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9412 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.010316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9412 ORDER BY `unit` DESC [ RunTime:0.005925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9412 LIMIT 2 [ RunTime:0.002960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7531 LIMIT 4 [ RunTime:0.003143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.006202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7531 ORDER BY `unit` DESC [ RunTime:0.000417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7531 LIMIT 2 [ RunTime:0.006590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256YI-GT3' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9415 LIMIT 4 [ RunTime:0.006985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.002230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9415 ORDER BY `unit` DESC [ RunTime:0.001414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9415 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.001770s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M02-DRCS6TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10888 LIMIT 4 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10888 ORDER BY `unit` DESC [ RunTime:0.002062s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10888 LIMIT 2 [ RunTime:0.004537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.007456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9414 LIMIT 4 [ RunTime:0.001733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.016433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9414 ORDER BY `unit` DESC [ RunTime:0.001325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9414 LIMIT 2 [ RunTime:0.002449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14980 LIMIT 4 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.003275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14980 ORDER BY `unit` DESC [ RunTime:0.004598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14980 LIMIT 2 [ RunTime:0.000799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001706s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11359 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.004784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11359 ORDER BY `unit` DESC [ RunTime:0.002384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11359 LIMIT 2 [ RunTime:0.008714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
select * from pdf where partno='M95640-WMN6TP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002793s ]
select foldpath,foldpath2,filename from pdf_file where id=466715 limit 1 [ RunTime:0.000589s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95640-WMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2642 LIMIT 4 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.002935s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2642 ORDER BY `unit` DESC [ RunTime:0.001210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2642 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '93LC56BT-I/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.017499s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6598 LIMIT 4 [ RunTime:0.000644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.008763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6598 ORDER BY `unit` DESC [ RunTime:0.001484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6598 LIMIT 2 [ RunTime:0.004046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.001304s ]
select * from pdf where partno='AT93C46DN-SH-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT93C46DN-SH-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.025866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8033 LIMIT 4 [ RunTime:0.008040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8033 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8033 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8033 LIMIT 2 [ RunTime:0.001982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8033 ORDER BY `minOrder` ASC [ RunTime:0.001397s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS24B33+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001142s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10864 LIMIT 4 [ RunTime:0.004460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10864 ORDER BY `minOrder` ASC [ RunTime:0.002419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10864 ORDER BY `unit` DESC [ RunTime:0.003642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10864 LIMIT 2 [ RunTime:0.000701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10864 ORDER BY `minOrder` ASC [ RunTime:0.001227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M93C56-RMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14711 LIMIT 4 [ RunTime:0.003632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14711 ORDER BY `minOrder` ASC [ RunTime:0.000565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14711 ORDER BY `unit` DESC [ RunTime:0.002496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14711 LIMIT 2 [ RunTime:0.001785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14711 ORDER BY `minOrder` ASC [ RunTime:0.003177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC256-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.021083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9835 LIMIT 4 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9835 ORDER BY `minOrder` ASC [ RunTime:0.001656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9835 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9835 LIMIT 2 [ RunTime:0.001546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9835 ORDER BY `minOrder` ASC [ RunTime:0.002644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC04BT-E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.034845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3713 LIMIT 4 [ RunTime:0.006584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3713 ORDER BY `minOrder` ASC [ RunTime:0.002023s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3713 ORDER BY `unit` DESC [ RunTime:0.001008s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3713 LIMIT 2 [ RunTime:0.002363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3713 ORDER BY `minOrder` ASC [ RunTime:0.004671s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256WI-GT3.' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013214s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 403 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002455s ]