SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001916s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003214s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003883s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000481s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002326s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000292s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 273 LIMIT 1 [ RunTime:0.000476s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 273 [ RunTime:0.000180s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000184s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001466s ]
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` = 273 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002700s ]
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 ('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.004849s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001930s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13791 LIMIT 4 [ RunTime:0.002872s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.001448s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13791 ORDER BY `unit` DESC [ RunTime:0.000483s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13791 LIMIT 2 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='926898-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004065s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002789s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '926898-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13622 LIMIT 4 [ RunTime:0.000729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.000703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13622 ORDER BY `unit` DESC [ RunTime:0.000509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13622 LIMIT 2 [ RunTime:0.003846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.010489s ]
select * from pdf where partno='206061-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001612s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206061-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 231 LIMIT 4 [ RunTime:0.004778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.001120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 231 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 231 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13390 LIMIT 4 [ RunTime:0.009660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.002799s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13390 ORDER BY `unit` DESC [ RunTime:0.002335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13390 LIMIT 2 [ RunTime:0.000768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '183040-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.022781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13620 LIMIT 4 [ RunTime:0.008394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.004675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13620 ORDER BY `unit` DESC [ RunTime:0.001940s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13620 LIMIT 2 [ RunTime:0.004060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.008766s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 233 LIMIT 4 [ RunTime:0.002540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.010490s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 233 ORDER BY `unit` DESC [ RunTime:0.001009s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 233 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
select * from pdf where partno='206151-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002705s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206151-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 232 LIMIT 4 [ RunTime:0.007879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.000661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 232 ORDER BY `unit` DESC [ RunTime:0.003419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 232 LIMIT 2 [ RunTime:0.002516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.001422s ]
select * from pdf where partno='206036-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13388 LIMIT 4 [ RunTime:0.000981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.002359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13388 ORDER BY `unit` DESC [ RunTime:0.002448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13388 LIMIT 2 [ RunTime:0.005025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211768-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.014325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13623 LIMIT 4 [ RunTime:0.001643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13623 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13623 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.003024s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000483s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 229 LIMIT 4 [ RunTime:0.009401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.002092s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 229 ORDER BY `unit` DESC [ RunTime:0.001660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 229 LIMIT 2 [ RunTime:0.012086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.004303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206153-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.007424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 230 LIMIT 4 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.002009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 230 ORDER BY `unit` DESC [ RunTime:0.009503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 230 LIMIT 2 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13621 LIMIT 4 [ RunTime:0.002664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.004872s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13621 ORDER BY `unit` DESC [ RunTime:0.002245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13621 LIMIT 2 [ RunTime:0.001953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
select * from pdf where partno='206036-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004730s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 221 LIMIT 4 [ RunTime:0.003842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 221 ORDER BY `unit` DESC [ RunTime:0.000231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 221 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211767-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000262s ]
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.003858s ]