SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002223s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006503s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19090405 LIMIT 5 [ RunTime:0.002445s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19090405 ORDER BY `minOrder` ASC [ RunTime:0.000587s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19090405 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001986s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19090405 LIMIT 2 [ RunTime:0.005288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19090405 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17077803 LIMIT 5 [ RunTime:0.001604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17077803 ORDER BY `minOrder` ASC [ RunTime:0.002757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17077803 ORDER BY `unit` DESC [ RunTime:0.003186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17077803 LIMIT 2 [ RunTime:0.001245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17077803 ORDER BY `minOrder` ASC [ RunTime:0.000996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16040074 LIMIT 5 [ RunTime:0.003475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16040074 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16040074 ORDER BY `unit` DESC [ RunTime:0.005959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16040074 LIMIT 2 [ RunTime:0.001437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16040074 ORDER BY `minOrder` ASC [ RunTime:0.003299s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002759s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50037197 LIMIT 5 [ RunTime:0.000869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50037197 ORDER BY `minOrder` ASC [ RunTime:0.001792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50037197 ORDER BY `unit` DESC [ RunTime:0.003162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50037197 LIMIT 2 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50037197 ORDER BY `minOrder` ASC [ RunTime:0.000647s ]
select * from pdf where partno='TPS2057DG4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.005360s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002807s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2057DG4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000856s ]
SELECT `id` FROM `stock` WHERE `id` <> 50037197 AND `partno` = 'TPS2057DG4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16040074 [ RunTime:0.000422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50034555 LIMIT 5 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50034555 ORDER BY `minOrder` ASC [ RunTime:0.003176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50034555 ORDER BY `unit` DESC [ RunTime:0.003567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50034555 LIMIT 2 [ RunTime:0.000723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50034555 ORDER BY `minOrder` ASC [ RunTime:0.001097s ]
select * from pdf where partno='TPS2057DR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.004378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2057DR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.003496s ]
SELECT `id` FROM `stock` WHERE `id` <> 50034555 AND `partno` = 'TPS2057DR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.003168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17077803 [ RunTime:0.003815s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50034496 LIMIT 5 [ RunTime:0.001072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50034496 ORDER BY `minOrder` ASC [ RunTime:0.001038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50034496 ORDER BY `unit` DESC [ RunTime:0.002315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50034496 LIMIT 2 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50034496 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
select * from pdf where partno='TPS2057D' and brandshort='Texas Instruments' limit 1 [ RunTime:0.000656s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2057D' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000843s ]
SELECT `id` FROM `stock` WHERE `id` <> 50034496 AND `partno` = 'TPS2057D' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.001064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19090405 [ RunTime:0.000496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37233303 LIMIT 5 [ RunTime:0.000744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37233303 ORDER BY `minOrder` ASC [ RunTime:0.001294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37233303 ORDER BY `unit` DESC [ RunTime:0.002351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37233303 LIMIT 2 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37233303 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
select * from pdf where partno='TPS2057DG4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.000744s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2057DG4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000477s ]
SELECT `id` FROM `stock` WHERE `id` <> 37233303 AND `partno` = 'TPS2057DG4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16040074 [ RunTime:0.000596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37230656 LIMIT 5 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37230656 ORDER BY `minOrder` ASC [ RunTime:0.001132s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37230656 ORDER BY `unit` DESC [ RunTime:0.002981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37230656 LIMIT 2 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37230656 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='TPS2057DR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.000531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2057DR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000417s ]
SELECT `id` FROM `stock` WHERE `id` <> 37230656 AND `partno` = 'TPS2057DR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17077803 [ RunTime:0.000416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37230600 LIMIT 5 [ RunTime:0.000637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37230600 ORDER BY `minOrder` ASC [ RunTime:0.000870s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37230600 ORDER BY `unit` DESC [ RunTime:0.002372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37230600 LIMIT 2 [ RunTime:0.000693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37230600 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
select * from pdf where partno='TPS2057D' and brandshort='Texas Instruments' limit 1 [ RunTime:0.000606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2057D' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000438s ]
SELECT `id` FROM `stock` WHERE `id` <> 37230600 AND `partno` = 'TPS2057D' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19090405 [ RunTime:0.000417s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001406s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002575s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001172s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001128s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001266s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001493s ]
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 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001237s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'TPS2057D%' OR `brand` LIKE 'TPS2057D%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001125s ]