SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002497s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011746s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17069068 LIMIT 5 [ RunTime:0.005656s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17069068 ORDER BY `minOrder` ASC [ RunTime:0.022054s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17069068 ORDER BY `unit` DESC [ RunTime:0.002596s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17069068 LIMIT 2 [ RunTime:0.015838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17069068 ORDER BY `minOrder` ASC [ RunTime:0.009058s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19062910 LIMIT 5 [ RunTime:0.018406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19062910 ORDER BY `minOrder` ASC [ RunTime:0.021250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19062910 ORDER BY `unit` DESC [ RunTime:0.024131s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19062910 LIMIT 2 [ RunTime:0.018533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19062910 ORDER BY `minOrder` ASC [ RunTime:0.005652s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006953s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64012229 LIMIT 5 [ RunTime:0.027527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64012229 ORDER BY `minOrder` ASC [ RunTime:0.024516s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64012229 ORDER BY `unit` DESC [ RunTime:0.009896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64012229 LIMIT 2 [ RunTime:0.013585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64012229 ORDER BY `minOrder` ASC [ RunTime:0.004465s ]
select * from pdf where partno='MAX20094ATID/VY+T' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.003399s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002600s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX20094ATID/VY+T' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.005824s ]
SELECT `id` FROM `stock` WHERE `id` <> 64012229 AND `partno` = 'MAX20094ATID/VY+T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.013350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19062910 [ RunTime:0.001778s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64011150 LIMIT 5 [ RunTime:0.003090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64011150 ORDER BY `minOrder` ASC [ RunTime:0.012663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64011150 ORDER BY `unit` DESC [ RunTime:0.005632s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64011150 LIMIT 2 [ RunTime:0.004837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64011150 ORDER BY `minOrder` ASC [ RunTime:0.003852s ]
select * from pdf where partno='MAX20094ATID/VY+' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.007277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX20094ATID/VY+' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.002854s ]
SELECT `id` FROM `stock` WHERE `id` <> 64011150 AND `partno` = 'MAX20094ATID/VY+' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.003346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17069068 [ RunTime:0.000798s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005760s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006073s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007856s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003166s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006362s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001241s ]
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 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008771s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MAX20094ATID/VY%' OR `brand` LIKE 'MAX20094ATID/VY%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.007767s ]