SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001271s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006328s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002767s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.183' ) [ RunTime:0.000416s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002165s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004139s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 621 LIMIT 1 [ RunTime:0.005018s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 621 [ RunTime:0.000501s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002506s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 621 ) AND `u`.`lockUser` = '0' [ RunTime:0.010198s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 621 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003164s ]
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 ('10080','923','705','15218','15113','12595','704','3384','10079','3466','8769','9744','11679','14469','11678','12780','6684','703','12870','706') ORDER BY FIELD(s.id, 10080,923,705,15218,15113,12595,704,3384,10079,3466,8769,9744,11679,14469,11678,12780,6684,703,12870,706) [ RunTime:0.007283s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10080 LIMIT 4 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.000528s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10080 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10080 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10080 ORDER BY `minOrder` ASC [ RunTime:0.001699s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000878s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390014' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 923 LIMIT 4 [ RunTime:0.000772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.001858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 923 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 923 LIMIT 2 [ RunTime:0.008443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 923 ORDER BY `minOrder` ASC [ RunTime:0.000621s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.002279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 705 LIMIT 4 [ RunTime:0.006011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.002494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 705 ORDER BY `unit` DESC [ RunTime:0.000787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 705 LIMIT 2 [ RunTime:0.005656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 705 ORDER BY `minOrder` ASC [ RunTime:0.001281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL2/12' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.002149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15218 LIMIT 4 [ RunTime:0.002343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.000900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15218 ORDER BY `unit` DESC [ RunTime:0.002848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15218 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15218 ORDER BY `minOrder` ASC [ RunTime:0.001225s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.001629s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.000712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15113 LIMIT 4 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15113 ORDER BY `unit` DESC [ RunTime:0.000444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15113 LIMIT 2 [ RunTime:0.009720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15113 ORDER BY `minOrder` ASC [ RunTime:0.003052s ]
select * from pdf where partno='OEP8000' and brandshort='OEP OXFORD ELECTRICAL PRODUCTS' limit 1 [ RunTime:0.000576s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OEP8000' OR `brand` LIKE 'OEP (OXFORD ELECTRICAL PRODUCTS)%' ) ) LIMIT 1 [ RunTime:0.000329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12595 LIMIT 4 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.001930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12595 ORDER BY `unit` DESC [ RunTime:0.007558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12595 LIMIT 2 [ RunTime:0.000967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12595 ORDER BY `minOrder` ASC [ RunTime:0.001123s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HHM1732B1' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.006266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 704 LIMIT 4 [ RunTime:0.001474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 704 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 704 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 704 ORDER BY `minOrder` ASC [ RunTime:0.001044s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P3356' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.000868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3384 LIMIT 4 [ RunTime:0.005614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.003270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3384 ORDER BY `unit` DESC [ RunTime:0.003765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3384 LIMIT 2 [ RunTime:0.007948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3384 ORDER BY `minOrder` ASC [ RunTime:0.001040s ]
select * from pdf where partno='VTX-110-006' and brandshort='VIGORTRONIX' limit 1 [ RunTime:0.002079s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VTX-110-006' OR `brand` LIKE 'VIGORTRONIX%' ) ) LIMIT 1 [ RunTime:0.000686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10079 LIMIT 4 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.001771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10079 ORDER BY `unit` DESC [ RunTime:0.008190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10079 LIMIT 2 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10079 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '760390013' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3466 LIMIT 4 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.000736s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3466 ORDER BY `unit` DESC [ RunTime:0.008969s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3466 LIMIT 2 [ RunTime:0.001889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3466 ORDER BY `minOrder` ASC [ RunTime:0.002601s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '44230' OR `brand` LIKE 'MYRRA%' ) ) LIMIT 1 [ RunTime:0.005313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8769 LIMIT 4 [ RunTime:0.004184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.010051s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8769 ORDER BY `unit` DESC [ RunTime:0.005742s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8769 LIMIT 2 [ RunTime:0.000892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8769 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
select * from pdf where partno='7490220123' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001910s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7490220123' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.017121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9744 LIMIT 4 [ RunTime:0.004078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.018835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9744 ORDER BY `unit` DESC [ RunTime:0.013070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9744 LIMIT 2 [ RunTime:0.014783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IT313' OR `brand` LIKE 'SCHAFFNER%' ) ) LIMIT 1 [ RunTime:0.005140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11679 LIMIT 4 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.003250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11679 ORDER BY `unit` DESC [ RunTime:0.004189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11679 LIMIT 2 [ RunTime:0.001023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11679 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ALT4532P-181-T05G' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.010496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14469 LIMIT 4 [ RunTime:0.000684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.000713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14469 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14469 LIMIT 2 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14469 ORDER BY `minOrder` ASC [ RunTime:0.001957s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCTA050/25' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11678 LIMIT 4 [ RunTime:0.015533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.006204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11678 ORDER BY `unit` DESC [ RunTime:0.002385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11678 LIMIT 2 [ RunTime:0.002598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11678 ORDER BY `minOrder` ASC [ RunTime:0.002833s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B78416A2386A003' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.000462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12780 LIMIT 4 [ RunTime:0.005374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.013767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12780 ORDER BY `unit` DESC [ RunTime:0.016088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12780 LIMIT 2 [ RunTime:0.027088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12780 ORDER BY `minOrder` ASC [ RunTime:0.005184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM91519L-E' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.005336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6684 LIMIT 4 [ RunTime:0.001917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.001544s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6684 ORDER BY `unit` DESC [ RunTime:0.006462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6684 LIMIT 2 [ RunTime:0.005439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6684 ORDER BY `minOrder` ASC [ RunTime:0.002482s ]
select * from pdf where partno='LPR4012-202LMLB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.003807s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPR4012-202LMLB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.009433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 703 LIMIT 4 [ RunTime:0.006017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.008570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 703 ORDER BY `unit` DESC [ RunTime:0.023949s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 703 LIMIT 2 [ RunTime:0.019283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 703 ORDER BY `minOrder` ASC [ RunTime:0.004550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P1200' OR `brand` LIKE 'ETAL%' ) ) LIMIT 1 [ RunTime:0.001433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12870 LIMIT 4 [ RunTime:0.002472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.003525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12870 ORDER BY `unit` DESC [ RunTime:0.002520s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12870 LIMIT 2 [ RunTime:0.004764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12870 ORDER BY `minOrder` ASC [ RunTime:0.005514s ]
select * from pdf where partno='B66387G1500X187' and brandshort='EPCOS' limit 1 [ RunTime:0.012989s ]
select foldpath,foldpath2,filename from pdf_file where id=1122529 limit 1 [ RunTime:0.005883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B66387G1500X187' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.007657s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 706 LIMIT 4 [ RunTime:0.004635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 706 ORDER BY `unit` DESC [ RunTime:0.000524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 706 LIMIT 2 [ RunTime:0.003699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 706 ORDER BY `minOrder` ASC [ RunTime:0.000872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FL4/9' OR `brand` LIKE 'BLOCK%' ) ) LIMIT 1 [ RunTime:0.003240s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 621 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.013462s ]