SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001822s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048046s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11908079 LIMIT 5 [ RunTime:0.011294s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.016265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11908079 ORDER BY `minOrder` ASC [ RunTime:0.023920s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.032907s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11908079 ORDER BY `unit` DESC [ RunTime:0.020075s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11908079 LIMIT 2 [ RunTime:0.034736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11908079 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11904314 LIMIT 5 [ RunTime:0.030253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11904314 ORDER BY `minOrder` ASC [ RunTime:0.046338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11904314 ORDER BY `unit` DESC [ RunTime:0.027762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11904314 LIMIT 2 [ RunTime:0.070409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11904314 ORDER BY `minOrder` ASC [ RunTime:0.013003s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11904313 LIMIT 5 [ RunTime:0.053168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11904313 ORDER BY `minOrder` ASC [ RunTime:0.039028s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11904313 ORDER BY `unit` DESC [ RunTime:0.041055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11904313 LIMIT 2 [ RunTime:0.050387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11904313 ORDER BY `minOrder` ASC [ RunTime:0.034403s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.093055s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62074195 LIMIT 5 [ RunTime:0.021658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62074195 ORDER BY `minOrder` ASC [ RunTime:0.031925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62074195 ORDER BY `unit` DESC [ RunTime:0.040245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62074195 LIMIT 2 [ RunTime:0.028032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62074195 ORDER BY `minOrder` ASC [ RunTime:0.010936s ]
select * from pdf where partno='MD25F30000-15' and brandshort='Amphenol Positronic' limit 1 [ RunTime:0.059288s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD25F30000-15' OR `brand` LIKE 'Amphenol Positronic%' ) ) LIMIT 1 [ RunTime:0.042181s ]
SELECT `id` FROM `stock` WHERE `id` <> 62074195 AND `partno` = 'MD25F30000-15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol positronic%' ) [ RunTime:0.058540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11908079 [ RunTime:0.098049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62074193 LIMIT 5 [ RunTime:0.046178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62074193 ORDER BY `minOrder` ASC [ RunTime:0.038060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62074193 ORDER BY `unit` DESC [ RunTime:0.006714s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62074193 LIMIT 2 [ RunTime:0.019344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62074193 ORDER BY `minOrder` ASC [ RunTime:0.017906s ]
select * from pdf where partno='MD25F30000/AA-15' and brandshort='Amphenol Positronic' limit 1 [ RunTime:0.068121s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD25F30000/AA-15' OR `brand` LIKE 'Amphenol Positronic%' ) ) LIMIT 1 [ RunTime:0.022995s ]
SELECT `id` FROM `stock` WHERE `id` <> 62074193 AND `partno` = 'MD25F30000/AA-15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol positronic%' ) [ RunTime:0.044027s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62033115 LIMIT 5 [ RunTime:0.033940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62033115 ORDER BY `minOrder` ASC [ RunTime:0.035385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62033115 ORDER BY `unit` DESC [ RunTime:0.017481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62033115 LIMIT 2 [ RunTime:0.032437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62033115 ORDER BY `minOrder` ASC [ RunTime:0.010215s ]
select * from pdf where partno='MD25F30000' and brandshort='Amphenol Positronic' limit 1 [ RunTime:0.001723s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD25F30000' OR `brand` LIKE 'Amphenol Positronic%' ) ) LIMIT 1 [ RunTime:0.008930s ]
SELECT `id` FROM `stock` WHERE `id` <> 62033115 AND `partno` = 'MD25F30000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol positronic%' ) [ RunTime:0.003919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11904314 [ RunTime:0.000780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62033114 LIMIT 5 [ RunTime:0.013446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62033114 ORDER BY `minOrder` ASC [ RunTime:0.017036s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62033114 ORDER BY `unit` DESC [ RunTime:0.011479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62033114 LIMIT 2 [ RunTime:0.009479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62033114 ORDER BY `minOrder` ASC [ RunTime:0.006319s ]
select * from pdf where partno='MD25F30000/AA' and brandshort='Amphenol Positronic' limit 1 [ RunTime:0.012734s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD25F30000/AA' OR `brand` LIKE 'Amphenol Positronic%' ) ) LIMIT 1 [ RunTime:0.001435s ]
SELECT `id` FROM `stock` WHERE `id` <> 62033114 AND `partno` = 'MD25F30000/AA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol positronic%' ) [ RunTime:0.001092s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11904313 [ RunTime:0.011497s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012462s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001610s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007393s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012094s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008528s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008402s ]
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 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016296s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MD25F30000%' OR `brand` LIKE 'MD25F30000%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009533s ]