SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002657s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.076729s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19949113 LIMIT 5 [ RunTime:0.206579s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19949113 ORDER BY `minOrder` ASC [ RunTime:0.024568s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19949113 ORDER BY `unit` DESC [ RunTime:0.063799s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19949113 LIMIT 2 [ RunTime:0.086198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19949113 ORDER BY `minOrder` ASC [ RunTime:0.003658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19918739 LIMIT 5 [ RunTime:0.041250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19918739 ORDER BY `minOrder` ASC [ RunTime:0.086348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19918739 ORDER BY `unit` DESC [ RunTime:0.050116s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19918739 LIMIT 2 [ RunTime:0.153385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19918739 ORDER BY `minOrder` ASC [ RunTime:0.013615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19913152 LIMIT 5 [ RunTime:0.068349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19913152 ORDER BY `minOrder` ASC [ RunTime:0.023485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19913152 ORDER BY `unit` DESC [ RunTime:0.055461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19913152 LIMIT 2 [ RunTime:0.072213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19913152 ORDER BY `minOrder` ASC [ RunTime:0.043344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16287807 LIMIT 5 [ RunTime:0.055393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287807 ORDER BY `minOrder` ASC [ RunTime:0.038874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16287807 ORDER BY `unit` DESC [ RunTime:0.078726s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16287807 LIMIT 2 [ RunTime:0.076710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287807 ORDER BY `minOrder` ASC [ RunTime:0.040848s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.110990s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59047478 LIMIT 5 [ RunTime:0.080522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59047478 ORDER BY `minOrder` ASC [ RunTime:0.081565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59047478 ORDER BY `unit` DESC [ RunTime:0.065137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59047478 LIMIT 2 [ RunTime:0.064978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59047478 ORDER BY `minOrder` ASC [ RunTime:0.014539s ]
select * from pdf where partno='ESC40DREI-S93' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.063008s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC40DREI-S93' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.095274s ]
SELECT `id` FROM `stock` WHERE `id` <> 59047478 AND `partno` = 'ESC40DREI-S93' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.102099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16287807 [ RunTime:0.023727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59045015 LIMIT 5 [ RunTime:0.085312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59045015 ORDER BY `minOrder` ASC [ RunTime:0.121403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59045015 ORDER BY `unit` DESC [ RunTime:0.017418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59045015 LIMIT 2 [ RunTime:0.102574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59045015 ORDER BY `minOrder` ASC [ RunTime:0.049755s ]
select * from pdf where partno='ESC40DREI-S734' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.073958s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC40DREI-S734' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.030191s ]
SELECT `id` FROM `stock` WHERE `id` <> 59045015 AND `partno` = 'ESC40DREI-S734' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.110070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19949113 [ RunTime:0.023201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58996999 LIMIT 5 [ RunTime:0.107054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58996999 ORDER BY `minOrder` ASC [ RunTime:0.095886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58996999 ORDER BY `unit` DESC [ RunTime:0.081996s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58996999 LIMIT 2 [ RunTime:0.036654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58996999 ORDER BY `minOrder` ASC [ RunTime:0.034222s ]
select * from pdf where partno='ESC40DREI-S13' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.028087s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC40DREI-S13' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.016270s ]
SELECT `id` FROM `stock` WHERE `id` <> 58996999 AND `partno` = 'ESC40DREI-S13' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.057673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19918739 [ RunTime:0.027346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58987431 LIMIT 5 [ RunTime:0.038947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58987431 ORDER BY `minOrder` ASC [ RunTime:0.073110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58987431 ORDER BY `unit` DESC [ RunTime:0.068020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58987431 LIMIT 2 [ RunTime:0.021732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58987431 ORDER BY `minOrder` ASC [ RunTime:0.028628s ]
select * from pdf where partno='ESC40DREI' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.044905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC40DREI' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.069560s ]
SELECT `id` FROM `stock` WHERE `id` <> 58987431 AND `partno` = 'ESC40DREI' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.052284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19913152 [ RunTime:0.053819s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043943s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057965s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024069s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035126s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055265s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027716s ]
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 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005353s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ESC40DREI%' OR `brand` LIKE 'ESC40DREI%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004600s ]