SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002657s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013116s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14958552 LIMIT 5 [ RunTime:0.004550s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958552 ORDER BY `minOrder` ASC [ RunTime:0.004108s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14958552 ORDER BY `unit` DESC [ RunTime:0.005876s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14958552 LIMIT 2 [ RunTime:0.019360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958552 ORDER BY `minOrder` ASC [ RunTime:0.017881s ]
select * from pdf where partno='CGA5L3X8R1H684K160AB' and brandshort='TDK Corporation' limit 1 [ RunTime:0.026443s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060369s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39498939 LIMIT 5 [ RunTime:0.020475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39498939 ORDER BY `minOrder` ASC [ RunTime:0.057566s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39498939 ORDER BY `unit` DESC [ RunTime:0.012730s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39498939 LIMIT 2 [ RunTime:0.059964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39498939 ORDER BY `minOrder` ASC [ RunTime:0.008097s ]
select * from pdf where partno='CGA5L3X8R1H684K160AB' and brandshort='TDK' limit 1 [ RunTime:0.026775s ]
select foldpath,foldpath2,filename from pdf_file where id=1918316 limit 1 [ RunTime:0.018148s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGA5L3X8R1H684K160AB' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.022949s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008617s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011902s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053686s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049556s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028848s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046329s ]
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 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.074842s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CGA5L3X8R1H684K160AB%' OR `brand` LIKE 'CGA5L3X8R1H684K160AB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.069716s ]