SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001685s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050371s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028356s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082062s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.047195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 54290361 LIMIT 5 [ RunTime:0.034003s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54290361 ORDER BY `minOrder` ASC [ RunTime:0.095583s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.015755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 54290361 ORDER BY `unit` DESC [ RunTime:0.014652s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 54290361 LIMIT 2 [ RunTime:0.065935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54290361 ORDER BY `minOrder` ASC [ RunTime:0.023862s ]
select * from pdf where partno='BD-05BFFA-QL8LP0' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.028584s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BD-05BFFA-QL8LP0' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.007837s ]
SELECT `id` FROM `stock` WHERE `id` <> 54290361 AND `partno` = 'BD-05BFFA-QL8LP0' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.035369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 54391513 LIMIT 5 [ RunTime:0.035748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54391513 ORDER BY `minOrder` ASC [ RunTime:0.002553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 54391513 ORDER BY `unit` DESC [ RunTime:0.035962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 54391513 LIMIT 2 [ RunTime:0.012849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54391513 ORDER BY `minOrder` ASC [ RunTime:0.003854s ]
select * from pdf where partno='BD-05BFFA-QL8LP0' and brandshort='Amphenol LTW' limit 1 [ RunTime:0.001884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BD-05BFFA-QL8LP0' OR `brand` LIKE 'Amphenol LTW%' ) ) LIMIT 1 [ RunTime:0.004968s ]
SELECT `id` FROM `stock` WHERE `id` <> 54391513 AND `partno` = 'BD-05BFFA-QL8LP0' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol ltw%' ) [ RunTime:0.016366s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034786s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032241s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031725s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023327s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011976s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024378s ]
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 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008451s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'BD-05BFFA-QL8LP0%' OR `brand` LIKE 'BD-05BFFA-QL8LP0%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002606s ]