SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003779s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024802s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14955718 LIMIT 5 [ RunTime:0.017607s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14955718 ORDER BY `minOrder` ASC [ RunTime:0.007807s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001152s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14955718 ORDER BY `unit` DESC [ RunTime:0.012915s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003746s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14955718 LIMIT 2 [ RunTime:0.038432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14955718 ORDER BY `minOrder` ASC [ RunTime:0.036667s ]
select * from pdf where partno='CGA5L3X7R1V225K160AB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.045114s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009448s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39469278 LIMIT 5 [ RunTime:0.036329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39469278 ORDER BY `minOrder` ASC [ RunTime:0.021432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39469278 ORDER BY `unit` DESC [ RunTime:0.014313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39469278 LIMIT 2 [ RunTime:0.030115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39469278 ORDER BY `minOrder` ASC [ RunTime:0.111799s ]
select * from pdf where partno='CGA5L3X7R1V225K160AB' and brandshort='TDK' limit 1 [ RunTime:0.015916s ]
select foldpath,foldpath2,filename from pdf_file where id=1918010 limit 1 [ RunTime:0.051048s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGA5L3X7R1V225K160AB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.030813s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.143043s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.101270s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053270s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052787s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033865s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016460s ]
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 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041622s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CGA5L3X7R1V225K160AB%' OR `brand` LIKE 'CGA5L3X7R1V225K160AB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.029388s ]