SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002499s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006570s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16657899 LIMIT 5 [ RunTime:0.032646s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657899 ORDER BY `minOrder` ASC [ RunTime:0.007849s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16657899 ORDER BY `unit` DESC [ RunTime:0.004478s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.011055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16657899 LIMIT 2 [ RunTime:0.008384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657899 ORDER BY `minOrder` ASC [ RunTime:0.006907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16657896 LIMIT 5 [ RunTime:0.007522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657896 ORDER BY `minOrder` ASC [ RunTime:0.033364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16657896 ORDER BY `unit` DESC [ RunTime:0.073866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16657896 LIMIT 2 [ RunTime:0.031063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16657896 ORDER BY `minOrder` ASC [ RunTime:0.033332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13901539 LIMIT 5 [ RunTime:0.070585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13901539 ORDER BY `minOrder` ASC [ RunTime:0.092742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13901539 ORDER BY `unit` DESC [ RunTime:0.057249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13901539 LIMIT 2 [ RunTime:0.039579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13901539 ORDER BY `minOrder` ASC [ RunTime:0.046781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13901538 LIMIT 5 [ RunTime:0.053234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13901538 ORDER BY `minOrder` ASC [ RunTime:0.108252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13901538 ORDER BY `unit` DESC [ RunTime:0.062854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13901538 LIMIT 2 [ RunTime:0.028260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13901538 ORDER BY `minOrder` ASC [ RunTime:0.049960s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048582s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57722674 LIMIT 5 [ RunTime:0.057359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722674 ORDER BY `minOrder` ASC [ RunTime:0.052519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57722674 ORDER BY `unit` DESC [ RunTime:0.031863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57722674 LIMIT 2 [ RunTime:0.035159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722674 ORDER BY `minOrder` ASC [ RunTime:0.002898s ]
select * from pdf where partno='SPODU510MT' and brandshort='Eaton - Bussmann Electrical Division' limit 1 [ RunTime:0.032262s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004071s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPODU510MT' OR `brand` LIKE 'Eaton - Bussmann Electrical Division%' ) ) LIMIT 1 [ RunTime:0.012302s ]
SELECT `id` FROM `stock` WHERE `id` <> 57722674 AND `partno` = 'SPODU510MT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton - bussmann electrical division%' ) [ RunTime:0.001173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16657899 [ RunTime:0.007275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57722669 LIMIT 5 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722669 ORDER BY `minOrder` ASC [ RunTime:0.004601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57722669 ORDER BY `unit` DESC [ RunTime:0.002210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57722669 LIMIT 2 [ RunTime:0.000744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722669 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
select * from pdf where partno='SPODU510MT2' and brandshort='Eaton - Bussmann Electrical Division' limit 1 [ RunTime:0.002900s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPODU510MT2' OR `brand` LIKE 'Eaton - Bussmann Electrical Division%' ) ) LIMIT 1 [ RunTime:0.004701s ]
SELECT `id` FROM `stock` WHERE `id` <> 57722669 AND `partno` = 'SPODU510MT2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton - bussmann electrical division%' ) [ RunTime:0.006748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13901539 [ RunTime:0.001118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57722667 LIMIT 5 [ RunTime:0.000669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722667 ORDER BY `minOrder` ASC [ RunTime:0.002662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57722667 ORDER BY `unit` DESC [ RunTime:0.006605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57722667 LIMIT 2 [ RunTime:0.007104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722667 ORDER BY `minOrder` ASC [ RunTime:0.000671s ]
select * from pdf where partno='SPODU510MTR' and brandshort='Eaton - Bussmann Electrical Division' limit 1 [ RunTime:0.001009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPODU510MTR' OR `brand` LIKE 'Eaton - Bussmann Electrical Division%' ) ) LIMIT 1 [ RunTime:0.002942s ]
SELECT `id` FROM `stock` WHERE `id` <> 57722667 AND `partno` = 'SPODU510MTR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton - bussmann electrical division%' ) [ RunTime:0.001287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16657896 [ RunTime:0.001746s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57722666 LIMIT 5 [ RunTime:0.001699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722666 ORDER BY `minOrder` ASC [ RunTime:0.000710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57722666 ORDER BY `unit` DESC [ RunTime:0.000720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57722666 LIMIT 2 [ RunTime:0.001969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57722666 ORDER BY `minOrder` ASC [ RunTime:0.008417s ]
select * from pdf where partno='SPODU510MTR2' and brandshort='Eaton - Bussmann Electrical Division' limit 1 [ RunTime:0.007637s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPODU510MTR2' OR `brand` LIKE 'Eaton - Bussmann Electrical Division%' ) ) LIMIT 1 [ RunTime:0.003336s ]
SELECT `id` FROM `stock` WHERE `id` <> 57722666 AND `partno` = 'SPODU510MTR2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton - bussmann electrical division%' ) [ RunTime:0.003489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13901538 [ RunTime:0.005213s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002815s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004111s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004061s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015164s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001852s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001361s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014213s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPODU510MT%' OR `brand` LIKE 'SPODU510MT%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005087s ]