SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002185s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052105s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002090s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17760859 LIMIT 5 [ RunTime:0.202307s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17760859 ORDER BY `minOrder` ASC [ RunTime:0.042352s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17760859 ORDER BY `unit` DESC [ RunTime:0.022783s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.008753s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17760859 LIMIT 2 [ RunTime:0.037837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17760859 ORDER BY `minOrder` ASC [ RunTime:0.056469s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052038s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.140544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58039182 LIMIT 5 [ RunTime:0.097815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58039182 ORDER BY `minOrder` ASC [ RunTime:0.029683s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58039182 ORDER BY `unit` DESC [ RunTime:0.035673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58039182 LIMIT 2 [ RunTime:0.069179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58039182 ORDER BY `minOrder` ASC [ RunTime:0.071988s ]
select * from pdf where partno='CDV30FK122FO3F' and brandshort='Cornell Dubilier Knowles' limit 1 [ RunTime:0.026061s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CDV30FK122FO3F' OR `brand` LIKE 'Cornell Dubilier Knowles%' ) ) LIMIT 1 [ RunTime:0.041747s ]
SELECT `id` FROM `stock` WHERE `id` <> 58039182 AND `partno` = 'CDV30FK122FO3F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cornell dubilier knowles%' ) [ RunTime:0.019285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17760859 [ RunTime:0.019040s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.101411s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.199981s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085036s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080560s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087437s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.157240s ]
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 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.095567s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CDV30FK122FO3F%' OR `brand` LIKE 'CDV30FK122FO3F%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.048260s ]