SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002462s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009425s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.014902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12191311 LIMIT 5 [ RunTime:0.042181s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12191311 ORDER BY `minOrder` ASC [ RunTime:0.014248s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12191311 ORDER BY `unit` DESC [ RunTime:0.034840s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12191311 LIMIT 2 [ RunTime:0.034815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12191311 ORDER BY `minOrder` ASC [ RunTime:0.033302s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032200s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56519803 LIMIT 5 [ RunTime:0.081501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56519803 ORDER BY `minOrder` ASC [ RunTime:0.087199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56519803 ORDER BY `unit` DESC [ RunTime:0.015678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56519803 LIMIT 2 [ RunTime:0.060685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56519803 ORDER BY `minOrder` ASC [ RunTime:0.019741s ]
select * from pdf where partno='609-31015 - FR 25-RL-PNSL-KL4' and brandshort='SensoPart' limit 1 [ RunTime:0.052117s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002600s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '609-31015 - FR 25-RL-PNSL-KL4' OR `brand` LIKE 'SensoPart%' ) ) LIMIT 1 [ RunTime:0.071253s ]
SELECT `id` FROM `stock` WHERE `id` <> 56519803 AND `partno` = '609-31015 - FR 25-RL-PNSL-KL4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sensopart%' ) [ RunTime:0.049679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12191311 [ RunTime:0.022379s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028154s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010566s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049132s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043815s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023428s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035824s ]
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 '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029266s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' OR `brand` LIKE '609-31015 - FR 25-RL-PNSL-KL4%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.028681s ]