SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002735s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.093647s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.033573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12809187 LIMIT 5 [ RunTime:0.076465s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.035798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12809187 ORDER BY `minOrder` ASC [ RunTime:0.188130s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.052648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12809187 ORDER BY `unit` DESC [ RunTime:0.125485s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12809187 LIMIT 2 [ RunTime:0.065981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12809187 ORDER BY `minOrder` ASC [ RunTime:0.039744s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.111191s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.106478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58833056 LIMIT 5 [ RunTime:0.134066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58833056 ORDER BY `minOrder` ASC [ RunTime:0.088839s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58833056 ORDER BY `unit` DESC [ RunTime:0.134074s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58833056 LIMIT 2 [ RunTime:0.073433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58833056 ORDER BY `minOrder` ASC [ RunTime:0.113840s ]
select * from pdf where partno='ESC13DREI-S93' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.103881s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC13DREI-S93' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.105992s ]
SELECT `id` FROM `stock` WHERE `id` <> 58833056 AND `partno` = 'ESC13DREI-S93' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.051226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12809187 [ RunTime:0.092046s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.081784s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.088045s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.161180s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.133648s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065412s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082888s ]
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 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105737s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ESC13DREI-S93%' OR `brand` LIKE 'ESC13DREI-S93%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.036773s ]