SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003307s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012990s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14934939 LIMIT 5 [ RunTime:0.037431s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14934939 ORDER BY `minOrder` ASC [ RunTime:0.007899s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14934939 ORDER BY `unit` DESC [ RunTime:0.006101s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14934939 LIMIT 2 [ RunTime:0.012904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14934939 ORDER BY `minOrder` ASC [ RunTime:0.017403s ]
select * from pdf where partno='CGA5L3X7R1V225M160AB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.017911s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011617s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020001s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39469218 LIMIT 5 [ RunTime:0.033074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39469218 ORDER BY `minOrder` ASC [ RunTime:0.011886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39469218 ORDER BY `unit` DESC [ RunTime:0.009500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39469218 LIMIT 2 [ RunTime:0.016817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39469218 ORDER BY `minOrder` ASC [ RunTime:0.020696s ]
select * from pdf where partno='CGA5L3X7R1V225M160AB' and brandshort='TDK' limit 1 [ RunTime:0.023116s ]
select foldpath,foldpath2,filename from pdf_file where id=1918010 limit 1 [ RunTime:0.013523s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002530s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGA5L3X7R1V225M160AB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.019185s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016561s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066705s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.120193s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057098s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.097735s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060930s ]
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 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060277s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CGA5L3X7R1V225M160AB%' OR `brand` LIKE 'CGA5L3X7R1V225M160AB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.047484s ]