SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001282s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061442s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19562911 LIMIT 5 [ RunTime:0.074885s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19562911 ORDER BY `minOrder` ASC [ RunTime:0.009846s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19562911 ORDER BY `unit` DESC [ RunTime:0.007371s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002054s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19562911 LIMIT 2 [ RunTime:0.046506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19562911 ORDER BY `minOrder` ASC [ RunTime:0.008630s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021608s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.071079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43795697 LIMIT 5 [ RunTime:0.036877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43795697 ORDER BY `minOrder` ASC [ RunTime:0.033318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43795697 ORDER BY `unit` DESC [ RunTime:0.045435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43795697 LIMIT 2 [ RunTime:0.044915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43795697 ORDER BY `minOrder` ASC [ RunTime:0.010903s ]
select * from pdf where partno='V6B2S00C-1ZZ00-000' and brandshort='Carling Technologies' limit 1 [ RunTime:0.035244s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001619s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V6B2S00C-1ZZ00-000' OR `brand` LIKE 'Carling Technologies%' ) ) LIMIT 1 [ RunTime:0.052218s ]
SELECT `id` FROM `stock` WHERE `id` <> 43795697 AND `partno` = 'V6B2S00C-1ZZ00-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%carling technologies%' ) [ RunTime:0.036415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19562911 [ RunTime:0.035081s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025987s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037019s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066438s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061140s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045602s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.099789s ]
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 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047194s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'V6B2S00C-1ZZ00-000%' OR `brand` LIKE 'V6B2S00C-1ZZ00-000%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.056053s ]