SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001513s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030691s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10143458 LIMIT 5 [ RunTime:0.019740s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10143458 ORDER BY `minOrder` ASC [ RunTime:0.016813s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10143458 ORDER BY `unit` DESC [ RunTime:0.003675s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10143458 LIMIT 2 [ RunTime:0.033567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10143458 ORDER BY `minOrder` ASC [ RunTime:0.020308s ]
select * from pdf where partno='FA24NP02A472JNU00' and brandshort='TDK Corporation' limit 1 [ RunTime:0.023170s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022758s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39785861 LIMIT 5 [ RunTime:0.041709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39785861 ORDER BY `minOrder` ASC [ RunTime:0.022591s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39785861 ORDER BY `unit` DESC [ RunTime:0.051561s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39785861 LIMIT 2 [ RunTime:0.026197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39785861 ORDER BY `minOrder` ASC [ RunTime:0.051667s ]
select * from pdf where partno='FA24NP02A472JNU00' and brandshort='TDK' limit 1 [ RunTime:0.030819s ]
select foldpath,foldpath2,filename from pdf_file where id=1920095 limit 1 [ RunTime:0.035171s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002470s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA24NP02A472JNU00' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.041782s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069311s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063136s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045764s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069086s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066392s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.113443s ]
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 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072454s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FA24NP02A472JNU00%' OR `brand` LIKE 'FA24NP02A472JNU00%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.021008s ]