SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000911s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001291s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000209s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000945s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000338s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 49 LIMIT 1 [ RunTime:0.000249s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000155s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) [ RunTime:0.000274s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000956s ]
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` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002953s ]
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 ('5354','14707','2251','10287','5208','4715','4719','5431','5852','4718','3548','841','7891','3696','2841','4716','14710','7677','5357','4987') ORDER BY FIELD(s.id, 5354,14707,2251,10287,5208,4715,4719,5431,5852,4718,3548,841,7891,3696,2841,4716,14710,7677,5357,4987) [ RunTime:0.003414s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5354 LIMIT 4 [ RunTime:0.000164s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5354 ORDER BY `unit` DESC [ RunTime:0.000159s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000839s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5354 LIMIT 2 [ RunTime:0.007111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.002278s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431AIDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.002454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14707 LIMIT 4 [ RunTime:0.005150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14707 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14707 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM317T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2251 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2251 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2251 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
select * from pdf where partno='LD1117S33CTR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000591s ]
select foldpath,foldpath2,filename from pdf_file where id=533327 limit 1 [ RunTime:0.000459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LD1117S33CTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10287 LIMIT 4 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10287 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10287 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP718ASN330T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5208 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.003217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5208 ORDER BY `unit` DESC [ RunTime:0.003257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5208 LIMIT 2 [ RunTime:0.006396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5208 ORDER BY `minOrder` ASC [ RunTime:0.001976s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4719 LIMIT 4 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4719 ORDER BY `unit` DESC [ RunTime:0.000257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4719 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-350816-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5431 LIMIT 4 [ RunTime:0.007241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.002176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5431 ORDER BY `unit` DESC [ RunTime:0.002497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5431 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31886' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5852 LIMIT 4 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5852 ORDER BY `unit` DESC [ RunTime:0.000226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5852 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78M05CDT-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4718 LIMIT 4 [ RunTime:0.001818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4718 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4718 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520083-2' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3548 LIMIT 4 [ RunTime:0.002143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3548 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3548 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A4403GEUTR-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 841 LIMIT 4 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 841 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 841 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='3101.0030' and brandshort='SCHURTER' limit 1 [ RunTime:0.000480s ]
select foldpath,foldpath2,filename from pdf_file where id=761500 limit 1 [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0030' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7891 LIMIT 4 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7891 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7891 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC5504-3.3YM5-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3696 LIMIT 4 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3696 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3696 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/3' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2841 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2841 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2841 LIMIT 2 [ RunTime:0.000228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TC2117-3.3VDBTR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14710 LIMIT 4 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14710 ORDER BY `unit` DESC [ RunTime:0.005234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14710 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='L7824CV' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000466s ]
select foldpath,foldpath2,filename from pdf_file where id=375849 limit 1 [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7824CV' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7677 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7677 ORDER BY `unit` DESC [ RunTime:0.003405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7677 LIMIT 2 [ RunTime:0.005470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.002098s ]
select * from pdf where partno='TLE42744DV50ATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.002120s ]
select foldpath,foldpath2,filename from pdf_file where id=1472930 limit 1 [ RunTime:0.000169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE42744DV50ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5357 LIMIT 4 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5357 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5357 LIMIT 2 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431BQDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4987 LIMIT 4 [ RunTime:0.003851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.002123s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4987 ORDER BY `unit` DESC [ RunTime:0.004579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4987 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCV4274ADT50RKG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000475s ]