SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003225s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008259s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.012422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16069083 LIMIT 5 [ RunTime:0.013167s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16069083 ORDER BY `minOrder` ASC [ RunTime:0.018035s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16069083 ORDER BY `unit` DESC [ RunTime:0.027902s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16069083 LIMIT 2 [ RunTime:0.028776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16069083 ORDER BY `minOrder` ASC [ RunTime:0.019441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12041 LIMIT 5 [ RunTime:0.029860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12041 ORDER BY `minOrder` ASC [ RunTime:0.068965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12041 ORDER BY `unit` DESC [ RunTime:0.027237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12041 LIMIT 2 [ RunTime:0.053407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12041 ORDER BY `minOrder` ASC [ RunTime:0.025186s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002784s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX20004EAFOB/VY+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.117842s ]
SELECT `id` FROM `stock` WHERE `id` <> 12041 AND `partno` = 'MAX20004EAFOB/VY+' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices%' ) [ RunTime:0.127511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16069083 [ RunTime:0.122147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19130544 LIMIT 5 [ RunTime:0.244821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19130544 ORDER BY `minOrder` ASC [ RunTime:0.081999s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19130544 ORDER BY `unit` DESC [ RunTime:0.051444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19130544 LIMIT 2 [ RunTime:0.105873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19130544 ORDER BY `minOrder` ASC [ RunTime:0.039107s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.090594s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.113471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57066124 LIMIT 5 [ RunTime:0.021485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57066124 ORDER BY `minOrder` ASC [ RunTime:0.078531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57066124 ORDER BY `unit` DESC [ RunTime:0.037294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57066124 LIMIT 2 [ RunTime:0.101971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57066124 ORDER BY `minOrder` ASC [ RunTime:0.009638s ]
select * from pdf where partno='MAX20004EAFOB/VY+' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.123962s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX20004EAFOB/VY+' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.022369s ]
SELECT `id` FROM `stock` WHERE `id` <> 57066124 AND `partno` = 'MAX20004EAFOB/VY+' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.118760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16069083 [ RunTime:0.070376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57090697 LIMIT 5 [ RunTime:0.045066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57090697 ORDER BY `minOrder` ASC [ RunTime:0.042558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57090697 ORDER BY `unit` DESC [ RunTime:0.073152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57090697 LIMIT 2 [ RunTime:0.072053s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57090697 ORDER BY `minOrder` ASC [ RunTime:0.028902s ]
select * from pdf where partno='MAX20004EAFOB/VY+T' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.066979s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX20004EAFOB/VY+T' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.032220s ]
SELECT `id` FROM `stock` WHERE `id` <> 57090697 AND `partno` = 'MAX20004EAFOB/VY+T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.122435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19130544 [ RunTime:0.113404s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.095145s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.141281s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.088298s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072657s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080056s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.146150s ]
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 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.257770s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MAX20004EAFOB/VY%' OR `brand` LIKE 'MAX20004EAFOB/VY%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.106427s ]