SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002470s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000508s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001969s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000293s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001761s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000276s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 592 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 592 [ RunTime:0.000221s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004181s ]
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.001290s ]
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.002683s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1087 LIMIT 4 [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.002743s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001946s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1087 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1087 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1087 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='STFE4 12.7 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001885s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001734s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 12.7 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1088 LIMIT 4 [ RunTime:0.002891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.008184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1088 ORDER BY `unit` DESC [ RunTime:0.000673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1088 LIMIT 2 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1088 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='STFE4 25.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000952s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 25.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1394 LIMIT 4 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1394 ORDER BY `unit` DESC [ RunTime:0.002109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1394 LIMIT 2 [ RunTime:0.006948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1394 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
select * from pdf where partno='HS401' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.010048s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HS401' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1085 LIMIT 4 [ RunTime:0.000677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1085 ORDER BY `unit` DESC [ RunTime:0.001335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1085 LIMIT 2 [ RunTime:0.002414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1085 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
select * from pdf where partno='STFE4 4.8 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 4.8 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000691s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1197 LIMIT 4 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.000627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1197 ORDER BY `unit` DESC [ RunTime:0.000413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1197 LIMIT 2 [ RunTime:0.003463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1197 ORDER BY `minOrder` ASC [ RunTime:0.003187s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.001432s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1212 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1212 ORDER BY `unit` DESC [ RunTime:0.002295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1212 LIMIT 2 [ RunTime:0.005118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1212 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-X-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1200 LIMIT 4 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1200 ORDER BY `unit` DESC [ RunTime:0.000450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1200 LIMIT 2 [ RunTime:0.003466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1200 ORDER BY `minOrder` ASC [ RunTime:0.002636s ]
select * from pdf where partno='RNF-100-1/8-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.001180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/8-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1196 LIMIT 4 [ RunTime:0.003551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000660s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1196 ORDER BY `unit` DESC [ RunTime:0.000608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1196 LIMIT 2 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1196 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/64-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000551s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 93 LIMIT 4 [ RunTime:0.000379s ]
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.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 93 LIMIT 2 [ RunTime:0.002623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 93 ORDER BY `minOrder` ASC [ RunTime:0.001565s ]
select * from pdf where partno='13651' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13651' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002755s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1209 LIMIT 4 [ RunTime:0.001429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1209 ORDER BY `unit` DESC [ RunTime:0.000483s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1209 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1209 ORDER BY `minOrder` ASC [ RunTime:0.002211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/32-9-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1202 LIMIT 4 [ RunTime:0.001345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1202 ORDER BY `unit` DESC [ RunTime:0.009606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1202 LIMIT 2 [ RunTime:0.001138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1202 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16719 LIMIT 4 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.009189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16719 ORDER BY `unit` DESC [ RunTime:0.002365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16719 LIMIT 2 [ RunTime:0.005663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16719 ORDER BY `minOrder` ASC [ RunTime:0.001593s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.003711s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16597 LIMIT 4 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16597 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16597 LIMIT 2 [ RunTime:0.000816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16597 ORDER BY `minOrder` ASC [ RunTime:0.002007s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.003015s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15700 LIMIT 4 [ RunTime:0.003162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.003837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15700 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15700 LIMIT 2 [ RunTime:0.012752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15700 ORDER BY `minOrder` ASC [ RunTime:0.009978s ]
select * from pdf where partno='RNF-100-1/16-0-STK' and brandshort='RAYCHEM - TE CONNECTIVITY' limit 1 [ RunTime:0.000539s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-1/16-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15577 LIMIT 4 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.002345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15577 ORDER BY `unit` DESC [ RunTime:0.001301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15577 LIMIT 2 [ RunTime:0.001482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15577 ORDER BY `minOrder` ASC [ RunTime:0.003884s ]
select * from pdf where partno='CGFC-6/2-0' and brandshort='PRO POWER' limit 1 [ RunTime:0.000559s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-6/2-0' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10550 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.006190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10550 ORDER BY `unit` DESC [ RunTime:0.007580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10550 LIMIT 2 [ RunTime:0.001991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10550 ORDER BY `minOrder` ASC [ RunTime:0.005335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGFC-12/4-X' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.006603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1204 LIMIT 4 [ RunTime:0.004543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.002543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1204 ORDER BY `unit` DESC [ RunTime:0.001379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1204 LIMIT 2 [ RunTime:0.002793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1204 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RNF-100-3/4-0-STK' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1086 LIMIT 4 [ RunTime:0.000833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.002929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1086 ORDER BY `unit` DESC [ RunTime:0.000773s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1086 LIMIT 2 [ RunTime:0.000846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1086 ORDER BY `minOrder` ASC [ RunTime:0.003720s ]
select * from pdf where partno='STFE4 6.4 CLR' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.003328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STFE4 6.4 CLR' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8175 LIMIT 4 [ RunTime:0.000548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8175 ORDER BY `unit` DESC [ RunTime:0.002211s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8175 LIMIT 2 [ RunTime:0.004135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8175 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ES2000-NO.3-B8-0-STK.' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1484 LIMIT 4 [ RunTime:0.004317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.001101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1484 ORDER BY `unit` DESC [ RunTime:0.008002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1484 LIMIT 2 [ RunTime:0.001390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1484 ORDER BY `minOrder` ASC [ RunTime:0.001948s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '562A032-25-0' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002938s ]
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.008150s ]