SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001396s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053608s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.069545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17013850 LIMIT 5 [ RunTime:0.059505s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.045410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17013850 ORDER BY `minOrder` ASC [ RunTime:0.028228s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.037279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17013850 ORDER BY `unit` DESC [ RunTime:0.115452s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.038101s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17013850 LIMIT 2 [ RunTime:0.103778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17013850 ORDER BY `minOrder` ASC [ RunTime:0.081478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18791721 LIMIT 5 [ RunTime:0.108231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18791721 ORDER BY `minOrder` ASC [ RunTime:0.074942s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18791721 ORDER BY `unit` DESC [ RunTime:0.043987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18791721 LIMIT 2 [ RunTime:0.026654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18791721 ORDER BY `minOrder` ASC [ RunTime:0.019377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18797148 LIMIT 5 [ RunTime:0.003765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18797148 ORDER BY `minOrder` ASC [ RunTime:0.045244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18797148 ORDER BY `unit` DESC [ RunTime:0.031576s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18797148 LIMIT 2 [ RunTime:0.052809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18797148 ORDER BY `minOrder` ASC [ RunTime:0.005141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18788967 LIMIT 5 [ RunTime:0.036216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18788967 ORDER BY `minOrder` ASC [ RunTime:0.050806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18788967 ORDER BY `unit` DESC [ RunTime:0.024661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18788967 LIMIT 2 [ RunTime:0.020316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18788967 ORDER BY `minOrder` ASC [ RunTime:0.023829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18788862 LIMIT 5 [ RunTime:0.005080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18788862 ORDER BY `minOrder` ASC [ RunTime:0.010115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18788862 ORDER BY `unit` DESC [ RunTime:0.016786s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18788862 LIMIT 2 [ RunTime:0.011346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18788862 ORDER BY `minOrder` ASC [ RunTime:0.009997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18788686 LIMIT 5 [ RunTime:0.018350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18788686 ORDER BY `minOrder` ASC [ RunTime:0.016975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18788686 ORDER BY `unit` DESC [ RunTime:0.016800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18788686 LIMIT 2 [ RunTime:0.014160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18788686 ORDER BY `minOrder` ASC [ RunTime:0.025885s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012742s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57964300 LIMIT 5 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57964300 ORDER BY `minOrder` ASC [ RunTime:0.009741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57964300 ORDER BY `unit` DESC [ RunTime:0.003784s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57964300 LIMIT 2 [ RunTime:0.024945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57964300 ORDER BY `minOrder` ASC [ RunTime:0.007825s ]
select * from pdf where partno='NCB8-18GM40-N0-V1' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.011658s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002637s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCB8-18GM40-N0-V1' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.010303s ]
SELECT `id` FROM `stock` WHERE `id` <> 57964300 AND `partno` = 'NCB8-18GM40-N0-V1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.025276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17013850 [ RunTime:0.002637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57965778 LIMIT 5 [ RunTime:0.023127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57965778 ORDER BY `minOrder` ASC [ RunTime:0.022664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57965778 ORDER BY `unit` DESC [ RunTime:0.048343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57965778 LIMIT 2 [ RunTime:0.011534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57965778 ORDER BY `minOrder` ASC [ RunTime:0.004721s ]
select * from pdf where partno='NCB8-18GM40-N0' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.006698s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCB8-18GM40-N0' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.010622s ]
SELECT `id` FROM `stock` WHERE `id` <> 57965778 AND `partno` = 'NCB8-18GM40-N0' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.020693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18791721 [ RunTime:0.023471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57974416 LIMIT 5 [ RunTime:0.023921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57974416 ORDER BY `minOrder` ASC [ RunTime:0.005097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57974416 ORDER BY `unit` DESC [ RunTime:0.027391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57974416 LIMIT 2 [ RunTime:0.005856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57974416 ORDER BY `minOrder` ASC [ RunTime:0.007378s ]
select * from pdf where partno='NCB8-18GM40-N0-10M-OG' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.008292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCB8-18GM40-N0-10M-OG' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.004712s ]
SELECT `id` FROM `stock` WHERE `id` <> 57974416 AND `partno` = 'NCB8-18GM40-N0-10M-OG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.021604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18788967 [ RunTime:0.006614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57974216 LIMIT 5 [ RunTime:0.001587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57974216 ORDER BY `minOrder` ASC [ RunTime:0.001461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57974216 ORDER BY `unit` DESC [ RunTime:0.011630s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57974216 LIMIT 2 [ RunTime:0.014589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57974216 ORDER BY `minOrder` ASC [ RunTime:0.004519s ]
select * from pdf where partno='NCB8-18GM40-N0-10M' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.000993s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCB8-18GM40-N0-10M' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.006939s ]
SELECT `id` FROM `stock` WHERE `id` <> 57974216 AND `partno` = 'NCB8-18GM40-N0-10M' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.009899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18788862 [ RunTime:0.012248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57973901 LIMIT 5 [ RunTime:0.014136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57973901 ORDER BY `minOrder` ASC [ RunTime:0.024170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57973901 ORDER BY `unit` DESC [ RunTime:0.013765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57973901 LIMIT 2 [ RunTime:0.013365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57973901 ORDER BY `minOrder` ASC [ RunTime:0.008148s ]
select * from pdf where partno='NCB8-18GM40-N0-5M' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.024158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCB8-18GM40-N0-5M' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.052121s ]
SELECT `id` FROM `stock` WHERE `id` <> 57973901 AND `partno` = 'NCB8-18GM40-N0-5M' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.045596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18788686 [ RunTime:0.025588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57972320 LIMIT 5 [ RunTime:0.024537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57972320 ORDER BY `minOrder` ASC [ RunTime:0.019545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57972320 ORDER BY `unit` DESC [ RunTime:0.026347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57972320 LIMIT 2 [ RunTime:0.008533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57972320 ORDER BY `minOrder` ASC [ RunTime:0.002925s ]
select * from pdf where partno='NCB8-18GM40-N0-OG' and brandshort='Pepperl+Fuchs, Inc.' limit 1 [ RunTime:0.057556s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCB8-18GM40-N0-OG' OR `brand` LIKE 'Pepperl+Fuchs, Inc.%' ) ) LIMIT 1 [ RunTime:0.028865s ]
SELECT `id` FROM `stock` WHERE `id` <> 57972320 AND `partno` = 'NCB8-18GM40-N0-OG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pepperl+fuchs, inc.%' ) [ RunTime:0.033659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18797148 [ RunTime:0.017858s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023683s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039035s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042808s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039607s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022421s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024038s ]
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 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015960s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'NCB8-18GM40-N0%' OR `brand` LIKE 'NCB8-18GM40-N0%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023685s ]