SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001278s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001100s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.001444s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000925s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001592s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 1 LIMIT 1 [ RunTime:0.003193s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 1 [ RunTime:0.000157s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (16,17,18) [ RunTime:0.000165s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000985s ]
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 (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001459s ]
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 ('14975','9612','5956','5962','14970','7069','274','5175','5950','5982','5983','5949','5969','14968','13769','10076','6737','5958','6253','5946') ORDER BY FIELD(s.id, 14975,9612,5956,5962,14970,7069,274,5175,5950,5982,5983,5949,5969,14968,13769,10076,6737,5958,6253,5946) [ RunTime:0.013625s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001636s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 4 [ RunTime:0.001267s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001001s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.000161s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.000153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.000819s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9612 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9612 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9612 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LQM18FN100M00D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5956 LIMIT 4 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5956 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5956 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-153MED' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5962 LIMIT 4 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5962 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5962 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
select * from pdf where partno='MSS1278T-333MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000580s ]
select foldpath,foldpath2,filename from pdf_file where id=1051656 limit 1 [ RunTime:0.000295s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278T-333MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.000460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7069 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7069 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7069 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='SRN2512-1R5M' and brandshort='BOURNS' limit 1 [ RunTime:0.000568s ]
select foldpath,foldpath2,filename from pdf_file where id=1921743 limit 1 [ RunTime:0.000273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN2512-1R5M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 274 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 274 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 274 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22R104C' OR `brand` LIKE 'MURATA POWER SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175 LIMIT 4 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN6045-101M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5950 LIMIT 4 [ RunTime:0.000424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5950 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5950 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
select * from pdf where partno='EPL3015-682MLC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000386s ]
select foldpath,foldpath2,filename from pdf_file where id=1156524 limit 1 [ RunTime:0.000269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL3015-682MLC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000338s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5982 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5982 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5982 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-222MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5983 LIMIT 4 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5983 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5983 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5983 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5983 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='XFL4020-472MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000371s ]
select foldpath,foldpath2,filename from pdf_file where id=1047029 limit 1 [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-472MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5949 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5949 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5949 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5949 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5949 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='EPL2014-472MLB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000404s ]
select foldpath,foldpath2,filename from pdf_file where id=1134672 limit 1 [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL2014-472MLB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5969 LIMIT 4 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5969 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5969 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5969 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5969 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='XAL4030-332MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000728s ]
select foldpath,foldpath2,filename from pdf_file where id=1047027 limit 1 [ RunTime:0.000312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XAL4030-332MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14968 LIMIT 4 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14968 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14968 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14968 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14968 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='IHLP3232DZER150M11' and brandshort='VISHAY' limit 1 [ RunTime:0.000499s ]
select foldpath,foldpath2,filename from pdf_file where id=1314408 limit 1 [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IHLP3232DZER150M11' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13769 LIMIT 4 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13769 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13769 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13769 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13769 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRU5018-1R5Y.' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10076 LIMIT 4 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10076 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10076 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494X476K035AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6737 LIMIT 4 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6737 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6737 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6737 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6737 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
select * from pdf where partno='SDE1006A-821K' and brandshort='BOURNS' limit 1 [ RunTime:0.000395s ]
select foldpath,foldpath2,filename from pdf_file where id=1062609 limit 1 [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SDE1006A-821K' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5958 LIMIT 4 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5958 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5958 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5958 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5958 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-333MEB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6253 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6253 ORDER BY `minOrder` ASC [ RunTime:0.000634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6253 ORDER BY `unit` DESC [ RunTime:0.000466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6253 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6253 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRP6540-100M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5946 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5946 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5946 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5946 LIMIT 2 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5946 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
select * from pdf where partno='DO3316P-103MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000377s ]
select foldpath,foldpath2,filename from pdf_file where id=1113627 limit 1 [ RunTime:0.000229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DO3316P-103MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000253s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000520s ]