SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002746s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019906s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17491439 LIMIT 5 [ RunTime:0.030379s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17491439 ORDER BY `minOrder` ASC [ RunTime:0.080165s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001643s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17491439 ORDER BY `unit` DESC [ RunTime:0.027876s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002686s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17491439 LIMIT 2 [ RunTime:0.037297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17491439 ORDER BY `minOrder` ASC [ RunTime:0.013638s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030374s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55361860 LIMIT 5 [ RunTime:0.051559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55361860 ORDER BY `minOrder` ASC [ RunTime:0.010303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55361860 ORDER BY `unit` DESC [ RunTime:0.135856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55361860 LIMIT 2 [ RunTime:0.073889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55361860 ORDER BY `minOrder` ASC [ RunTime:0.025396s ]
select * from pdf where partno='V15-GV4A-BK10M-PUR-U' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.027953s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002943s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V15-GV4A-BK10M-PUR-U' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.047903s ]
SELECT `id` FROM `stock` WHERE `id` <> 55361860 AND `partno` = 'V15-GV4A-BK10M-PUR-U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.028577s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17491439 [ RunTime:0.056793s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054560s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027482s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056270s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057335s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027453s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011259s ]
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 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.081851s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'V15-GV4A-BK10M-PUR-U%' OR `brand` LIKE 'V15-GV4A-BK10M-PUR-U%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.132237s ]