SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002155s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003494s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138539 LIMIT 5 [ RunTime:0.000723s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138539 ORDER BY `minOrder` ASC [ RunTime:0.003946s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16138539 ORDER BY `unit` DESC [ RunTime:0.000765s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001003s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16138539 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138539 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17135963 LIMIT 5 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17135963 ORDER BY `minOrder` ASC [ RunTime:0.002016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17135963 ORDER BY `unit` DESC [ RunTime:0.000798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17135963 LIMIT 2 [ RunTime:0.000948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17135963 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17136408 LIMIT 5 [ RunTime:0.003525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17136408 ORDER BY `minOrder` ASC [ RunTime:0.001316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17136408 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17136408 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17136408 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17135156 LIMIT 5 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17135156 ORDER BY `minOrder` ASC [ RunTime:0.001428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17135156 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17135156 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17135156 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17135126 LIMIT 5 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17135126 ORDER BY `minOrder` ASC [ RunTime:0.012664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17135126 ORDER BY `unit` DESC [ RunTime:0.010405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17135126 LIMIT 2 [ RunTime:0.002093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17135126 ORDER BY `minOrder` ASC [ RunTime:0.002318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17134290 LIMIT 5 [ RunTime:0.009831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17134290 ORDER BY `minOrder` ASC [ RunTime:0.007836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17134290 ORDER BY `unit` DESC [ RunTime:0.005246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17134290 LIMIT 2 [ RunTime:0.000816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17134290 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17134289 LIMIT 5 [ RunTime:0.003259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17134289 ORDER BY `minOrder` ASC [ RunTime:0.002207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17134289 ORDER BY `unit` DESC [ RunTime:0.002147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17134289 LIMIT 2 [ RunTime:0.004933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17134289 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138619 LIMIT 5 [ RunTime:0.001525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138619 ORDER BY `minOrder` ASC [ RunTime:0.003494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16138619 ORDER BY `unit` DESC [ RunTime:0.000771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16138619 LIMIT 2 [ RunTime:0.002867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138619 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138538 LIMIT 5 [ RunTime:0.003431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138538 ORDER BY `minOrder` ASC [ RunTime:0.001427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16138538 ORDER BY `unit` DESC [ RunTime:0.008315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16138538 LIMIT 2 [ RunTime:0.007247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138538 ORDER BY `minOrder` ASC [ RunTime:0.000675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138537 LIMIT 5 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138537 ORDER BY `minOrder` ASC [ RunTime:0.002047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16138537 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16138537 LIMIT 2 [ RunTime:0.001070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16138537 ORDER BY `minOrder` ASC [ RunTime:0.001815s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16136893 LIMIT 5 [ RunTime:0.000791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16136893 ORDER BY `minOrder` ASC [ RunTime:0.008678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16136893 ORDER BY `unit` DESC [ RunTime:0.003971s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16136893 LIMIT 2 [ RunTime:0.013966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16136893 ORDER BY `minOrder` ASC [ RunTime:0.005025s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001165s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63758337 LIMIT 5 [ RunTime:0.002148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758337 ORDER BY `minOrder` ASC [ RunTime:0.013712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63758337 ORDER BY `unit` DESC [ RunTime:0.010905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63758337 LIMIT 2 [ RunTime:0.012095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758337 ORDER BY `minOrder` ASC [ RunTime:0.002904s ]
select * from pdf where partno='ADS7817UB-BB' and brandshort='Burr Brown' limit 1 [ RunTime:0.004361s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817UB-BB' OR `brand` LIKE 'Burr Brown%' ) ) LIMIT 1 [ RunTime:0.001126s ]
SELECT `id` FROM `stock` WHERE `id` <> 63758337 AND `partno` = 'ADS7817UB-BB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%burr brown%' ) [ RunTime:0.013990s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138539 [ RunTime:0.006140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63759593 LIMIT 5 [ RunTime:0.015496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63759593 ORDER BY `minOrder` ASC [ RunTime:0.010360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63759593 ORDER BY `unit` DESC [ RunTime:0.029250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63759593 LIMIT 2 [ RunTime:0.009804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63759593 ORDER BY `minOrder` ASC [ RunTime:0.006224s ]
select * from pdf where partno='ADS7817UC' and brandshort='Burr Brown' limit 1 [ RunTime:0.005449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817UC' OR `brand` LIKE 'Burr Brown%' ) ) LIMIT 1 [ RunTime:0.000965s ]
SELECT `id` FROM `stock` WHERE `id` <> 63759593 AND `partno` = 'ADS7817UC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%burr brown%' ) [ RunTime:0.014269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17135963 [ RunTime:0.007791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63760900 LIMIT 5 [ RunTime:0.003045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63760900 ORDER BY `minOrder` ASC [ RunTime:0.014740s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63760900 ORDER BY `unit` DESC [ RunTime:0.004452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63760900 LIMIT 2 [ RunTime:0.011076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63760900 ORDER BY `minOrder` ASC [ RunTime:0.001633s ]
select * from pdf where partno='ADS7817UB/2K5' and brandshort='Texas Instruments' limit 1 [ RunTime:0.009744s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817UB/2K5' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.003906s ]
SELECT `id` FROM `stock` WHERE `id` <> 63760900 AND `partno` = 'ADS7817UB/2K5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.003429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17136408 [ RunTime:0.002290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63758365 LIMIT 5 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758365 ORDER BY `minOrder` ASC [ RunTime:0.012965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63758365 ORDER BY `unit` DESC [ RunTime:0.014098s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63758365 LIMIT 2 [ RunTime:0.000947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758365 ORDER BY `minOrder` ASC [ RunTime:0.006752s ]
select * from pdf where partno='ADS7817U' and brandshort='Texas Instruments' limit 1 [ RunTime:0.009441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817U' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.001357s ]
SELECT `id` FROM `stock` WHERE `id` <> 63758365 AND `partno` = 'ADS7817U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.009051s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138619 [ RunTime:0.017325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63758335 LIMIT 5 [ RunTime:0.000930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758335 ORDER BY `minOrder` ASC [ RunTime:0.009001s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63758335 ORDER BY `unit` DESC [ RunTime:0.008488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63758335 LIMIT 2 [ RunTime:0.012151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758335 ORDER BY `minOrder` ASC [ RunTime:0.012617s ]
select * from pdf where partno='ADS7817UB' and brandshort='Texas Instruments' limit 1 [ RunTime:0.013421s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817UB' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.016155s ]
SELECT `id` FROM `stock` WHERE `id` <> 63758335 AND `partno` = 'ADS7817UB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.014509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138538 [ RunTime:0.000826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63758334 LIMIT 5 [ RunTime:0.008199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758334 ORDER BY `minOrder` ASC [ RunTime:0.015241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63758334 ORDER BY `unit` DESC [ RunTime:0.024761s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63758334 LIMIT 2 [ RunTime:0.017732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758334 ORDER BY `minOrder` ASC [ RunTime:0.031058s ]
select * from pdf where partno='ADS7817U/2K5' and brandshort='Texas Instruments' limit 1 [ RunTime:0.029976s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817U/2K5' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.006999s ]
SELECT `id` FROM `stock` WHERE `id` <> 63758334 AND `partno` = 'ADS7817U/2K5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.015724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16138537 [ RunTime:0.045528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63758300 LIMIT 5 [ RunTime:0.031268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758300 ORDER BY `minOrder` ASC [ RunTime:0.016314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63758300 ORDER BY `unit` DESC [ RunTime:0.015598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63758300 LIMIT 2 [ RunTime:0.018859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758300 ORDER BY `minOrder` ASC [ RunTime:0.009556s ]
select * from pdf where partno='ADS7817UC' and brandshort='Texas Instruments' limit 1 [ RunTime:0.009572s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817UC' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.005316s ]
SELECT `id` FROM `stock` WHERE `id` <> 63758300 AND `partno` = 'ADS7817UC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000954s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17135126 [ RunTime:0.001884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63758266 LIMIT 5 [ RunTime:0.008583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758266 ORDER BY `minOrder` ASC [ RunTime:0.001895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63758266 ORDER BY `unit` DESC [ RunTime:0.007586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63758266 LIMIT 2 [ RunTime:0.004108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63758266 ORDER BY `minOrder` ASC [ RunTime:0.005002s ]
select * from pdf where partno='ADS7817UC/2K5' and brandshort='Texas Instruments' limit 1 [ RunTime:0.030118s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ADS7817UC/2K5' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.007222s ]
SELECT `id` FROM `stock` WHERE `id` <> 63758266 AND `partno` = 'ADS7817UC/2K5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.012371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17135156 [ RunTime:0.007411s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017808s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008822s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005484s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012242s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004990s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042474s ]
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 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004091s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ADS7817U%' OR `brand` LIKE 'ADS7817U%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001312s ]