SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002490s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027371s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12860317 LIMIT 5 [ RunTime:0.017049s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12860317 ORDER BY `minOrder` ASC [ RunTime:0.004737s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12860317 ORDER BY `unit` DESC [ RunTime:0.017365s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12860317 LIMIT 2 [ RunTime:0.002890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12860317 ORDER BY `minOrder` ASC [ RunTime:0.032264s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.113953s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58771246 LIMIT 5 [ RunTime:0.036512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58771246 ORDER BY `minOrder` ASC [ RunTime:0.117166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58771246 ORDER BY `unit` DESC [ RunTime:0.146768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58771246 LIMIT 2 [ RunTime:0.051801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58771246 ORDER BY `minOrder` ASC [ RunTime:0.133452s ]
select * from pdf where partno='GEM22DTKI-S288' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.034544s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001404s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM22DTKI-S288' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.087755s ]
SELECT `id` FROM `stock` WHERE `id` <> 58771246 AND `partno` = 'GEM22DTKI-S288' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.053678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12860317 [ RunTime:0.078574s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.164811s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.090297s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065142s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.107244s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017378s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.110325s ]
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 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070197s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GEM22DTKI-S288%' OR `brand` LIKE 'GEM22DTKI-S288%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.098254s ]