SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001305s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004583s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17578835 LIMIT 5 [ RunTime:0.010735s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.015333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17578835 ORDER BY `minOrder` ASC [ RunTime:0.029730s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17578835 ORDER BY `unit` DESC [ RunTime:0.035567s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003142s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17578835 LIMIT 2 [ RunTime:0.003410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17578835 ORDER BY `minOrder` ASC [ RunTime:0.015295s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009510s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025452s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39246873 LIMIT 5 [ RunTime:0.007551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39246873 ORDER BY `minOrder` ASC [ RunTime:0.033867s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39246873 ORDER BY `unit` DESC [ RunTime:0.042578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39246873 LIMIT 2 [ RunTime:0.030536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39246873 ORDER BY `minOrder` ASC [ RunTime:0.051127s ]
select * from pdf where partno='EKRB421VSN201MR59M' and brandshort='Chemi-Con' limit 1 [ RunTime:0.078173s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EKRB421VSN201MR59M' OR `brand` LIKE 'Chemi-Con%' ) ) LIMIT 1 [ RunTime:0.018149s ]
SELECT `id` FROM `stock` WHERE `id` <> 39246873 AND `partno` = 'EKRB421VSN201MR59M' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%chemi-con%' ) [ RunTime:0.056745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17578835 [ RunTime:0.066535s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034310s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018527s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037549s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059868s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011523s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023570s ]
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 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023836s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'EKRB421VSN201MR59M%' OR `brand` LIKE 'EKRB421VSN201MR59M%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004228s ]