SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002965s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045431s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053049s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065610s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005539s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48022611 LIMIT 5 [ RunTime:0.053388s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48022611 ORDER BY `minOrder` ASC [ RunTime:0.037759s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.014218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 48022611 ORDER BY `unit` DESC [ RunTime:0.014343s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 48022611 LIMIT 2 [ RunTime:0.035152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48022611 ORDER BY `minOrder` ASC [ RunTime:0.040364s ]
select * from pdf where partno='WPTV00RF13857SEB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.039773s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV00RF13857SEB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.017419s ]
SELECT `id` FROM `stock` WHERE `id` <> 48022611 AND `partno` = 'WPTV00RF13857SEB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.057352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35216630 [ RunTime:0.053089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35216630 LIMIT 5 [ RunTime:0.064470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35216630 ORDER BY `minOrder` ASC [ RunTime:0.124855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35216630 ORDER BY `unit` DESC [ RunTime:0.063076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35216630 LIMIT 2 [ RunTime:0.100260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35216630 ORDER BY `minOrder` ASC [ RunTime:0.038483s ]
select * from pdf where partno='WPTV00RF13857SEB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.019856s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV00RF13857SEB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.009461s ]
SELECT `id` FROM `stock` WHERE `id` <> 35216630 AND `partno` = 'WPTV00RF13857SEB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.036614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48022611 [ RunTime:0.118360s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057090s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060409s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045290s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069196s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054068s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042410s ]
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 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045938s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'WPTV00RF13857SEB%' OR `brand` LIKE 'WPTV00RF13857SEB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.046149s ]