SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003591s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002686s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002082s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17500909 LIMIT 5 [ RunTime:0.000880s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17500909 ORDER BY `minOrder` ASC [ RunTime:0.005119s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17500909 ORDER BY `unit` DESC [ RunTime:0.002220s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17500909 LIMIT 2 [ RunTime:0.001686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17500909 ORDER BY `minOrder` ASC [ RunTime:0.006128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17499905 LIMIT 5 [ RunTime:0.008509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17499905 ORDER BY `minOrder` ASC [ RunTime:0.011468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17499905 ORDER BY `unit` DESC [ RunTime:0.012081s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17499905 LIMIT 2 [ RunTime:0.013536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17499905 ORDER BY `minOrder` ASC [ RunTime:0.007510s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001734s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48364225 LIMIT 5 [ RunTime:0.013950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48364225 ORDER BY `minOrder` ASC [ RunTime:0.021944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 48364225 ORDER BY `unit` DESC [ RunTime:0.013731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 48364225 LIMIT 2 [ RunTime:0.012863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48364225 ORDER BY `minOrder` ASC [ RunTime:0.002843s ]
select * from pdf where partno='V31-GM-BK30M-PUR-U-V31-GM' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.006632s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002486s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V31-GM-BK30M-PUR-U-V31-GM' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.021726s ]
SELECT `id` FROM `stock` WHERE `id` <> 48364225 AND `partno` = 'V31-GM-BK30M-PUR-U-V31-GM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.028191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17500909 [ RunTime:0.021026s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48362706 LIMIT 5 [ RunTime:0.008673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48362706 ORDER BY `minOrder` ASC [ RunTime:0.014941s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 48362706 ORDER BY `unit` DESC [ RunTime:0.022566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 48362706 LIMIT 2 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48362706 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
select * from pdf where partno='V31-GM-BK30M-PUR-U' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.000721s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V31-GM-BK30M-PUR-U' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.000498s ]
SELECT `id` FROM `stock` WHERE `id` <> 48362706 AND `partno` = 'V31-GM-BK30M-PUR-U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.003420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17499905 [ RunTime:0.000521s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35559641 LIMIT 5 [ RunTime:0.024569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35559641 ORDER BY `minOrder` ASC [ RunTime:0.009083s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35559641 ORDER BY `unit` DESC [ RunTime:0.001637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35559641 LIMIT 2 [ RunTime:0.009502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35559641 ORDER BY `minOrder` ASC [ RunTime:0.006190s ]
select * from pdf where partno='V31-GM-BK30M-PUR-U-V31-GM' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.001255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V31-GM-BK30M-PUR-U-V31-GM' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.002265s ]
SELECT `id` FROM `stock` WHERE `id` <> 35559641 AND `partno` = 'V31-GM-BK30M-PUR-U-V31-GM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.005201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17500909 [ RunTime:0.007838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35558428 LIMIT 5 [ RunTime:0.003317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35558428 ORDER BY `minOrder` ASC [ RunTime:0.003681s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35558428 ORDER BY `unit` DESC [ RunTime:0.000721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35558428 LIMIT 2 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35558428 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
select * from pdf where partno='V31-GM-BK30M-PUR-U' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.000759s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V31-GM-BK30M-PUR-U' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.000337s ]
SELECT `id` FROM `stock` WHERE `id` <> 35558428 AND `partno` = 'V31-GM-BK30M-PUR-U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.000911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17499905 [ RunTime:0.000324s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000791s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002343s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001228s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005711s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001792s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000719s ]
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 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001909s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'V31-GM-BK30M-PUR-U%' OR `brand` LIKE 'V31-GM-BK30M-PUR-U%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001939s ]