SHOW FULL COLUMNS FROM `stock` [ 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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000867s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000599s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001056s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627163 LIMIT 5 [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627163 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627163 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000942s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627163 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627163 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='MT2/V-661-670' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-661-670' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000579s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627163 AND `partno` = 'MT2/V-661-670' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000553s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627162 LIMIT 5 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627162 ORDER BY `minOrder` ASC [ RunTime:0.000725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627162 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627162 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627162 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='MT2/V-651-660' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000499s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-651-660' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627162 AND `partno` = 'MT2/V-651-660' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627161 LIMIT 5 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627161 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627161 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627161 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627161 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='MT2/V-641-650' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-641-650' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000387s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627161 AND `partno` = 'MT2/V-641-650' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627160 LIMIT 5 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627160 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627160 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627160 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627160 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='MT2/V-631-640' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-631-640' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000425s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627160 AND `partno` = 'MT2/V-631-640' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627159 LIMIT 5 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627159 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627159 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627159 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627159 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='MT2/V-621-630' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-621-630' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000458s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627159 AND `partno` = 'MT2/V-621-630' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627158 LIMIT 5 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627158 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627158 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627158 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627158 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
select * from pdf where partno='MT2/V-61-70' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-61-70' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000436s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627158 AND `partno` = 'MT2/V-61-70' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627157 LIMIT 5 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627157 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627157 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627157 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627157 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
select * from pdf where partno='MT2/V-611-620' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-611-620' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000453s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627157 AND `partno` = 'MT2/V-611-620' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627156 LIMIT 5 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627156 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627156 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627156 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627156 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
select * from pdf where partno='MT2/V-601-610' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000423s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-601-610' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000546s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627156 AND `partno` = 'MT2/V-601-610' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60627155 LIMIT 5 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627155 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60627155 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60627155 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60627155 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='MT2/V-6' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000563s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT2/V-6' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000364s ]
SELECT `id` FROM `stock` WHERE `id` <> 60627155 AND `partno` = 'MT2/V-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000368s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000643s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000572s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000548s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000541s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000551s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000451s ]
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 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000501s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MT2/V-6%' OR `brand` LIKE 'MT2/V-6%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000422s ]