SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002293s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.102451s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.070117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14012706 LIMIT 5 [ RunTime:0.051392s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14012706 ORDER BY `minOrder` ASC [ RunTime:0.091738s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.082994s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14012706 ORDER BY `unit` DESC [ RunTime:0.124967s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14012706 LIMIT 2 [ RunTime:0.102086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14012706 ORDER BY `minOrder` ASC [ RunTime:0.081876s ]
select * from pdf where partno='CGA2B3X5R1H153K050BB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.053818s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050321s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39477047 LIMIT 5 [ RunTime:0.042601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39477047 ORDER BY `minOrder` ASC [ RunTime:0.067552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39477047 ORDER BY `unit` DESC [ RunTime:0.099988s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39477047 LIMIT 2 [ RunTime:0.060266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39477047 ORDER BY `minOrder` ASC [ RunTime:0.011481s ]
select * from pdf where partno='CGA2B3X5R1H153K050BB' and brandshort='TDK' limit 1 [ RunTime:0.068555s ]
select foldpath,foldpath2,filename from pdf_file where id=1498717 limit 1 [ RunTime:0.044462s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001762s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGA2B3X5R1H153K050BB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.006512s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031495s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035315s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017723s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041679s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022881s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003660s ]
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 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030572s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CGA2B3X5R1H153K050BB%' OR `brand` LIKE 'CGA2B3X5R1H153K050BB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.039268s ]