SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003695s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052994s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16491623 LIMIT 5 [ RunTime:0.051183s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16491623 ORDER BY `minOrder` ASC [ RunTime:0.042003s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16491623 ORDER BY `unit` DESC [ RunTime:0.050626s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16491623 LIMIT 2 [ RunTime:0.050587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16491623 ORDER BY `minOrder` ASC [ RunTime:0.050663s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.108177s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.190548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62393429 LIMIT 5 [ RunTime:0.031276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62393429 ORDER BY `minOrder` ASC [ RunTime:0.107411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62393429 ORDER BY `unit` DESC [ RunTime:0.107210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62393429 LIMIT 2 [ RunTime:0.089460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62393429 ORDER BY `minOrder` ASC [ RunTime:0.052849s ]
select * from pdf where partno='MP-64RJ45UNNB-016' and brandshort='Amphenol Cables on Demand' limit 1 [ RunTime:0.127117s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002878s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP-64RJ45UNNB-016' OR `brand` LIKE 'Amphenol Cables on Demand%' ) ) LIMIT 1 [ RunTime:0.205535s ]
SELECT `id` FROM `stock` WHERE `id` <> 62393429 AND `partno` = 'MP-64RJ45UNNB-016' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol cables on demand%' ) [ RunTime:0.222766s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16491623 [ RunTime:0.180672s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.101520s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.099022s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.128982s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117246s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.109968s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052097s ]
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 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.126837s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MP-64RJ45UNNB-016%' OR `brand` LIKE 'MP-64RJ45UNNB-016%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.176630s ]