SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001903s ]
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.002203s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001999s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000291s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 592 LIMIT 1 [ RunTime:0.000551s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 592 [ RunTime:0.000385s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001248s ]
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.003627s ]
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.003227s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1087 LIMIT 4 [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1087 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1087 LIMIT 2 [ RunTime:0.002312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.002582s ]
select * from pdf where partno='STFE4 12.7 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001015s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 12.7 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1088 LIMIT 4 [ RunTime:0.001956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.001229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1088 ORDER BY `unit` DESC [ RunTime:0.003011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1088 LIMIT 2 [ RunTime:0.001009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
select * from pdf where partno='STFE4 25.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000681s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 25.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1394 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1394 ORDER BY `unit` DESC [ RunTime:0.000504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1394 LIMIT 2 [ RunTime:0.000946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000810s ]
select * from pdf where partno='HS401' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002499s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS401' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1085 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1085 ORDER BY `unit` DESC [ RunTime:0.001316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1085 LIMIT 2 [ RunTime:0.002282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
select * from pdf where partno='STFE4 4.8 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 4.8 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1197 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1197 ORDER BY `unit` DESC [ RunTime:0.002275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1197 LIMIT 2 [ RunTime:0.000821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.002013s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1212 LIMIT 4 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.000641s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1212 ORDER BY `unit` DESC [ RunTime:0.000588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1212 LIMIT 2 [ RunTime:0.000990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.003851s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-X-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000642s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1200 LIMIT 4 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1200 ORDER BY `unit` DESC [ RunTime:0.002280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1200 LIMIT 2 [ RunTime:0.001147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.001962s ]
select * from pdf where partno='RNF-100-1/8-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.008476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1196 LIMIT 4 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.001785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1196 ORDER BY `unit` DESC [ RunTime:0.003012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1196 LIMIT 2 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/64-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 93 LIMIT 4 [ RunTime:0.001621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 93 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 93 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 93 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 93 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
select * from pdf where partno='13651' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000738s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13651' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1209 LIMIT 4 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.002422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1209 ORDER BY `unit` DESC [ RunTime:0.008068s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1209 LIMIT 2 [ RunTime:0.008586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.002126s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/32-9-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1202 LIMIT 4 [ RunTime:0.003479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1202 ORDER BY `unit` DESC [ RunTime:0.000581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1202 LIMIT 2 [ RunTime:0.000545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16719 LIMIT 4 [ RunTime:0.001065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.000840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16719 ORDER BY `unit` DESC [ RunTime:0.002170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16719 LIMIT 2 [ RunTime:0.005250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.000607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16597 LIMIT 4 [ RunTime:0.002380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.002220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16597 ORDER BY `unit` DESC [ RunTime:0.001798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16597 LIMIT 2 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.001438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.004414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15700 LIMIT 4 [ RunTime:0.004359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.003612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15700 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15700 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.001001s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.000498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15577 LIMIT 4 [ RunTime:0.003600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.003689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15577 ORDER BY `unit` DESC [ RunTime:0.001096s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15577 LIMIT 2 [ RunTime:0.000645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.000543s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10550 LIMIT 4 [ RunTime:0.002405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10550 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10550 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-12/4-X' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1204 LIMIT 4 [ RunTime:0.002306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1204 ORDER BY `unit` DESC [ RunTime:0.000579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1204 LIMIT 2 [ RunTime:0.000549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1086 LIMIT 4 [ RunTime:0.000923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.001953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1086 ORDER BY `unit` DESC [ RunTime:0.002081s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1086 LIMIT 2 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='STFE4 6.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 6.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8175 LIMIT 4 [ RunTime:0.002222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8175 ORDER BY `unit` DESC [ RunTime:0.000570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8175 LIMIT 2 [ RunTime:0.001641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.003743s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ES2000-NO.3-B8-0-STK.' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1484 LIMIT 4 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1484 ORDER BY `unit` DESC [ RunTime:0.000558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1484 LIMIT 2 [ RunTime:0.006092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '562A032-25-0' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001102s ]
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.006755s ]