SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002782s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069113s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14949994 LIMIT 5 [ RunTime:0.034588s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.013887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14949994 ORDER BY `minOrder` ASC [ RunTime:0.014122s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001134s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14949994 ORDER BY `unit` DESC [ RunTime:0.113851s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.016575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14949994 LIMIT 2 [ RunTime:0.053340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14949994 ORDER BY `minOrder` ASC [ RunTime:0.020209s ]
select * from pdf where partno='CGA3E3X5R1V105M080AB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.082490s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039205s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39479843 LIMIT 5 [ RunTime:0.103330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39479843 ORDER BY `minOrder` ASC [ RunTime:0.075827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39479843 ORDER BY `unit` DESC [ RunTime:0.096554s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39479843 LIMIT 2 [ RunTime:0.063969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39479843 ORDER BY `minOrder` ASC [ RunTime:0.013381s ]
select * from pdf where partno='CGA3E3X5R1V105M080AB' and brandshort='TDK' limit 1 [ RunTime:0.042620s ]
select foldpath,foldpath2,filename from pdf_file where id=1918010 limit 1 [ RunTime:0.004141s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGA3E3X5R1V105M080AB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.051913s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054782s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018214s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066523s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059040s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012924s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037742s ]
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 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032728s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CGA3E3X5R1V105M080AB%' OR `brand` LIKE 'CGA3E3X5R1V105M080AB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.022510s ]