SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001362s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026957s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15293357 LIMIT 5 [ RunTime:0.023986s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.020975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15293357 ORDER BY `minOrder` ASC [ RunTime:0.030556s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15293357 ORDER BY `unit` DESC [ RunTime:0.025094s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15293357 LIMIT 2 [ RunTime:0.041964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15293357 ORDER BY `minOrder` ASC [ RunTime:0.046698s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027657s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63638556 LIMIT 5 [ RunTime:0.057694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63638556 ORDER BY `minOrder` ASC [ RunTime:0.045614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63638556 ORDER BY `unit` DESC [ RunTime:0.010253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63638556 LIMIT 2 [ RunTime:0.048909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63638556 ORDER BY `minOrder` ASC [ RunTime:0.007132s ]
select * from pdf where partno='MIC803-41D3VM3-TR' and brandshort='Microchip Technology' limit 1 [ RunTime:0.009104s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC803-41D3VM3-TR' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.014510s ]
SELECT `id` FROM `stock` WHERE `id` <> 63638556 AND `partno` = 'MIC803-41D3VM3-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.032739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15293357 [ RunTime:0.015905s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027639s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024331s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061894s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018665s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034988s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028556s ]
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-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032362s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MIC803-41D3VM3-TR%' OR `brand` LIKE 'MIC803-41D3VM3-TR%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.008774s ]