SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001759s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005605s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14653754 LIMIT 5 [ RunTime:0.002179s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14653754 ORDER BY `minOrder` ASC [ RunTime:0.012867s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14653754 ORDER BY `unit` DESC [ RunTime:0.020674s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14653754 LIMIT 2 [ RunTime:0.009989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14653754 ORDER BY `minOrder` ASC [ RunTime:0.013581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16584335 LIMIT 5 [ RunTime:0.017380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16584335 ORDER BY `minOrder` ASC [ RunTime:0.014187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16584335 ORDER BY `unit` DESC [ RunTime:0.010066s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16584335 LIMIT 2 [ RunTime:0.012343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16584335 ORDER BY `minOrder` ASC [ RunTime:0.015594s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020001s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.071517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55641084 LIMIT 5 [ RunTime:0.043780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55641084 ORDER BY `minOrder` ASC [ RunTime:0.035399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55641084 ORDER BY `unit` DESC [ RunTime:0.040720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55641084 LIMIT 2 [ RunTime:0.013106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55641084 ORDER BY `minOrder` ASC [ RunTime:0.013295s ]
select * from pdf where partno='CB1.37-2IPX-150MM-6O' and brandshort='Lighthorse Technologies, Inc' limit 1 [ RunTime:0.026602s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CB1.37-2IPX-150MM-6O' OR `brand` LIKE 'Lighthorse Technologies, Inc%' ) ) LIMIT 1 [ RunTime:0.029484s ]
SELECT `id` FROM `stock` WHERE `id` <> 55641084 AND `partno` = 'CB1.37-2IPX-150MM-6O' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lighthorse technologies, inc%' ) [ RunTime:0.015365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14653754 [ RunTime:0.024389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56030566 LIMIT 5 [ RunTime:0.028485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56030566 ORDER BY `minOrder` ASC [ RunTime:0.047543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56030566 ORDER BY `unit` DESC [ RunTime:0.031552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56030566 LIMIT 2 [ RunTime:0.020781s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56030566 ORDER BY `minOrder` ASC [ RunTime:0.031220s ]
select * from pdf where partno='CB1.37-2IPX-150MM' and brandshort='Lighthorse Technologies, Inc' limit 1 [ RunTime:0.030987s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CB1.37-2IPX-150MM' OR `brand` LIKE 'Lighthorse Technologies, Inc%' ) ) LIMIT 1 [ RunTime:0.009622s ]
SELECT `id` FROM `stock` WHERE `id` <> 56030566 AND `partno` = 'CB1.37-2IPX-150MM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lighthorse technologies, inc%' ) [ RunTime:0.040725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16584335 [ RunTime:0.026516s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046082s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014863s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009179s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008450s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035292s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021385s ]
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 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019798s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CB1.37-2IPX-150MM%' OR `brand` LIKE 'CB1.37-2IPX-150MM%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015849s ]