SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002620s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020693s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038625s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049689s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.015638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48060194 LIMIT 5 [ RunTime:0.032114s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.010119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48060194 ORDER BY `minOrder` ASC [ RunTime:0.075206s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.035873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 48060194 ORDER BY `unit` DESC [ RunTime:0.037268s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010132s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 48060194 LIMIT 2 [ RunTime:0.041058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48060194 ORDER BY `minOrder` ASC [ RunTime:0.032484s ]
select * from pdf where partno='WPTV00RF13851SAB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.058354s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV00RF13851SAB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.058938s ]
SELECT `id` FROM `stock` WHERE `id` <> 48060194 AND `partno` = 'WPTV00RF13851SAB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.053256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35213588 [ RunTime:0.118663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35213588 LIMIT 5 [ RunTime:0.072560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35213588 ORDER BY `minOrder` ASC [ RunTime:0.065927s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35213588 ORDER BY `unit` DESC [ RunTime:0.029989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35213588 LIMIT 2 [ RunTime:0.083943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35213588 ORDER BY `minOrder` ASC [ RunTime:0.059387s ]
select * from pdf where partno='WPTV00RF13851SAB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.023312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV00RF13851SAB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.026532s ]
SELECT `id` FROM `stock` WHERE `id` <> 35213588 AND `partno` = 'WPTV00RF13851SAB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.050675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48060194 [ RunTime:0.047408s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024079s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015874s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025094s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029460s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015563s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011333s ]
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 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021961s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'WPTV00RF13851SAB%' OR `brand` LIKE 'WPTV00RF13851SAB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.020339s ]