SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001636s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000555s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001381s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001124s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000240s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 134 LIMIT 1 [ RunTime:0.000392s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 134 [ RunTime:0.000352s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000238s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002115s ]
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` = 134 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001151s ]
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 ('14959','10387','2254','8211','10983','9216','7435','3433','6575','10036','16907','15889','9417','3809','9212','10388','9591','11343','7396','7614') ORDER BY FIELD(s.id, 14959,10387,2254,8211,10983,9216,7435,3433,6575,10036,16907,15889,9417,3809,9212,10388,9591,11343,7396,7614) [ RunTime:0.001556s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14959 LIMIT 4 [ RunTime:0.000406s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14959 ORDER BY `unit` DESC [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14959 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='TYN640RG' and brandshort='ST' limit 1 [ RunTime:0.001884s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002549s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TYN640RG' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.014117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10387 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10387 ORDER BY `unit` DESC [ RunTime:0.003688s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10387 LIMIT 2 [ RunTime:0.000773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAC97A6,116' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2254 LIMIT 4 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2254 ORDER BY `unit` DESC [ RunTime:0.000303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2254 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MOC3051-M' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8211 LIMIT 4 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8211 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8211 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MRA4005T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.005789s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10983 LIMIT 4 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10983 ORDER BY `unit` DESC [ RunTime:0.000234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10983 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X0202MA 2BL2' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216 LIMIT 4 [ RunTime:0.000228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
select * from pdf where partno='S6X8ES' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000916s ]
select foldpath,foldpath2,filename from pdf_file where id=626060 limit 1 [ RunTime:0.001110s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S6X8ES' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7435 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7435 ORDER BY `unit` DESC [ RunTime:0.000239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7435 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3433 LIMIT 4 [ RunTime:0.000155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3433 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3433 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IS622X' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6575 LIMIT 4 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6575 ORDER BY `unit` DESC [ RunTime:0.000147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6575 LIMIT 2 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
select * from pdf where partno='BTB24-800BWRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000577s ]
select foldpath,foldpath2,filename from pdf_file where id=551017 limit 1 [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTB24-800BWRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10036 LIMIT 4 [ RunTime:0.000153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10036 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10036 LIMIT 2 [ RunTime:0.000150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.000143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BT151-500R,127' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16907 LIMIT 4 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16907 ORDER BY `unit` DESC [ RunTime:0.000151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16907 LIMIT 2 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.000143s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15889 LIMIT 4 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15889 ORDER BY `unit` DESC [ RunTime:0.000237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15889 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000571s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9417 LIMIT 4 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9417 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9417 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T3050H-6T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3809 LIMIT 4 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3809 ORDER BY `unit` DESC [ RunTime:0.000535s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3809 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T2535-600G-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9212 LIMIT 4 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9212 ORDER BY `unit` DESC [ RunTime:0.000237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9212 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='P0080SAMCLRP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001176s ]
select foldpath,foldpath2,filename from pdf_file where id=1020732 limit 1 [ RunTime:0.000607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0080SAMCLRP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005820s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10388 LIMIT 4 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10388 ORDER BY `unit` DESC [ RunTime:0.003751s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10388 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EC103D1WX' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9591 LIMIT 4 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9591 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9591 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TISP4040L1BJR-S' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11343 LIMIT 4 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11343 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11343 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA312B-600B,118' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000506s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7396 LIMIT 4 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7396 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7396 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FODM3053R2-NF098' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7614 LIMIT 4 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7614 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7614 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='MCMA140P1600TA' and brandshort='IXYS SEMICONDUCTOR' limit 1 [ RunTime:0.001104s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCMA140P1600TA' OR `brand` LIKE 'IXYS SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.002103s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 134 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000833s ]