SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002756s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010356s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001694s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16600974 LIMIT 5 [ RunTime:0.001088s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16600974 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16600974 ORDER BY `unit` DESC [ RunTime:0.000405s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004690s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16600974 LIMIT 2 [ RunTime:0.001761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16600974 ORDER BY `minOrder` ASC [ RunTime:0.000548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13774331 LIMIT 5 [ RunTime:0.004048s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13774331 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13774331 ORDER BY `unit` DESC [ RunTime:0.001010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13774331 LIMIT 2 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13774331 ORDER BY `minOrder` ASC [ RunTime:0.002450s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002198s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62461435 LIMIT 5 [ RunTime:0.002202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62461435 ORDER BY `minOrder` ASC [ RunTime:0.001083s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62461435 ORDER BY `unit` DESC [ RunTime:0.000475s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62461435 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62461435 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='CB0.81-2IPX-300MM-6O' and brandshort='Lighthorse Technologies, Inc' limit 1 [ RunTime:0.011321s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CB0.81-2IPX-300MM-6O' OR `brand` LIKE 'Lighthorse Technologies, Inc%' ) ) LIMIT 1 [ RunTime:0.000851s ]
SELECT `id` FROM `stock` WHERE `id` <> 62461435 AND `partno` = 'CB0.81-2IPX-300MM-6O' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lighthorse technologies, inc%' ) [ RunTime:0.002939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16600974 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62455990 LIMIT 5 [ RunTime:0.002221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62455990 ORDER BY `minOrder` ASC [ RunTime:0.000761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62455990 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62455990 LIMIT 2 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62455990 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='CB0.81-2IPX-300MM' and brandshort='Lighthorse Technologies, Inc' limit 1 [ RunTime:0.000763s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CB0.81-2IPX-300MM' OR `brand` LIKE 'Lighthorse Technologies, Inc%' ) ) LIMIT 1 [ RunTime:0.004261s ]
SELECT `id` FROM `stock` WHERE `id` <> 62455990 AND `partno` = 'CB0.81-2IPX-300MM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lighthorse technologies, inc%' ) [ RunTime:0.000519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13774331 [ RunTime:0.000538s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001968s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000663s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000594s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000595s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000623s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002950s ]
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 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003380s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CB0.81-2IPX-300MM%' OR `brand` LIKE 'CB0.81-2IPX-300MM%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000620s ]