SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002346s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001746s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12748983 LIMIT 5 [ RunTime:0.001335s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12748983 ORDER BY `minOrder` ASC [ RunTime:0.000646s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12748983 ORDER BY `unit` DESC [ RunTime:0.002258s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12748983 LIMIT 2 [ RunTime:0.002155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12748983 ORDER BY `minOrder` ASC [ RunTime:0.000612s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001257s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52829843 LIMIT 5 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52829843 ORDER BY `minOrder` ASC [ RunTime:0.001093s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52829843 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52829843 LIMIT 2 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52829843 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
select * from pdf where partno='IPT1-120-01-L-D-VS-FL-PL' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001430s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001748s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IPT1-120-01-L-D-VS-FL-PL' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000802s ]
SELECT `id` FROM `stock` WHERE `id` <> 52829843 AND `partno` = 'IPT1-120-01-L-D-VS-FL-PL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12748983 [ RunTime:0.000503s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001035s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000700s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000763s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000638s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000725s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000720s ]
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 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000672s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' OR `brand` LIKE 'IPT1-120-01-L-D-VS-FL-PL%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000621s ]