SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002653s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000611s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003994s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000623s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002953s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000497s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 273 LIMIT 1 [ RunTime:0.000730s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 273 [ RunTime:0.000409s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000268s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002302s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 273 ) AND `u`.`lockUser` = '0' [ RunTime:0.001023s ]
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` = 273 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000892s ]
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 ('13791','13622','231','13390','13620','233','232','13388','13623','229','230','13621','221') ORDER BY FIELD(s.id, 13791,13622,231,13390,13620,233,232,13388,13623,229,230,13621,221) [ RunTime:0.001485s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001785s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13791 LIMIT 4 [ RunTime:0.003356s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.001217s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13791 ORDER BY `unit` DESC [ RunTime:0.000471s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13791 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.002460s ]
select * from pdf where partno='926898-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.009567s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '926898-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13622 LIMIT 4 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13622 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13622 LIMIT 2 [ RunTime:0.006035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='206061-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001535s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206061-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 231 LIMIT 4 [ RunTime:0.000681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.002961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 231 ORDER BY `unit` DESC [ RunTime:0.003761s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 231 LIMIT 2 [ RunTime:0.003758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13390 LIMIT 4 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.000688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13390 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13390 LIMIT 2 [ RunTime:0.002605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.005269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '183040-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.017377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13620 LIMIT 4 [ RunTime:0.001873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.001836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13620 ORDER BY `unit` DESC [ RunTime:0.001272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13620 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 233 LIMIT 4 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.002231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 233 ORDER BY `unit` DESC [ RunTime:0.003318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 233 LIMIT 2 [ RunTime:0.001665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
select * from pdf where partno='206151-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002678s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206151-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 232 LIMIT 4 [ RunTime:0.001713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.002855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 232 ORDER BY `unit` DESC [ RunTime:0.001275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 232 LIMIT 2 [ RunTime:0.000976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='206036-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13388 LIMIT 4 [ RunTime:0.001191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.005798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13388 ORDER BY `unit` DESC [ RunTime:0.007124s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13388 LIMIT 2 [ RunTime:0.001606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.003255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211768-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.023609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13623 LIMIT 4 [ RunTime:0.010596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.011666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13623 ORDER BY `unit` DESC [ RunTime:0.001439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13623 LIMIT 2 [ RunTime:0.002792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 229 LIMIT 4 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.003352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 229 ORDER BY `unit` DESC [ RunTime:0.000768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 229 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206153-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 230 LIMIT 4 [ RunTime:0.004803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.005809s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 230 ORDER BY `unit` DESC [ RunTime:0.002168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 230 LIMIT 2 [ RunTime:0.001779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.004584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001591s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13621 LIMIT 4 [ RunTime:0.002247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13621 ORDER BY `unit` DESC [ RunTime:0.001622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13621 LIMIT 2 [ RunTime:0.003159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
select * from pdf where partno='206036-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004044s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 221 LIMIT 4 [ RunTime:0.001373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.006262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 221 ORDER BY `unit` DESC [ RunTime:0.001677s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 221 LIMIT 2 [ RunTime:0.001137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211767-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000698s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 273 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001080s ]