SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002431s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005342s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001012s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17489505 LIMIT 5 [ RunTime:0.001502s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17489505 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17489505 ORDER BY `unit` DESC [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17489505 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17489505 ORDER BY `minOrder` ASC [ RunTime:0.002547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16615896 LIMIT 5 [ RunTime:0.000861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16615896 ORDER BY `minOrder` ASC [ RunTime:0.001015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16615896 ORDER BY `unit` DESC [ RunTime:0.000568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16615896 LIMIT 2 [ RunTime:0.004116s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16615896 ORDER BY `minOrder` ASC [ RunTime:0.000597s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14690774 LIMIT 5 [ RunTime:0.000709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14690774 ORDER BY `minOrder` ASC [ RunTime:0.000674s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14690774 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14690774 LIMIT 2 [ RunTime:0.000962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14690774 ORDER BY `minOrder` ASC [ RunTime:0.001154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13802239 LIMIT 5 [ RunTime:0.000803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13802239 ORDER BY `minOrder` ASC [ RunTime:0.000970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13802239 ORDER BY `unit` DESC [ RunTime:0.002354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13802239 LIMIT 2 [ RunTime:0.001121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13802239 ORDER BY `minOrder` ASC [ RunTime:0.001134s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001024s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55321643 LIMIT 5 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55321643 ORDER BY `minOrder` ASC [ RunTime:0.002837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55321643 ORDER BY `unit` DESC [ RunTime:0.000195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55321643 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55321643 ORDER BY `minOrder` ASC [ RunTime:0.001426s ]
select * from pdf where partno='V15-G-BK10M-PUR-U' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.000657s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003673s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V15-G-BK10M-PUR-U' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.000520s ]
SELECT `id` FROM `stock` WHERE `id` <> 55321643 AND `partno` = 'V15-G-BK10M-PUR-U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.001012s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17489505 [ RunTime:0.003018s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55369548 LIMIT 5 [ RunTime:0.001015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55369548 ORDER BY `minOrder` ASC [ RunTime:0.004717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55369548 ORDER BY `unit` DESC [ RunTime:0.003300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55369548 LIMIT 2 [ RunTime:0.002537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55369548 ORDER BY `minOrder` ASC [ RunTime:0.002243s ]
select * from pdf where partno='V15-G-BK10M-PUR-U/ABG' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.002374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V15-G-BK10M-PUR-U/ABG' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.002412s ]
SELECT `id` FROM `stock` WHERE `id` <> 55369548 AND `partno` = 'V15-G-BK10M-PUR-U/ABG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.002802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13802239 [ RunTime:0.002195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55367049 LIMIT 5 [ RunTime:0.000669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55367049 ORDER BY `minOrder` ASC [ RunTime:0.002895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55367049 ORDER BY `unit` DESC [ RunTime:0.002081s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55367049 LIMIT 2 [ RunTime:0.001893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55367049 ORDER BY `minOrder` ASC [ RunTime:0.001989s ]
select * from pdf where partno='V15-G-BK10M-PUR-U/0,75' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.001198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V15-G-BK10M-PUR-U/0,75' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.000888s ]
SELECT `id` FROM `stock` WHERE `id` <> 55367049 AND `partno` = 'V15-G-BK10M-PUR-U/0,75' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.002924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14690774 [ RunTime:0.002642s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55365312 LIMIT 5 [ RunTime:0.000739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55365312 ORDER BY `minOrder` ASC [ RunTime:0.003349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55365312 ORDER BY `unit` DESC [ RunTime:0.002543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55365312 LIMIT 2 [ RunTime:0.002475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55365312 ORDER BY `minOrder` ASC [ RunTime:0.002343s ]
select * from pdf where partno='V15-G-BK10M-PUR-U-V15-G' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.001156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V15-G-BK10M-PUR-U-V15-G' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.000890s ]
SELECT `id` FROM `stock` WHERE `id` <> 55365312 AND `partno` = 'V15-G-BK10M-PUR-U-V15-G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.002782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16615896 [ RunTime:0.002545s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001465s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002749s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001665s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001777s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001802s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001919s ]
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-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001754s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'V15-G-BK10M-PUR-U%' OR `brand` LIKE 'V15-G-BK10M-PUR-U%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001487s ]