SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002513s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040283s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17313759 LIMIT 5 [ RunTime:0.022358s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17313759 ORDER BY `minOrder` ASC [ RunTime:0.015399s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17313759 ORDER BY `unit` DESC [ RunTime:0.039572s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.012663s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17313759 LIMIT 2 [ RunTime:0.048673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17313759 ORDER BY `minOrder` ASC [ RunTime:0.069058s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062987s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61003386 LIMIT 5 [ RunTime:0.030740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61003386 ORDER BY `minOrder` ASC [ RunTime:0.038503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61003386 ORDER BY `unit` DESC [ RunTime:0.071811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61003386 LIMIT 2 [ RunTime:0.048623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61003386 ORDER BY `minOrder` ASC [ RunTime:0.007980s ]
select * from pdf where partno='AC 167 RVKB/2 M16' and brandshort='Adels-Contact' limit 1 [ RunTime:0.024734s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001598s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AC 167 RVKB/2 M16' OR `brand` LIKE 'Adels-Contact%' ) ) LIMIT 1 [ RunTime:0.025569s ]
SELECT `id` FROM `stock` WHERE `id` <> 61003386 AND `partno` = 'AC 167 RVKB/2 M16' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%adels-contact%' ) [ RunTime:0.019146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17313759 [ RunTime:0.010212s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014906s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023819s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015569s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027745s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019431s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007907s ]
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 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022095s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'AC 167 RVKB/2 M16%' OR `brand` LIKE 'AC 167 RVKB/2 M16%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.025566s ]