SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001362s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000518s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001587s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001037s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000233s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 1 [ RunTime:0.000148s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (16,17,18) [ RunTime:0.000179s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001271s ]
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.006022s ]
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.002807s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 4 [ RunTime:0.002313s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.001278s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.000298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.005990s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.002353s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002572s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.017533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9612 LIMIT 4 [ RunTime:0.000848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000808s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9612 ORDER BY `unit` DESC [ RunTime:0.000609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9612 LIMIT 2 [ RunTime:0.009142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LQM18FN100M00D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.010323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5956 LIMIT 4 [ RunTime:0.001515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5956 ORDER BY `unit` DESC [ RunTime:0.000987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5956 LIMIT 2 [ RunTime:0.000656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-153MED' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.001214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5962 LIMIT 4 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.010669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5962 ORDER BY `unit` DESC [ RunTime:0.000495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5962 LIMIT 2 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.002223s ]
select * from pdf where partno='MSS1278T-333MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.001627s ]
select foldpath,foldpath2,filename from pdf_file where id=1051656 limit 1 [ RunTime:0.008192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278T-333MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.004024s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.005684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.008975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.000596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.001417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.002335s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.003922s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.003221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7069 LIMIT 4 [ RunTime:0.002368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.002836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7069 ORDER BY `unit` DESC [ RunTime:0.000577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7069 LIMIT 2 [ RunTime:0.002179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.000876s ]
select * from pdf where partno='SRN2512-1R5M' and brandshort='BOURNS' limit 1 [ RunTime:0.002527s ]
select foldpath,foldpath2,filename from pdf_file where id=1921743 limit 1 [ RunTime:0.001781s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN2512-1R5M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.006671s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 274 LIMIT 4 [ RunTime:0.006535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.003065s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 274 ORDER BY `unit` DESC [ RunTime:0.003947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 274 LIMIT 2 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22R104C' OR `brand` LIKE 'MURATA POWER SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175 LIMIT 4 [ RunTime:0.002525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175 ORDER BY `unit` DESC [ RunTime:0.001550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175 LIMIT 2 [ RunTime:0.000790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN6045-101M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5950 LIMIT 4 [ RunTime:0.002233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5950 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5950 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
select * from pdf where partno='EPL3015-682MLC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.007495s ]
select foldpath,foldpath2,filename from pdf_file where id=1156524 limit 1 [ RunTime:0.002243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL3015-682MLC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.001000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5982 LIMIT 4 [ RunTime:0.000526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.001082s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5982 ORDER BY `unit` DESC [ RunTime:0.000601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5982 LIMIT 2 [ RunTime:0.004577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.002076s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-222MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.001113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5983 LIMIT 4 [ RunTime:0.005511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5983 ORDER BY `minOrder` ASC [ RunTime:0.000527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5983 ORDER BY `unit` DESC [ RunTime:0.002391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5983 LIMIT 2 [ RunTime:0.002192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5983 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='XFL4020-472MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.001618s ]
select foldpath,foldpath2,filename from pdf_file where id=1047029 limit 1 [ RunTime:0.002700s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-472MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.011271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5949 LIMIT 4 [ RunTime:0.006803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5949 ORDER BY `minOrder` ASC [ RunTime:0.012948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5949 ORDER BY `unit` DESC [ RunTime:0.005771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5949 LIMIT 2 [ RunTime:0.011662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5949 ORDER BY `minOrder` ASC [ RunTime:0.009006s ]
select * from pdf where partno='EPL2014-472MLB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.004916s ]
select foldpath,foldpath2,filename from pdf_file where id=1134672 limit 1 [ RunTime:0.026969s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL2014-472MLB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.002863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5969 LIMIT 4 [ RunTime:0.008012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5969 ORDER BY `minOrder` ASC [ RunTime:0.002503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5969 ORDER BY `unit` DESC [ RunTime:0.001063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5969 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5969 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
select * from pdf where partno='XAL4030-332MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.001572s ]
select foldpath,foldpath2,filename from pdf_file where id=1047027 limit 1 [ RunTime:0.001500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XAL4030-332MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14968 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14968 ORDER BY `minOrder` ASC [ RunTime:0.002244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14968 ORDER BY `unit` DESC [ RunTime:0.005157s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14968 LIMIT 2 [ RunTime:0.001574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14968 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='IHLP3232DZER150M11' and brandshort='VISHAY' limit 1 [ RunTime:0.001520s ]
select foldpath,foldpath2,filename from pdf_file where id=1314408 limit 1 [ RunTime:0.002110s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IHLP3232DZER150M11' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.008612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13769 LIMIT 4 [ RunTime:0.003631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13769 ORDER BY `minOrder` ASC [ RunTime:0.000614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13769 ORDER BY `unit` DESC [ RunTime:0.005587s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13769 LIMIT 2 [ RunTime:0.000622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13769 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRU5018-1R5Y.' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.004798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10076 LIMIT 4 [ RunTime:0.005008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.007947s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10076 ORDER BY `unit` DESC [ RunTime:0.008074s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10076 LIMIT 2 [ RunTime:0.000993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494X476K035AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.004141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6737 LIMIT 4 [ RunTime:0.001057s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6737 ORDER BY `minOrder` ASC [ RunTime:0.003872s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6737 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6737 LIMIT 2 [ RunTime:0.000797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6737 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='SDE1006A-821K' and brandshort='BOURNS' limit 1 [ RunTime:0.001653s ]
select foldpath,foldpath2,filename from pdf_file where id=1062609 limit 1 [ RunTime:0.000791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SDE1006A-821K' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002087s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5958 LIMIT 4 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5958 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5958 ORDER BY `unit` DESC [ RunTime:0.000993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5958 LIMIT 2 [ RunTime:0.001768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5958 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-333MEB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000464s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6253 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6253 ORDER BY `minOrder` ASC [ RunTime:0.000510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6253 ORDER BY `unit` DESC [ RunTime:0.003642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6253 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6253 ORDER BY `minOrder` ASC [ RunTime:0.003767s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRP6540-100M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.013302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5946 LIMIT 4 [ RunTime:0.002118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5946 ORDER BY `minOrder` ASC [ RunTime:0.001851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5946 ORDER BY `unit` DESC [ RunTime:0.002711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5946 LIMIT 2 [ RunTime:0.002400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5946 ORDER BY `minOrder` ASC [ RunTime:0.002826s ]
select * from pdf where partno='DO3316P-103MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.002730s ]
select foldpath,foldpath2,filename from pdf_file where id=1113627 limit 1 [ RunTime:0.010501s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DO3316P-103MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.006516s ]
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.000565s ]