SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002851s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006694s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16424585 LIMIT 5 [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16424585 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001057s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16424585 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16424585 LIMIT 2 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16424585 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14410989 LIMIT 5 [ RunTime:0.000908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14410989 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14410989 ORDER BY `unit` DESC [ RunTime:0.006481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14410989 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14410989 ORDER BY `minOrder` ASC [ RunTime:0.002146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14410984 LIMIT 5 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14410984 ORDER BY `minOrder` ASC [ RunTime:0.005360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14410984 ORDER BY `unit` DESC [ RunTime:0.006881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14410984 LIMIT 2 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14410984 ORDER BY `minOrder` ASC [ RunTime:0.002209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13540356 LIMIT 5 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13540356 ORDER BY `minOrder` ASC [ RunTime:0.003238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13540356 ORDER BY `unit` DESC [ RunTime:0.013630s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13540356 LIMIT 2 [ RunTime:0.016434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13540356 ORDER BY `minOrder` ASC [ RunTime:0.005246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13540246 LIMIT 5 [ RunTime:0.005747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13540246 ORDER BY `minOrder` ASC [ RunTime:0.009437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13540246 ORDER BY `unit` DESC [ RunTime:0.001985s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13540246 LIMIT 2 [ RunTime:0.005851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13540246 ORDER BY `minOrder` ASC [ RunTime:0.005959s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004400s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63478173 LIMIT 5 [ RunTime:0.006935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63478173 ORDER BY `minOrder` ASC [ RunTime:0.000669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63478173 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63478173 LIMIT 2 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63478173 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
select * from pdf where partno='PVCM228' and brandshort='Hoffman Enclosures, Inc.' limit 1 [ RunTime:0.004230s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PVCM228' OR `brand` LIKE 'Hoffman Enclosures, Inc.%' ) ) LIMIT 1 [ RunTime:0.004364s ]
SELECT `id` FROM `stock` WHERE `id` <> 63478173 AND `partno` = 'PVCM228' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hoffman enclosures, inc.%' ) [ RunTime:0.000564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16424585 [ RunTime:0.000426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63478059 LIMIT 5 [ RunTime:0.002006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63478059 ORDER BY `minOrder` ASC [ RunTime:0.001882s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63478059 ORDER BY `unit` DESC [ RunTime:0.005905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63478059 LIMIT 2 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63478059 ORDER BY `minOrder` ASC [ RunTime:0.000523s ]
select * from pdf where partno='PVCM227' and brandshort='Hoffman Enclosures, Inc.' limit 1 [ RunTime:0.001313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PVCM227' OR `brand` LIKE 'Hoffman Enclosures, Inc.%' ) ) LIMIT 1 [ RunTime:0.001520s ]
SELECT `id` FROM `stock` WHERE `id` <> 63478059 AND `partno` = 'PVCM227' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hoffman enclosures, inc.%' ) [ RunTime:0.003047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13540356 [ RunTime:0.000561s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63477986 LIMIT 5 [ RunTime:0.004510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63477986 ORDER BY `minOrder` ASC [ RunTime:0.000819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63477986 ORDER BY `unit` DESC [ RunTime:0.004692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63477986 LIMIT 2 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63477986 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='PVCM208' and brandshort='Hoffman Enclosures, Inc.' limit 1 [ RunTime:0.000860s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PVCM208' OR `brand` LIKE 'Hoffman Enclosures, Inc.%' ) ) LIMIT 1 [ RunTime:0.007323s ]
SELECT `id` FROM `stock` WHERE `id` <> 63477986 AND `partno` = 'PVCM208' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hoffman enclosures, inc.%' ) [ RunTime:0.004530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14410989 [ RunTime:0.001238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63477813 LIMIT 5 [ RunTime:0.000655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63477813 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63477813 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63477813 LIMIT 2 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63477813 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
select * from pdf where partno='PVCM207' and brandshort='Hoffman Enclosures, Inc.' limit 1 [ RunTime:0.000880s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PVCM207' OR `brand` LIKE 'Hoffman Enclosures, Inc.%' ) ) LIMIT 1 [ RunTime:0.000447s ]
SELECT `id` FROM `stock` WHERE `id` <> 63477813 AND `partno` = 'PVCM207' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hoffman enclosures, inc.%' ) [ RunTime:0.000458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14410984 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56268690 LIMIT 5 [ RunTime:0.000682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56268690 ORDER BY `minOrder` ASC [ RunTime:0.003058s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56268690 ORDER BY `unit` DESC [ RunTime:0.003698s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56268690 LIMIT 2 [ RunTime:0.000722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56268690 ORDER BY `minOrder` ASC [ RunTime:0.001863s ]
select * from pdf where partno='PVCM2' and brandshort='Hoffman Enclosures, Inc.' limit 1 [ RunTime:0.000585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PVCM2' OR `brand` LIKE 'Hoffman Enclosures, Inc.%' ) ) LIMIT 1 [ RunTime:0.000433s ]
SELECT `id` FROM `stock` WHERE `id` <> 56268690 AND `partno` = 'PVCM2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hoffman enclosures, inc.%' ) [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13540246 [ RunTime:0.000398s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001334s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002817s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001399s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002874s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005843s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002833s ]
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 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001384s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PVCM2%' OR `brand` LIKE 'PVCM2%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.008549s ]