SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002565s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005914s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13573669 LIMIT 5 [ RunTime:0.001662s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13573669 ORDER BY `minOrder` ASC [ RunTime:0.000881s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13573669 ORDER BY `unit` DESC [ RunTime:0.000774s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13573669 LIMIT 2 [ RunTime:0.000756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13573669 ORDER BY `minOrder` ASC [ RunTime:0.001098s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003213s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69033189 LIMIT 5 [ RunTime:0.000797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69033189 ORDER BY `minOrder` ASC [ RunTime:0.002077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69033189 ORDER BY `unit` DESC [ RunTime:0.000892s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69033189 LIMIT 2 [ RunTime:0.000703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69033189 ORDER BY `minOrder` ASC [ RunTime:0.002094s ]
select * from pdf where partno='FW2RLU1U1NNM019' and brandshort='Panduit Corp' limit 1 [ RunTime:0.005158s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003107s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FW2RLU1U1NNM019' OR `brand` LIKE 'Panduit Corp%' ) ) LIMIT 1 [ RunTime:0.001569s ]
SELECT `id` FROM `stock` WHERE `id` <> 69033189 AND `partno` = 'FW2RLU1U1NNM019' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panduit corp%' ) [ RunTime:0.001040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13573669 [ RunTime:0.000744s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001719s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004224s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001771s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001532s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001710s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001528s ]
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 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001875s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FW2RLU1U1NNM019%' OR `brand` LIKE 'FW2RLU1U1NNM019%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001438s ]