SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001869s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000565s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002463s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002233s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000353s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 134 LIMIT 1 [ RunTime:0.000412s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 134 [ RunTime:0.000258s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000247s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002480s ]
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.001355s ]
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.003190s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14959 LIMIT 4 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14959 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000963s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14959 LIMIT 2 [ RunTime:0.000196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='TYN640RG' and brandshort='ST' limit 1 [ RunTime:0.000431s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TYN640RG' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10387 LIMIT 4 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10387 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10387 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAC97A6,116' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2254 LIMIT 4 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.000605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2254 ORDER BY `unit` DESC [ RunTime:0.002124s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2254 LIMIT 2 [ RunTime:0.006714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.001532s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MOC3051-M' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8211 LIMIT 4 [ RunTime:0.003489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.005183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8211 ORDER BY `unit` DESC [ RunTime:0.000683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8211 LIMIT 2 [ RunTime:0.002960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.004059s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MRA4005T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10983 LIMIT 4 [ RunTime:0.000696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.007619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10983 ORDER BY `unit` DESC [ RunTime:0.000840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10983 LIMIT 2 [ RunTime:0.003092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.006098s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X0202MA 2BL2' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216 LIMIT 4 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.001403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216 ORDER BY `unit` DESC [ RunTime:0.000683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216 LIMIT 2 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='S6X8ES' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002363s ]
select foldpath,foldpath2,filename from pdf_file where id=626060 limit 1 [ RunTime:0.000583s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S6X8ES' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.013351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7435 LIMIT 4 [ RunTime:0.015767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.005095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7435 ORDER BY `unit` DESC [ RunTime:0.000994s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7435 LIMIT 2 [ RunTime:0.003376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.000688s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3433 LIMIT 4 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.000796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3433 ORDER BY `unit` DESC [ RunTime:0.000575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3433 LIMIT 2 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IS622X' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.008991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6575 LIMIT 4 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.004382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6575 ORDER BY `unit` DESC [ RunTime:0.000938s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6575 LIMIT 2 [ RunTime:0.000744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.002133s ]
select * from pdf where partno='BTB24-800BWRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002266s ]
select foldpath,foldpath2,filename from pdf_file where id=551017 limit 1 [ RunTime:0.005084s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTB24-800BWRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10036 LIMIT 4 [ RunTime:0.005355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.004469s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10036 ORDER BY `unit` DESC [ RunTime:0.000706s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10036 LIMIT 2 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BT151-500R,127' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.001053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16907 LIMIT 4 [ RunTime:0.001401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.005306s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16907 ORDER BY `unit` DESC [ RunTime:0.002257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16907 LIMIT 2 [ RunTime:0.000647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.001210s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000574s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15889 LIMIT 4 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.005326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15889 ORDER BY `unit` DESC [ RunTime:0.000430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15889 LIMIT 2 [ RunTime:0.000948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.001528s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9417 LIMIT 4 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.004764s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9417 ORDER BY `unit` DESC [ RunTime:0.001672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9417 LIMIT 2 [ RunTime:0.000682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T3050H-6T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3809 LIMIT 4 [ RunTime:0.001462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.007728s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3809 ORDER BY `unit` DESC [ RunTime:0.004362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3809 LIMIT 2 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T2535-600G-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9212 LIMIT 4 [ RunTime:0.003635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9212 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9212 LIMIT 2 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
select * from pdf where partno='P0080SAMCLRP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000617s ]
select foldpath,foldpath2,filename from pdf_file where id=1020732 limit 1 [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0080SAMCLRP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10388 LIMIT 4 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10388 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10388 LIMIT 2 [ RunTime:0.006389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000758s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EC103D1WX' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9591 LIMIT 4 [ RunTime:0.003900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.010687s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9591 ORDER BY `unit` DESC [ RunTime:0.001086s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9591 LIMIT 2 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TISP4040L1BJR-S' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11343 LIMIT 4 [ RunTime:0.004388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11343 ORDER BY `unit` DESC [ RunTime:0.000601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11343 LIMIT 2 [ RunTime:0.001789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.000521s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA312B-600B,118' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.012819s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7396 LIMIT 4 [ RunTime:0.001879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7396 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7396 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FODM3053R2-NF098' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.009981s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7614 LIMIT 4 [ RunTime:0.002312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.002089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7614 ORDER BY `unit` DESC [ RunTime:0.001987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7614 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
select * from pdf where partno='MCMA140P1600TA' and brandshort='IXYS SEMICONDUCTOR' limit 1 [ RunTime:0.001551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCMA140P1600TA' OR `brand` LIKE 'IXYS SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.005327s ]
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.004696s ]