SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001532s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000614s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002941s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000797s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001578s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000302s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002626s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000936s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001850s ]
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 ( `partno` LIKE 'BAV99%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003049s ]
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 ('298','4909','3122','4520','299','13899','31090','30707','30104','30103','29235','29154','27663','27535','27257','19845','19764','18273','18145','17867') ORDER BY FIELD(s.id, 298,4909,3122,4520,299,13899,31090,30707,30104,30103,29235,29154,27663,27535,27257,19845,19764,18273,18145,17867) [ RunTime:0.009341s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 298 LIMIT 4 [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 298 ORDER BY `minOrder` ASC [ RunTime:0.006950s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000856s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 298 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004052s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 298 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 298 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='BAV99,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000527s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4909 LIMIT 4 [ RunTime:0.006098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4909 ORDER BY `minOrder` ASC [ RunTime:0.005195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4909 ORDER BY `unit` DESC [ RunTime:0.000782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4909 LIMIT 2 [ RunTime:0.008041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4909 ORDER BY `minOrder` ASC [ RunTime:0.003980s ]
select * from pdf where partno='BAV99' and brandshort='DIODES INC.' limit 1 [ RunTime:0.006227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.007800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3122 LIMIT 4 [ RunTime:0.011482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3122 ORDER BY `minOrder` ASC [ RunTime:0.000825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3122 ORDER BY `unit` DESC [ RunTime:0.001776s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3122 LIMIT 2 [ RunTime:0.001452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3122 ORDER BY `minOrder` ASC [ RunTime:0.001972s ]
select * from pdf where partno='BAV99WT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.004062s ]
select foldpath,foldpath2,filename from pdf_file where id=225151 limit 1 [ RunTime:0.002923s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99WT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4520 LIMIT 4 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4520 ORDER BY `minOrder` ASC [ RunTime:0.000777s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4520 ORDER BY `unit` DESC [ RunTime:0.004450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4520 LIMIT 2 [ RunTime:0.000871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4520 ORDER BY `minOrder` ASC [ RunTime:0.008569s ]
select * from pdf where partno='BAV99-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.001171s ]
select foldpath,foldpath2,filename from pdf_file where id=672072 limit 1 [ RunTime:0.002644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.007112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 299 LIMIT 4 [ RunTime:0.002514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 299 ORDER BY `minOrder` ASC [ RunTime:0.003327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 299 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 299 LIMIT 2 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 299 ORDER BY `minOrder` ASC [ RunTime:0.004779s ]
select * from pdf where partno='BAV99W,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99W,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.013263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13899 LIMIT 4 [ RunTime:0.002809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13899 ORDER BY `minOrder` ASC [ RunTime:0.000830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13899 ORDER BY `unit` DESC [ RunTime:0.000611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13899 LIMIT 2 [ RunTime:0.000646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13899 ORDER BY `minOrder` ASC [ RunTime:0.002795s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 31090 LIMIT 4 [ RunTime:0.015419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 31090 ORDER BY `minOrder` ASC [ RunTime:0.002129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 31090 ORDER BY `unit` DESC [ RunTime:0.012171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 31090 LIMIT 2 [ RunTime:0.002245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 31090 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='BAV99-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000641s ]
select foldpath,foldpath2,filename from pdf_file where id=672072 limit 1 [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99-7-F' OR `brand` LIKE 'DIODES(美台)%' ) ) LIMIT 1 [ RunTime:0.005280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30707 LIMIT 4 [ RunTime:0.005584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30707 ORDER BY `minOrder` ASC [ RunTime:0.010218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30707 ORDER BY `unit` DESC [ RunTime:0.000681s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30707 LIMIT 2 [ RunTime:0.007540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30707 ORDER BY `minOrder` ASC [ RunTime:0.001193s ]
select * from pdf where partno='BAV99' and brandshort='R+O' limit 1 [ RunTime:0.002431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99' OR `brand` LIKE 'R+O(宏嘉诚)%' ) ) LIMIT 1 [ RunTime:0.013565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30104 LIMIT 4 [ RunTime:0.002213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30104 ORDER BY `minOrder` ASC [ RunTime:0.007177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30104 ORDER BY `unit` DESC [ RunTime:0.013228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30104 LIMIT 2 [ RunTime:0.005024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30104 ORDER BY `minOrder` ASC [ RunTime:0.002571s ]
select * from pdf where partno='BAV99 SOT-23 CJ' and brandshort='CJ' limit 1 [ RunTime:0.003049s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99 SOT-23 CJ' OR `brand` LIKE 'CJ%' ) ) LIMIT 1 [ RunTime:0.003844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30103 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30103 ORDER BY `minOrder` ASC [ RunTime:0.002982s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30103 ORDER BY `unit` DESC [ RunTime:0.006234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30103 LIMIT 2 [ RunTime:0.002172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30103 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='BAV99W' and brandshort='Nexperia' limit 1 [ RunTime:0.002699s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99W' OR `brand` LIKE 'Nexperia%' ) ) LIMIT 1 [ RunTime:0.003609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29235 LIMIT 4 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29235 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29235 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29235 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29235 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='BAV99,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29154 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29154 ORDER BY `minOrder` ASC [ RunTime:0.007746s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29154 ORDER BY `unit` DESC [ RunTime:0.006172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29154 LIMIT 2 [ RunTime:0.001363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29154 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
select * from pdf where partno='BAV99LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001577s ]
select foldpath,foldpath2,filename from pdf_file where id=316312 limit 1 [ RunTime:0.003449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.021161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27663 LIMIT 4 [ RunTime:0.003925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27663 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27663 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27663 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27663 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
select * from pdf where partno='BAV99,215 (A7W)' and brandshort='*' limit 1 [ RunTime:0.000583s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215 (A7W)' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.000434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27535 LIMIT 4 [ RunTime:0.002374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27535 ORDER BY `minOrder` ASC [ RunTime:0.006138s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27535 ORDER BY `unit` DESC [ RunTime:0.003285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27535 LIMIT 2 [ RunTime:0.007425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27535 ORDER BY `minOrder` ASC [ RunTime:0.000702s ]
select * from pdf where partno='BAV99Q-7-F' and brandshort='DIODES/' limit 1 [ RunTime:0.004273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99Q-7-F' OR `brand` LIKE 'DIODES/美台%' ) ) LIMIT 1 [ RunTime:0.002326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27257 LIMIT 4 [ RunTime:0.003551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27257 ORDER BY `minOrder` ASC [ RunTime:0.008689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27257 ORDER BY `unit` DESC [ RunTime:0.008005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27257 LIMIT 2 [ RunTime:0.004866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27257 ORDER BY `minOrder` ASC [ RunTime:0.003199s ]
select * from pdf where partno='BAV99T' and brandshort='*' limit 1 [ RunTime:0.004504s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99T' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.008212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19845 LIMIT 4 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19845 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19845 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19845 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19845 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
select * from pdf where partno='BAV99,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19764 LIMIT 4 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19764 ORDER BY `minOrder` ASC [ RunTime:0.000830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19764 ORDER BY `unit` DESC [ RunTime:0.002913s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19764 LIMIT 2 [ RunTime:0.009397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19764 ORDER BY `minOrder` ASC [ RunTime:0.006979s ]
select * from pdf where partno='BAV99LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.003083s ]
select foldpath,foldpath2,filename from pdf_file where id=316312 limit 1 [ RunTime:0.003484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18273 LIMIT 4 [ RunTime:0.001358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18273 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18273 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18273 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18273 ORDER BY `minOrder` ASC [ RunTime:0.000918s ]
select * from pdf where partno='BAV99,215 (A7W)' and brandshort='*' limit 1 [ RunTime:0.000555s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99,215 (A7W)' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18145 LIMIT 4 [ RunTime:0.001371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18145 ORDER BY `minOrder` ASC [ RunTime:0.000916s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18145 ORDER BY `unit` DESC [ RunTime:0.002034s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18145 LIMIT 2 [ RunTime:0.003420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18145 ORDER BY `minOrder` ASC [ RunTime:0.003014s ]
select * from pdf where partno='BAV99Q-7-F' and brandshort='DIODES/' limit 1 [ RunTime:0.000847s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99Q-7-F' OR `brand` LIKE 'DIODES/美台%' ) ) LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17867 LIMIT 4 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17867 ORDER BY `minOrder` ASC [ RunTime:0.003555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17867 ORDER BY `unit` DESC [ RunTime:0.006619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17867 LIMIT 2 [ RunTime:0.005120s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17867 ORDER BY `minOrder` ASC [ RunTime:0.001216s ]
select * from pdf where partno='BAV99T' and brandshort='*' limit 1 [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV99T' OR `brand` LIKE '*%' ) ) LIMIT 1 [ RunTime:0.009797s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'BAV99%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001492s ]