SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001283s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000465s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001235s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000250s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000891s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000191s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 592 LIMIT 1 [ RunTime:0.000195s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 592 [ RunTime:0.000145s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000153s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001540s ]
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.000952s ]
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.017089s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1087 LIMIT 4 [ RunTime:0.000219s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000772s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1087 ORDER BY `unit` DESC [ RunTime:0.000163s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1087 LIMIT 2 [ RunTime:0.000158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
select * from pdf where partno='STFE4 12.7 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000578s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 12.7 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1088 LIMIT 4 [ RunTime:0.003949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.004374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1088 ORDER BY `unit` DESC [ RunTime:0.006160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1088 LIMIT 2 [ RunTime:0.000656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
select * from pdf where partno='STFE4 25.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001581s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 25.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1394 LIMIT 4 [ RunTime:0.001543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1394 ORDER BY `unit` DESC [ RunTime:0.002646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1394 LIMIT 2 [ RunTime:0.000165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
select * from pdf where partno='HS401' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS401' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1085 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1085 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1085 LIMIT 2 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
select * from pdf where partno='STFE4 4.8 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 4.8 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1197 LIMIT 4 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.000828s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1197 ORDER BY `unit` DESC [ RunTime:0.001259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1197 LIMIT 2 [ RunTime:0.006680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.001229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.009046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1212 LIMIT 4 [ RunTime:0.003759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.002295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1212 ORDER BY `unit` DESC [ RunTime:0.001547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1212 LIMIT 2 [ RunTime:0.003432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.002646s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-X-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1200 LIMIT 4 [ RunTime:0.004382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.001449s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1200 ORDER BY `unit` DESC [ RunTime:0.000261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1200 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.001889s ]
select * from pdf where partno='RNF-100-1/8-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.001960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1196 LIMIT 4 [ RunTime:0.000793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1196 ORDER BY `unit` DESC [ RunTime:0.008281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1196 LIMIT 2 [ RunTime:0.001155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/64-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 93 LIMIT 4 [ RunTime:0.006386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 93 ORDER BY `minOrder` ASC [ RunTime:0.006283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 93 ORDER BY `unit` DESC [ RunTime:0.002314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 93 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 93 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='13651' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001506s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13651' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.008202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1209 LIMIT 4 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1209 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1209 LIMIT 2 [ RunTime:0.002495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.002485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/32-9-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1202 LIMIT 4 [ RunTime:0.000657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1202 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1202 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16719 LIMIT 4 [ RunTime:0.003204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.002494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16719 ORDER BY `unit` DESC [ RunTime:0.010623s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16719 LIMIT 2 [ RunTime:0.005115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.000616s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16597 LIMIT 4 [ RunTime:0.002714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.002095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16597 ORDER BY `unit` DESC [ RunTime:0.001284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16597 LIMIT 2 [ RunTime:0.001159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.000662s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.002633s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.001201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15700 LIMIT 4 [ RunTime:0.006199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.001605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15700 ORDER BY `unit` DESC [ RunTime:0.008351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15700 LIMIT 2 [ RunTime:0.001144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.000529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15577 LIMIT 4 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.003889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15577 ORDER BY `unit` DESC [ RunTime:0.000736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15577 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.000454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10550 LIMIT 4 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.000823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10550 ORDER BY `unit` DESC [ RunTime:0.010559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10550 LIMIT 2 [ RunTime:0.006285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-12/4-X' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1204 LIMIT 4 [ RunTime:0.006784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.008972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1204 ORDER BY `unit` DESC [ RunTime:0.000593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1204 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1086 LIMIT 4 [ RunTime:0.001112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.003318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1086 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1086 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='STFE4 6.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 6.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8175 LIMIT 4 [ RunTime:0.004622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.000640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8175 ORDER BY `unit` DESC [ RunTime:0.000257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8175 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ES2000-NO.3-B8-0-STK.' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1484 LIMIT 4 [ RunTime:0.001510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.003996s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1484 ORDER BY `unit` DESC [ RunTime:0.001848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1484 LIMIT 2 [ RunTime:0.001503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '562A032-25-0' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002031s ]
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.001705s ]