SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002535s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021982s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14654239 LIMIT 5 [ RunTime:0.013359s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14654239 ORDER BY `minOrder` ASC [ RunTime:0.016448s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14654239 ORDER BY `unit` DESC [ RunTime:0.019757s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001780s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14654239 LIMIT 2 [ RunTime:0.014224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14654239 ORDER BY `minOrder` ASC [ RunTime:0.005931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13774334 LIMIT 5 [ RunTime:0.007446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13774334 ORDER BY `minOrder` ASC [ RunTime:0.026299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13774334 ORDER BY `unit` DESC [ RunTime:0.011863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13774334 LIMIT 2 [ RunTime:0.025667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13774334 ORDER BY `minOrder` ASC [ RunTime:0.017936s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019543s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55641140 LIMIT 5 [ RunTime:0.019502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55641140 ORDER BY `minOrder` ASC [ RunTime:0.036643s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55641140 ORDER BY `unit` DESC [ RunTime:0.012411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55641140 LIMIT 2 [ RunTime:0.015112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55641140 ORDER BY `minOrder` ASC [ RunTime:0.033351s ]
select * from pdf where partno='CB1.37-2IPX-275MM' and brandshort='Lighthorse Technologies, Inc' limit 1 [ RunTime:0.027035s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CB1.37-2IPX-275MM' OR `brand` LIKE 'Lighthorse Technologies, Inc%' ) ) LIMIT 1 [ RunTime:0.023874s ]
SELECT `id` FROM `stock` WHERE `id` <> 55641140 AND `partno` = 'CB1.37-2IPX-275MM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lighthorse technologies, inc%' ) [ RunTime:0.033272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14654239 [ RunTime:0.018808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55641138 LIMIT 5 [ RunTime:0.009266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55641138 ORDER BY `minOrder` ASC [ RunTime:0.025563s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55641138 ORDER BY `unit` DESC [ RunTime:0.039432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55641138 LIMIT 2 [ RunTime:0.037561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55641138 ORDER BY `minOrder` ASC [ RunTime:0.023582s ]
select * from pdf where partno='CB1.37-2IPX-275MM-6O' and brandshort='Lighthorse Technologies, Inc' limit 1 [ RunTime:0.037865s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CB1.37-2IPX-275MM-6O' OR `brand` LIKE 'Lighthorse Technologies, Inc%' ) ) LIMIT 1 [ RunTime:0.085270s ]
SELECT `id` FROM `stock` WHERE `id` <> 55641138 AND `partno` = 'CB1.37-2IPX-275MM-6O' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lighthorse technologies, inc%' ) [ RunTime:0.108358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13774334 [ RunTime:0.030585s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063927s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047437s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066163s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025234s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028231s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009570s ]
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-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015078s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CB1.37-2IPX-275MM%' OR `brand` LIKE 'CB1.37-2IPX-275MM%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009551s ]