SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004597s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016610s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034571s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042322s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001645s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48046975 LIMIT 5 [ RunTime:0.022970s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48046975 ORDER BY `minOrder` ASC [ RunTime:0.023471s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 48046975 ORDER BY `unit` DESC [ RunTime:0.003779s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 48046975 LIMIT 2 [ RunTime:0.016923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48046975 ORDER BY `minOrder` ASC [ RunTime:0.004512s ]
select * from pdf where partno='WPTV01RF151201SDB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.023773s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV01RF151201SDB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.025537s ]
SELECT `id` FROM `stock` WHERE `id` <> 48046975 AND `partno` = 'WPTV01RF151201SDB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.005098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35240062 [ RunTime:0.004037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35240062 LIMIT 5 [ RunTime:0.007847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35240062 ORDER BY `minOrder` ASC [ RunTime:0.045321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35240062 ORDER BY `unit` DESC [ RunTime:0.019608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35240062 LIMIT 2 [ RunTime:0.011971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35240062 ORDER BY `minOrder` ASC [ RunTime:0.005231s ]
select * from pdf where partno='WPTV01RF151201SDB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.003696s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV01RF151201SDB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.011212s ]
SELECT `id` FROM `stock` WHERE `id` <> 35240062 AND `partno` = 'WPTV01RF151201SDB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.000857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48046975 [ RunTime:0.000572s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004372s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007474s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003977s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002245s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021557s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017066s ]
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 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012181s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'WPTV01RF151201SDB%' OR `brand` LIKE 'WPTV01RF151201SDB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.014466s ]