SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003329s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000712s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002559s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000386s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002183s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000369s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 592 LIMIT 1 [ RunTime:0.000362s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 592 [ RunTime:0.000279s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002541s ]
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` = 592 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001718s ]
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 ('1087','1088','1394','1085','1197','1212','1200','1196','93','1209','1202','16719','16597','15700','15577','10550','1204','1086','8175','1484') ORDER BY FIELD(s.id, 1087,1088,1394,1085,1197,1212,1200,1196,93,1209,1202,16719,16597,15700,15577,10550,1204,1086,8175,1484) [ RunTime:0.010757s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003730s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1087 LIMIT 4 [ RunTime:0.000452s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.000792s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1087 ORDER BY `unit` DESC [ RunTime:0.000882s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1087 LIMIT 2 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.002930s ]
select * from pdf where partno='STFE4 12.7 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001492s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 12.7 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1088 LIMIT 4 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1088 ORDER BY `unit` DESC [ RunTime:0.002904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1088 LIMIT 2 [ RunTime:0.001869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.005624s ]
select * from pdf where partno='STFE4 25.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 25.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1394 LIMIT 4 [ RunTime:0.002962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.002807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1394 ORDER BY `unit` DESC [ RunTime:0.002898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1394 LIMIT 2 [ RunTime:0.004569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.002436s ]
select * from pdf where partno='HS401' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.003163s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS401' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000962s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1085 LIMIT 4 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1085 ORDER BY `unit` DESC [ RunTime:0.000195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1085 LIMIT 2 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
select * from pdf where partno='STFE4 4.8 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 4.8 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1197 LIMIT 4 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.002885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1197 ORDER BY `unit` DESC [ RunTime:0.001451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1197 LIMIT 2 [ RunTime:0.002551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.001500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1212 LIMIT 4 [ RunTime:0.001056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1212 ORDER BY `unit` DESC [ RunTime:0.000153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1212 LIMIT 2 [ RunTime:0.000150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-X-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1200 LIMIT 4 [ RunTime:0.001291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1200 ORDER BY `unit` DESC [ RunTime:0.003578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1200 LIMIT 2 [ RunTime:0.005381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
select * from pdf where partno='RNF-100-1/8-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.005800s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001794s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1196 LIMIT 4 [ RunTime:0.004429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000899s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1196 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1196 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/64-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 93 LIMIT 4 [ RunTime:0.004483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 93 ORDER BY `minOrder` ASC [ RunTime:0.011334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 93 ORDER BY `unit` DESC [ RunTime:0.000417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 93 LIMIT 2 [ RunTime:0.001484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 93 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='13651' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002528s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13651' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1209 LIMIT 4 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1209 ORDER BY `unit` DESC [ RunTime:0.000412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1209 LIMIT 2 [ RunTime:0.002732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.001058s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/32-9-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1202 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1202 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1202 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16719 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.002232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16719 ORDER BY `unit` DESC [ RunTime:0.005958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16719 LIMIT 2 [ RunTime:0.001923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.000275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16597 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.000573s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16597 ORDER BY `unit` DESC [ RunTime:0.000398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16597 LIMIT 2 [ RunTime:0.011795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.000848s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.006081s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15700 LIMIT 4 [ RunTime:0.000950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.000965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15700 ORDER BY `unit` DESC [ RunTime:0.000430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15700 LIMIT 2 [ RunTime:0.000791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.000292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15577 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.000743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15577 ORDER BY `unit` DESC [ RunTime:0.002293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15577 LIMIT 2 [ RunTime:0.003029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10550 LIMIT 4 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10550 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10550 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-12/4-X' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1204 LIMIT 4 [ RunTime:0.000902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.002411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1204 ORDER BY `unit` DESC [ RunTime:0.002981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1204 LIMIT 2 [ RunTime:0.001042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1086 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1086 ORDER BY `unit` DESC [ RunTime:0.000437s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1086 LIMIT 2 [ RunTime:0.002452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.001267s ]
select * from pdf where partno='STFE4 6.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.003254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 6.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8175 LIMIT 4 [ RunTime:0.001723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.001636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8175 ORDER BY `unit` DESC [ RunTime:0.002247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8175 LIMIT 2 [ RunTime:0.005985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ES2000-NO.3-B8-0-STK.' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1484 LIMIT 4 [ RunTime:0.002137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.001776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1484 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1484 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '562A032-25-0' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001085s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 592 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.009818s ]