SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002448s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018693s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035979s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068845s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48064520 LIMIT 5 [ RunTime:0.035951s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.026599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48064520 ORDER BY `minOrder` ASC [ RunTime:0.078307s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 48064520 ORDER BY `unit` DESC [ RunTime:0.062932s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.022203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 48064520 LIMIT 2 [ RunTime:0.075851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48064520 ORDER BY `minOrder` ASC [ RunTime:0.055036s ]
select * from pdf where partno='WPTV00RF171851PNB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.044850s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV00RF171851PNB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.097479s ]
SELECT `id` FROM `stock` WHERE `id` <> 48064520 AND `partno` = 'WPTV00RF171851PNB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.081818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35258029 [ RunTime:0.013353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35258029 LIMIT 5 [ RunTime:0.012892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35258029 ORDER BY `minOrder` ASC [ RunTime:0.110968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35258029 ORDER BY `unit` DESC [ RunTime:0.053332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35258029 LIMIT 2 [ RunTime:0.047557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35258029 ORDER BY `minOrder` ASC [ RunTime:0.025794s ]
select * from pdf where partno='WPTV00RF171851PNB' and brandshort='Amphenol Limited' limit 1 [ RunTime:0.011267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WPTV00RF171851PNB' OR `brand` LIKE 'Amphenol Limited%' ) ) LIMIT 1 [ RunTime:0.009325s ]
SELECT `id` FROM `stock` WHERE `id` <> 35258029 AND `partno` = 'WPTV00RF171851PNB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol limited%' ) [ RunTime:0.014438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48064520 [ RunTime:0.048197s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069456s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039323s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020095s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.103279s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040548s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040455s ]
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 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046393s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'WPTV00RF171851PNB%' OR `brand` LIKE 'WPTV00RF171851PNB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.014395s ]