SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001475s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016316s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12239961 LIMIT 5 [ RunTime:0.009205s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12239961 ORDER BY `minOrder` ASC [ RunTime:0.036629s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12239961 ORDER BY `unit` DESC [ RunTime:0.018450s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004882s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12239961 LIMIT 2 [ RunTime:0.025016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12239961 ORDER BY `minOrder` ASC [ RunTime:0.008767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12239517 LIMIT 5 [ RunTime:0.031686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12239517 ORDER BY `minOrder` ASC [ RunTime:0.044627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12239517 ORDER BY `unit` DESC [ RunTime:0.061872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12239517 LIMIT 2 [ RunTime:0.020412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12239517 ORDER BY `minOrder` ASC [ RunTime:0.032130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238913 LIMIT 5 [ RunTime:0.017307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238913 ORDER BY `minOrder` ASC [ RunTime:0.051473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12238913 ORDER BY `unit` DESC [ RunTime:0.038020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12238913 LIMIT 2 [ RunTime:0.019449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238913 ORDER BY `minOrder` ASC [ RunTime:0.003485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238872 LIMIT 5 [ RunTime:0.043920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238872 ORDER BY `minOrder` ASC [ RunTime:0.032558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12238872 ORDER BY `unit` DESC [ RunTime:0.045552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12238872 LIMIT 2 [ RunTime:0.025866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238872 ORDER BY `minOrder` ASC [ RunTime:0.001862s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021635s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63217177 LIMIT 5 [ RunTime:0.040461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63217177 ORDER BY `minOrder` ASC [ RunTime:0.080359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63217177 ORDER BY `unit` DESC [ RunTime:0.035172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63217177 LIMIT 2 [ RunTime:0.022204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63217177 ORDER BY `minOrder` ASC [ RunTime:0.024235s ]
select * from pdf where partno='Y92E-E18-7' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.014031s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E18-7' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.018935s ]
SELECT `id` FROM `stock` WHERE `id` <> 63217177 AND `partno` = 'Y92E-E18-7' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.019226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12239961 [ RunTime:0.014008s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63216456 LIMIT 5 [ RunTime:0.011355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63216456 ORDER BY `minOrder` ASC [ RunTime:0.033600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63216456 ORDER BY `unit` DESC [ RunTime:0.036579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63216456 LIMIT 2 [ RunTime:0.033246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63216456 ORDER BY `minOrder` ASC [ RunTime:0.015458s ]
select * from pdf where partno='Y92E-E18M' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.028746s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E18M' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.009722s ]
SELECT `id` FROM `stock` WHERE `id` <> 63216456 AND `partno` = 'Y92E-E18M' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.008682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12239517 [ RunTime:0.026810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63214843 LIMIT 5 [ RunTime:0.008906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214843 ORDER BY `minOrder` ASC [ RunTime:0.006454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63214843 ORDER BY `unit` DESC [ RunTime:0.000651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63214843 LIMIT 2 [ RunTime:0.009266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214843 ORDER BY `minOrder` ASC [ RunTime:0.003366s ]
select * from pdf where partno='Y92E-E18-2' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.019676s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E18-2' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.021744s ]
SELECT `id` FROM `stock` WHERE `id` <> 63214843 AND `partno` = 'Y92E-E18-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.005002s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238913 [ RunTime:0.003607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63214731 LIMIT 5 [ RunTime:0.005190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214731 ORDER BY `minOrder` ASC [ RunTime:0.011496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63214731 ORDER BY `unit` DESC [ RunTime:0.008051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63214731 LIMIT 2 [ RunTime:0.011899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214731 ORDER BY `minOrder` ASC [ RunTime:0.020933s ]
select * from pdf where partno='Y92E-E18' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.013645s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E18' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.014912s ]
SELECT `id` FROM `stock` WHERE `id` <> 63214731 AND `partno` = 'Y92E-E18' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.004400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238872 [ RunTime:0.008785s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021102s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029181s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011982s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029017s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004257s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004733s ]
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 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039722s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'Y92E-E18%' OR `brand` LIKE 'Y92E-E18%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.024081s ]