SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002440s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032611s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16033660 LIMIT 5 [ RunTime:0.013205s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.010078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16033660 ORDER BY `minOrder` ASC [ RunTime:0.012915s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16033660 ORDER BY `unit` DESC [ RunTime:0.009759s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16033660 LIMIT 2 [ RunTime:0.055814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16033660 ORDER BY `minOrder` ASC [ RunTime:0.046180s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044092s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63640824 LIMIT 5 [ RunTime:0.040539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63640824 ORDER BY `minOrder` ASC [ RunTime:0.022835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63640824 ORDER BY `unit` DESC [ RunTime:0.019411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63640824 LIMIT 2 [ RunTime:0.020586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63640824 ORDER BY `minOrder` ASC [ RunTime:0.044385s ]
select * from pdf where partno='MIC803-41D4VM3-TR' and brandshort='Microchip Technology' limit 1 [ RunTime:0.003513s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC803-41D4VM3-TR' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.013330s ]
SELECT `id` FROM `stock` WHERE `id` <> 63640824 AND `partno` = 'MIC803-41D4VM3-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16033660 [ RunTime:0.018648s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039966s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059340s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078444s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041696s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043693s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043504s ]
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 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041503s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MIC803-41D4VM3-TR%' OR `brand` LIKE 'MIC803-41D4VM3-TR%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.056956s ]