SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002404s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012594s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19026838 LIMIT 5 [ RunTime:0.016156s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19026838 ORDER BY `minOrder` ASC [ RunTime:0.017266s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19026838 ORDER BY `unit` DESC [ RunTime:0.028128s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.011919s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19026838 LIMIT 2 [ RunTime:0.008990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19026838 ORDER BY `minOrder` ASC [ RunTime:0.012624s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32222552 LIMIT 5 [ RunTime:0.013078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32222552 ORDER BY `minOrder` ASC [ RunTime:0.034815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32222552 ORDER BY `unit` DESC [ RunTime:0.031927s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32222552 LIMIT 2 [ RunTime:0.028802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32222552 ORDER BY `minOrder` ASC [ RunTime:0.014456s ]
select * from pdf where partno='1554v2gycl' and brandshort='hammond manufacturing' limit 1 [ RunTime:0.033841s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001930s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1554v2gycl' OR `brand` LIKE 'hammond manufacturing%' ) ) LIMIT 1 [ RunTime:0.052864s ]
SELECT `id` FROM `stock` WHERE `id` <> 32222552 AND `partno` = '1554v2gycl' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.028891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19026838 [ RunTime:0.009129s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63421226 LIMIT 5 [ RunTime:0.028020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63421226 ORDER BY `minOrder` ASC [ RunTime:0.009026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63421226 ORDER BY `unit` DESC [ RunTime:0.012276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63421226 LIMIT 2 [ RunTime:0.026131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63421226 ORDER BY `minOrder` ASC [ RunTime:0.057164s ]
select * from pdf where partno='1554V2GYCL' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.004009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1554V2GYCL' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.014862s ]
SELECT `id` FROM `stock` WHERE `id` <> 63421226 AND `partno` = '1554V2GYCL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.004414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19026838 [ RunTime:0.012762s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048169s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033895s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047014s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032061s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038914s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021992s ]
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 '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018929s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1554V2GYCL%' OR `brand` LIKE '1554V2GYCL%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009401s ]