SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002377s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021995s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001689s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17134413 LIMIT 5 [ RunTime:0.011842s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17134413 ORDER BY `minOrder` ASC [ RunTime:0.007569s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17134413 ORDER BY `unit` DESC [ RunTime:0.008399s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000966s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17134413 LIMIT 2 [ RunTime:0.001345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17134413 ORDER BY `minOrder` ASC [ RunTime:0.006907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16137136 LIMIT 5 [ RunTime:0.004182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16137136 ORDER BY `minOrder` ASC [ RunTime:0.006811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16137136 ORDER BY `unit` DESC [ RunTime:0.000659s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16137136 LIMIT 2 [ RunTime:0.012637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16137136 ORDER BY `minOrder` ASC [ RunTime:0.004139s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018946s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51063117 LIMIT 5 [ RunTime:0.017518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51063117 ORDER BY `minOrder` ASC [ RunTime:0.029048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51063117 ORDER BY `unit` DESC [ RunTime:0.032010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51063117 LIMIT 2 [ RunTime:0.010628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51063117 ORDER BY `minOrder` ASC [ RunTime:0.014509s ]
select * from pdf where partno='ads1148ipw' and brandshort='texas instruments' limit 1 [ RunTime:0.023377s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ads1148ipw' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.011512s ]
SELECT `id` FROM `stock` WHERE `id` <> 51063117 AND `partno` = 'ads1148ipw' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.011282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16137136 [ RunTime:0.015010s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51064022 LIMIT 5 [ RunTime:0.013487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51064022 ORDER BY `minOrder` ASC [ RunTime:0.030582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51064022 ORDER BY `unit` DESC [ RunTime:0.018622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51064022 LIMIT 2 [ RunTime:0.063439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51064022 ORDER BY `minOrder` ASC [ RunTime:0.006788s ]
select * from pdf where partno='ads1148ipwr' and brandshort='texas instruments' limit 1 [ RunTime:0.022390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ads1148ipwr' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.043161s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56946212 LIMIT 5 [ RunTime:0.096709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56946212 ORDER BY `minOrder` ASC [ RunTime:0.045007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56946212 ORDER BY `unit` DESC [ RunTime:0.013987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56946212 LIMIT 2 [ RunTime:0.049379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56946212 ORDER BY `minOrder` ASC [ RunTime:0.013478s ]
select * from pdf where partno='ADS1148IPW' and brandshort='Texas Instruments' limit 1 [ RunTime:0.043619s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS1148IPW' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.056156s ]
SELECT `id` FROM `stock` WHERE `id` <> 56946212 AND `partno` = 'ADS1148IPW' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.128845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16137136 [ RunTime:0.068793s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56950997 LIMIT 5 [ RunTime:0.038595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56950997 ORDER BY `minOrder` ASC [ RunTime:0.016315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56950997 ORDER BY `unit` DESC [ RunTime:0.033216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56950997 LIMIT 2 [ RunTime:0.075808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56950997 ORDER BY `minOrder` ASC [ RunTime:0.010087s ]
select * from pdf where partno='ADS1148IPWR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.051487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS1148IPWR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.066718s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045010s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048760s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017341s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019114s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017405s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042389s ]
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 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005912s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ADS1148IPW%' OR `brand` LIKE 'ADS1148IPW%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017473s ]