SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002410s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072004s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.016757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337551 LIMIT 5 [ RunTime:0.060566s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.017606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337551 ORDER BY `minOrder` ASC [ RunTime:0.042470s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.043069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337551 ORDER BY `unit` DESC [ RunTime:0.051571s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.020005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337551 LIMIT 2 [ RunTime:0.048896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337551 ORDER BY `minOrder` ASC [ RunTime:0.058398s ]
select * from pdf where partno='FA20C0G2J223JNU00' and brandshort='TDK Corporation' limit 1 [ RunTime:0.045188s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035122s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39974091 LIMIT 5 [ RunTime:0.010933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39974091 ORDER BY `minOrder` ASC [ RunTime:0.037354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39974091 ORDER BY `unit` DESC [ RunTime:0.017095s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39974091 LIMIT 2 [ RunTime:0.045750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39974091 ORDER BY `minOrder` ASC [ RunTime:0.018412s ]
select * from pdf where partno='FA20C0G2J223JNU00' and brandshort='TDK' limit 1 [ RunTime:0.033921s ]
select foldpath,foldpath2,filename from pdf_file where id=1917987 limit 1 [ RunTime:0.055942s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003106s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA20C0G2J223JNU00' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.023514s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019047s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040703s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025741s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030151s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042408s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032460s ]
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 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026051s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FA20C0G2J223JNU00%' OR `brand` LIKE 'FA20C0G2J223JNU00%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.084425s ]