SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001491s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008091s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11726103 LIMIT 5 [ RunTime:0.012451s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11726103 ORDER BY `minOrder` ASC [ RunTime:0.006481s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11726103 ORDER BY `unit` DESC [ RunTime:0.032764s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.011416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11726103 LIMIT 2 [ RunTime:0.009270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11726103 ORDER BY `minOrder` ASC [ RunTime:0.053461s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049780s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60070568 LIMIT 5 [ RunTime:0.086656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60070568 ORDER BY `minOrder` ASC [ RunTime:0.057257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60070568 ORDER BY `unit` DESC [ RunTime:0.130842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60070568 LIMIT 2 [ RunTime:0.075569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60070568 ORDER BY `minOrder` ASC [ RunTime:0.033293s ]
select * from pdf where partno='MS27496E17B99BB' and brandshort='Amphenol Aerospace Operations' limit 1 [ RunTime:0.036436s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS27496E17B99BB' OR `brand` LIKE 'Amphenol Aerospace Operations%' ) ) LIMIT 1 [ RunTime:0.070534s ]
SELECT `id` FROM `stock` WHERE `id` <> 60070568 AND `partno` = 'MS27496E17B99BB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol aerospace operations%' ) [ RunTime:0.068925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11726103 [ RunTime:0.052699s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.100733s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029420s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117110s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117550s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.163936s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.122285s ]
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 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057174s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MS27496E17B99BB%' OR `brand` LIKE 'MS27496E17B99BB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023972s ]