SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002369s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001976s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001760s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000266s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000454s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 18 [ RunTime:0.000303s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (85,86,87,88,89,90,91,92,93,94,95,96,97) [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001223s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (85,86,87,88,89,90,91,92,93,94,95,96,97) ) [ RunTime:0.000331s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (85,86,87,88,89,90,91,92,93,94,95,96,97) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001130s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9612 LIMIT 4 [ RunTime:0.000203s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003778s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9612 ORDER BY `unit` DESC [ RunTime:0.000233s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9612 LIMIT 2 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000972s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LQM18FN100M00D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5956 LIMIT 4 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5956 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5956 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-153MED' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5962 LIMIT 4 [ RunTime:0.000196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5962 ORDER BY `unit` DESC [ RunTime:0.000212s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5962 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='MSS1278T-333MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000509s ]
select foldpath,foldpath2,filename from pdf_file where id=1051656 limit 1 [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278T-333MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7069 LIMIT 4 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7069 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7069 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='SRN2512-1R5M' and brandshort='BOURNS' limit 1 [ RunTime:0.000233s ]
select foldpath,foldpath2,filename from pdf_file where id=1921743 limit 1 [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN2512-1R5M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 274 LIMIT 4 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 274 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 274 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22R104C' OR `brand` LIKE 'MURATA POWER SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175 LIMIT 4 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175 LIMIT 2 [ RunTime:0.000206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN6045-101M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5950 LIMIT 4 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5950 ORDER BY `unit` DESC [ RunTime:0.000173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5950 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
select * from pdf where partno='EPL3015-682MLC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000238s ]
select foldpath,foldpath2,filename from pdf_file where id=1156524 limit 1 [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL3015-682MLC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5982 LIMIT 4 [ RunTime:0.000209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5982 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5982 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-222MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5983 LIMIT 4 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5983 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5983 ORDER BY `unit` DESC [ RunTime:0.000215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5983 LIMIT 2 [ RunTime:0.000208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5983 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='XFL4020-472MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000204s ]
select foldpath,foldpath2,filename from pdf_file where id=1047029 limit 1 [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-472MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5949 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5949 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5949 ORDER BY `unit` DESC [ RunTime:0.000214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5949 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5949 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
select * from pdf where partno='EPL2014-472MLB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000232s ]
select foldpath,foldpath2,filename from pdf_file where id=1134672 limit 1 [ RunTime:0.000165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL2014-472MLB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5969 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5969 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5969 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5969 LIMIT 2 [ RunTime:0.000201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5969 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
select * from pdf where partno='XAL4030-332MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000259s ]
select foldpath,foldpath2,filename from pdf_file where id=1047027 limit 1 [ RunTime:0.000191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XAL4030-332MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14968 LIMIT 4 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14968 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14968 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14968 LIMIT 2 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14968 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='IHLP3232DZER150M11' and brandshort='VISHAY' limit 1 [ RunTime:0.000224s ]
select foldpath,foldpath2,filename from pdf_file where id=1314408 limit 1 [ RunTime:0.000191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IHLP3232DZER150M11' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13769 LIMIT 4 [ RunTime:0.000214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13769 ORDER BY `minOrder` ASC [ RunTime:0.000208s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13769 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13769 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13769 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRU5018-1R5Y.' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6737 LIMIT 4 [ RunTime:0.000188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6737 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6737 ORDER BY `unit` DESC [ RunTime:0.000211s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6737 LIMIT 2 [ RunTime:0.000208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6737 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='SDE1006A-821K' and brandshort='BOURNS' limit 1 [ RunTime:0.000209s ]
select foldpath,foldpath2,filename from pdf_file where id=1062609 limit 1 [ RunTime:0.000159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SDE1006A-821K' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5958 LIMIT 4 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5958 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5958 ORDER BY `unit` DESC [ RunTime:0.000218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5958 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5958 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-333MEB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6253 LIMIT 4 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6253 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6253 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6253 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6253 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRP6540-100M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5946 LIMIT 4 [ RunTime:0.000206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5946 ORDER BY `minOrder` ASC [ RunTime:0.000208s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5946 ORDER BY `unit` DESC [ RunTime:0.000176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5946 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5946 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='DO3316P-103MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000251s ]
select foldpath,foldpath2,filename from pdf_file where id=1113627 limit 1 [ RunTime:0.000165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DO3316P-103MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7070 LIMIT 4 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7070 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7070 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7070 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7070 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='SRN4026-150M' and brandshort='BOURNS' limit 1 [ RunTime:0.000804s ]
select foldpath,foldpath2,filename from pdf_file where id=1772394 limit 1 [ RunTime:0.000300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN4026-150M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5981 LIMIT 4 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5981 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5981 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5981 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5981 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='XFL4020-102MEC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000583s ]
select foldpath,foldpath2,filename from pdf_file where id=1047029 limit 1 [ RunTime:0.000166s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-102MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5961 LIMIT 4 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5961 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5961 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5961 LIMIT 2 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5961 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='MSS1278-473MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000823s ]
select foldpath,foldpath2,filename from pdf_file where id=1051655 limit 1 [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278-473MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000497s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (85,86,87,88,89,90,91,92,93,94,95,96,97) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000268s ]