SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002376s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005306s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10130221 LIMIT 5 [ RunTime:0.001800s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10130221 ORDER BY `minOrder` ASC [ RunTime:0.004615s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10130221 ORDER BY `unit` DESC [ RunTime:0.012437s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10130221 LIMIT 2 [ RunTime:0.008078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10130221 ORDER BY `minOrder` ASC [ RunTime:0.006067s ]
select * from pdf where partno='FA18NP02A222JNU00' and brandshort='TDK Corporation' limit 1 [ RunTime:0.027236s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013170s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39770350 LIMIT 5 [ RunTime:0.016795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39770350 ORDER BY `minOrder` ASC [ RunTime:0.067933s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39770350 ORDER BY `unit` DESC [ RunTime:0.074051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39770350 LIMIT 2 [ RunTime:0.045386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39770350 ORDER BY `minOrder` ASC [ RunTime:0.004696s ]
select * from pdf where partno='FA18NP02A222JNU00' and brandshort='TDK' limit 1 [ RunTime:0.028289s ]
select foldpath,foldpath2,filename from pdf_file where id=1920095 limit 1 [ RunTime:0.023722s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FA18NP02A222JNU00' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.040447s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028086s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.074246s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012621s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011588s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030514s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030351s ]
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 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084337s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'FA18NP02A222JNU00%' OR `brand` LIKE 'FA18NP02A222JNU00%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.065259s ]