SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002156s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013136s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.010988s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14969173 LIMIT 5 [ RunTime:0.000894s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000999s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14969173 ORDER BY `minOrder` ASC [ RunTime:0.006817s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14969173 ORDER BY `unit` DESC [ RunTime:0.014147s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14969173 LIMIT 2 [ RunTime:0.002648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14969173 ORDER BY `minOrder` ASC [ RunTime:0.007614s ]
select * from pdf where partno='CGA2B3X7R1H223K050BB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.003162s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005297s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39459358 LIMIT 5 [ RunTime:0.005781s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39459358 ORDER BY `minOrder` ASC [ RunTime:0.008705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39459358 ORDER BY `unit` DESC [ RunTime:0.005011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39459358 LIMIT 2 [ RunTime:0.020991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39459358 ORDER BY `minOrder` ASC [ RunTime:0.027124s ]
select * from pdf where partno='CGA2B3X7R1H223K050BB' and brandshort='TDK' limit 1 [ RunTime:0.003433s ]
select foldpath,foldpath2,filename from pdf_file where id=2138002 limit 1 [ RunTime:0.000355s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGA2B3X7R1H223K050BB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.000387s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005767s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001726s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002379s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001856s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001036s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001480s ]
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 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004680s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CGA2B3X7R1H223K050BB%' OR `brand` LIKE 'CGA2B3X7R1H223K050BB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003358s ]