SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003307s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.003804s ]
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.000365s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001500s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '1.5KE12CA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.003354s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE '1.5KE12CA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004977s ]
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 = 1) ) AND `s`.`id` IN ('30100323','14806975','16664656','14821393','30114712','14803347','30163961','30169158','14735','30290185','30287540','30287528','30277499','30273865','30273822','30266945','30266763','30257287','30255570','30241165') ORDER BY FIELD(s.id, 30100323,14806975,16664656,14821393,30114712,14803347,30163961,30169158,14735,30290185,30287540,30287528,30277499,30273865,30273822,30266945,30266763,30257287,30255570,30241165) [ RunTime:0.014958s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30100323 LIMIT 4 [ RunTime:0.010656s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30100323 ORDER BY `minOrder` ASC [ RunTime:0.006649s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003169s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30100323 ORDER BY `unit` DESC [ RunTime:0.002345s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30100323 LIMIT 2 [ RunTime:0.007696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30100323 ORDER BY `minOrder` ASC [ RunTime:0.005956s ]
select * from pdf where partno='1.5KE12CA' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.006425s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001881s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA' OR `brand` LIKE 'Littelfuse Inc.%' ) ) LIMIT 1 [ RunTime:0.005950s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14806975 LIMIT 4 [ RunTime:0.003397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14806975 ORDER BY `minOrder` ASC [ RunTime:0.007324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14806975 ORDER BY `unit` DESC [ RunTime:0.018880s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14806975 LIMIT 2 [ RunTime:0.020106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14806975 ORDER BY `minOrder` ASC [ RunTime:0.000590s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16664656 LIMIT 4 [ RunTime:0.011851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16664656 ORDER BY `minOrder` ASC [ RunTime:0.012588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16664656 ORDER BY `unit` DESC [ RunTime:0.016449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16664656 LIMIT 2 [ RunTime:0.002156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16664656 ORDER BY `minOrder` ASC [ RunTime:0.004938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14821393 LIMIT 4 [ RunTime:0.001319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14821393 ORDER BY `minOrder` ASC [ RunTime:0.002258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14821393 ORDER BY `unit` DESC [ RunTime:0.000658s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14821393 LIMIT 2 [ RunTime:0.000705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14821393 ORDER BY `minOrder` ASC [ RunTime:0.003627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30114712 LIMIT 4 [ RunTime:0.000910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30114712 ORDER BY `minOrder` ASC [ RunTime:0.006499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30114712 ORDER BY `unit` DESC [ RunTime:0.003593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30114712 LIMIT 2 [ RunTime:0.019426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30114712 ORDER BY `minOrder` ASC [ RunTime:0.006867s ]
select * from pdf where partno='1.5KE12CA-E3/54' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.003815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA-E3/54' OR `brand` LIKE 'Vishay General Semiconductor - Diodes Division%' ) ) LIMIT 1 [ RunTime:0.007404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14803347 LIMIT 4 [ RunTime:0.006522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803347 ORDER BY `minOrder` ASC [ RunTime:0.003764s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14803347 ORDER BY `unit` DESC [ RunTime:0.005282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14803347 LIMIT 2 [ RunTime:0.013417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14803347 ORDER BY `minOrder` ASC [ RunTime:0.002021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30163961 LIMIT 4 [ RunTime:0.007375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30163961 ORDER BY `minOrder` ASC [ RunTime:0.014321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30163961 ORDER BY `unit` DESC [ RunTime:0.007758s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30163961 LIMIT 2 [ RunTime:0.013947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30163961 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
select * from pdf where partno='1.5KE12CA/B' and brandshort='YAGEO' limit 1 [ RunTime:0.001338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA/B' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.007718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30169158 LIMIT 4 [ RunTime:0.010722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30169158 ORDER BY `minOrder` ASC [ RunTime:0.005530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30169158 ORDER BY `unit` DESC [ RunTime:0.001722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30169158 LIMIT 2 [ RunTime:0.002478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30169158 ORDER BY `minOrder` ASC [ RunTime:0.002891s ]
select * from pdf where partno='1.5KE12CA' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.001122s ]
select foldpath,foldpath2,filename from pdf_file where id=310456 limit 1 [ RunTime:0.001040s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.000758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14735 LIMIT 4 [ RunTime:0.004473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14735 ORDER BY `minOrder` ASC [ RunTime:0.013981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14735 ORDER BY `unit` DESC [ RunTime:0.005330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14735 LIMIT 2 [ RunTime:0.004521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14735 ORDER BY `minOrder` ASC [ RunTime:0.005949s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.011933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30290185 LIMIT 4 [ RunTime:0.015267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30290185 ORDER BY `minOrder` ASC [ RunTime:0.006421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30290185 ORDER BY `unit` DESC [ RunTime:0.007486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30290185 LIMIT 2 [ RunTime:0.000651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30290185 ORDER BY `minOrder` ASC [ RunTime:0.004454s ]
select * from pdf where partno='1.5KE12CA_R2_00001' and brandshort='Panjit International Inc.' limit 1 [ RunTime:0.000719s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA_R2_00001' OR `brand` LIKE 'Panjit International Inc.%' ) ) LIMIT 1 [ RunTime:0.001975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30287540 LIMIT 4 [ RunTime:0.018544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30287540 ORDER BY `minOrder` ASC [ RunTime:0.038873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30287540 ORDER BY `unit` DESC [ RunTime:0.005448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30287540 LIMIT 2 [ RunTime:0.046367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30287540 ORDER BY `minOrder` ASC [ RunTime:0.004763s ]
select * from pdf where partno='1.5KE12CA-E3/73' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.028894s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA-E3/73' OR `brand` LIKE 'Vishay General Semiconductor - Diodes Division%' ) ) LIMIT 1 [ RunTime:0.007817s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30287528 LIMIT 4 [ RunTime:0.014699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30287528 ORDER BY `minOrder` ASC [ RunTime:0.017624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30287528 ORDER BY `unit` DESC [ RunTime:0.009647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30287528 LIMIT 2 [ RunTime:0.004298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30287528 ORDER BY `minOrder` ASC [ RunTime:0.001416s ]
select * from pdf where partno='1.5KE12CAHE3_B/C' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.003955s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CAHE3_B/C' OR `brand` LIKE 'Vishay General Semiconductor - Diodes Division%' ) ) LIMIT 1 [ RunTime:0.005754s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30277499 LIMIT 4 [ RunTime:0.006998s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30277499 ORDER BY `minOrder` ASC [ RunTime:0.043152s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30277499 ORDER BY `unit` DESC [ RunTime:0.007499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30277499 LIMIT 2 [ RunTime:0.002185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30277499 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='1.5KE12CAHE3_A/C' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.001068s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CAHE3_A/C' OR `brand` LIKE 'Vishay General Semiconductor - Diodes Division%' ) ) LIMIT 1 [ RunTime:0.001586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30273865 LIMIT 4 [ RunTime:0.004007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30273865 ORDER BY `minOrder` ASC [ RunTime:0.006390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30273865 ORDER BY `unit` DESC [ RunTime:0.004909s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30273865 LIMIT 2 [ RunTime:0.004095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30273865 ORDER BY `minOrder` ASC [ RunTime:0.001721s ]
select * from pdf where partno='1.5KE12CA-G' and brandshort='Comchip Technology' limit 1 [ RunTime:0.007212s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA-G' OR `brand` LIKE 'Comchip Technology%' ) ) LIMIT 1 [ RunTime:0.025343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30273822 LIMIT 4 [ RunTime:0.009506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30273822 ORDER BY `minOrder` ASC [ RunTime:0.006519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30273822 ORDER BY `unit` DESC [ RunTime:0.001068s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30273822 LIMIT 2 [ RunTime:0.002893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30273822 ORDER BY `minOrder` ASC [ RunTime:0.002480s ]
select * from pdf where partno='1.5KE12CA-HF' and brandshort='Comchip Technology' limit 1 [ RunTime:0.009758s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA-HF' OR `brand` LIKE 'Comchip Technology%' ) ) LIMIT 1 [ RunTime:0.001118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30266945 LIMIT 4 [ RunTime:0.002726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30266945 ORDER BY `minOrder` ASC [ RunTime:0.001026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30266945 ORDER BY `unit` DESC [ RunTime:0.005819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30266945 LIMIT 2 [ RunTime:0.000892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30266945 ORDER BY `minOrder` ASC [ RunTime:0.000816s ]
select * from pdf where partno='1.5KE12CA-TP' and brandshort='MCC Micro Commercial Components' limit 1 [ RunTime:0.001504s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA-TP' OR `brand` LIKE 'MCC (Micro Commercial Components)%' ) ) LIMIT 1 [ RunTime:0.002352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30266763 LIMIT 4 [ RunTime:0.000985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30266763 ORDER BY `minOrder` ASC [ RunTime:0.006358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30266763 ORDER BY `unit` DESC [ RunTime:0.000711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30266763 LIMIT 2 [ RunTime:0.001459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30266763 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
select * from pdf where partno='1.5KE12CA-B' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.003964s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA-B' OR `brand` LIKE 'Littelfuse Inc.%' ) ) LIMIT 1 [ RunTime:0.000716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30257287 LIMIT 4 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30257287 ORDER BY `minOrder` ASC [ RunTime:0.005026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30257287 ORDER BY `unit` DESC [ RunTime:0.007057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30257287 LIMIT 2 [ RunTime:0.004736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30257287 ORDER BY `minOrder` ASC [ RunTime:0.004995s ]
select * from pdf where partno='1.5KE12CAH' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.001402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CAH' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.000582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30255570 LIMIT 4 [ RunTime:0.001351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30255570 ORDER BY `minOrder` ASC [ RunTime:0.001080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30255570 ORDER BY `unit` DESC [ RunTime:0.001618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30255570 LIMIT 2 [ RunTime:0.003465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30255570 ORDER BY `minOrder` ASC [ RunTime:0.003351s ]
select * from pdf where partno='1.5KE12CAE3/TR13' and brandshort='Microsemi Corporation' limit 1 [ RunTime:0.000886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CAE3/TR13' OR `brand` LIKE 'Microsemi Corporation%' ) ) LIMIT 1 [ RunTime:0.000660s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30241165 LIMIT 4 [ RunTime:0.002352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30241165 ORDER BY `minOrder` ASC [ RunTime:0.000859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30241165 ORDER BY `unit` DESC [ RunTime:0.005282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30241165 LIMIT 2 [ RunTime:0.005472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30241165 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='1.5KE12CA' and brandshort='Taiwan Semiconductor Corporation' limit 1 [ RunTime:0.010895s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1.5KE12CA' OR `brand` LIKE 'Taiwan Semiconductor Corporation%' ) ) LIMIT 1 [ RunTime:0.008239s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '1.5KE12CA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.011566s ]