SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001361s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010025s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20052402 LIMIT 5 [ RunTime:0.009908s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20052402 ORDER BY `minOrder` ASC [ RunTime:0.009777s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20052402 ORDER BY `unit` DESC [ RunTime:0.002456s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002093s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20052402 LIMIT 2 [ RunTime:0.011610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20052402 ORDER BY `minOrder` ASC [ RunTime:0.013727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20050719 LIMIT 5 [ RunTime:0.007617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20050719 ORDER BY `minOrder` ASC [ RunTime:0.002895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20050719 ORDER BY `unit` DESC [ RunTime:0.011394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20050719 LIMIT 2 [ RunTime:0.003219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20050719 ORDER BY `minOrder` ASC [ RunTime:0.002226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16348581 LIMIT 5 [ RunTime:0.007757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16348581 ORDER BY `minOrder` ASC [ RunTime:0.042579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16348581 ORDER BY `unit` DESC [ RunTime:0.011089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16348581 LIMIT 2 [ RunTime:0.015247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16348581 ORDER BY `minOrder` ASC [ RunTime:0.009952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16325471 LIMIT 5 [ RunTime:0.014409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16325471 ORDER BY `minOrder` ASC [ RunTime:0.007821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16325471 ORDER BY `unit` DESC [ RunTime:0.017382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16325471 LIMIT 2 [ RunTime:0.021850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16325471 ORDER BY `minOrder` ASC [ RunTime:0.001284s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021465s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51925099 LIMIT 5 [ RunTime:0.025371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51925099 ORDER BY `minOrder` ASC [ RunTime:0.001900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51925099 ORDER BY `unit` DESC [ RunTime:0.002123s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51925099 LIMIT 2 [ RunTime:0.015724s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51925099 ORDER BY `minOrder` ASC [ RunTime:0.000650s ]
select * from pdf where partno='GEM08DRMN-S273' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.002026s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM08DRMN-S273' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT `id` FROM `stock` WHERE `id` <> 51925099 AND `partno` = 'GEM08DRMN-S273' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.016894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20052402 [ RunTime:0.005413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51922363 LIMIT 5 [ RunTime:0.005378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51922363 ORDER BY `minOrder` ASC [ RunTime:0.042549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51922363 ORDER BY `unit` DESC [ RunTime:0.008150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51922363 LIMIT 2 [ RunTime:0.008244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51922363 ORDER BY `minOrder` ASC [ RunTime:0.018342s ]
select * from pdf where partno='GEM08DRMN-S664' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.016725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM08DRMN-S664' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.051720s ]
SELECT `id` FROM `stock` WHERE `id` <> 51922363 AND `partno` = 'GEM08DRMN-S664' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.031435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20050719 [ RunTime:0.007153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51875362 LIMIT 5 [ RunTime:0.044996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51875362 ORDER BY `minOrder` ASC [ RunTime:0.034543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51875362 ORDER BY `unit` DESC [ RunTime:0.007411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51875362 LIMIT 2 [ RunTime:0.030079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51875362 ORDER BY `minOrder` ASC [ RunTime:0.020148s ]
select * from pdf where partno='GEM08DRMN-S288' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.008695s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM08DRMN-S288' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.003783s ]
SELECT `id` FROM `stock` WHERE `id` <> 51875362 AND `partno` = 'GEM08DRMN-S288' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.019453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16348581 [ RunTime:0.016391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51872843 LIMIT 5 [ RunTime:0.034521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51872843 ORDER BY `minOrder` ASC [ RunTime:0.024937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51872843 ORDER BY `unit` DESC [ RunTime:0.014192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51872843 LIMIT 2 [ RunTime:0.043628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51872843 ORDER BY `minOrder` ASC [ RunTime:0.019534s ]
select * from pdf where partno='GEM08DRMN' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM08DRMN' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.008639s ]
SELECT `id` FROM `stock` WHERE `id` <> 51872843 AND `partno` = 'GEM08DRMN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.056564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16325471 [ RunTime:0.002597s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030388s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067207s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098045s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019587s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089010s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068437s ]
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 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.073661s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GEM08DRMN%' OR `brand` LIKE 'GEM08DRMN%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.085857s ]