SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002414s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004212s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15372991 LIMIT 5 [ RunTime:0.001385s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15372991 ORDER BY `minOrder` ASC [ RunTime:0.001455s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15372991 ORDER BY `unit` DESC [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15372991 LIMIT 2 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15372991 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000795s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50671951 LIMIT 5 [ RunTime:0.002359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50671951 ORDER BY `minOrder` ASC [ RunTime:0.000767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50671951 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50671951 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50671951 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
select * from pdf where partno='GNR10DCZ' and brandshort='Sensata-Crydom' limit 1 [ RunTime:0.000558s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001755s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR10DCZ' OR `brand` LIKE 'Sensata-Crydom%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT `id` FROM `stock` WHERE `id` <> 50671951 AND `partno` = 'GNR10DCZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sensata-crydom%' ) [ RunTime:0.000775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15372991 [ RunTime:0.000222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38028434 LIMIT 5 [ RunTime:0.001406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38028434 ORDER BY `minOrder` ASC [ RunTime:0.000864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38028434 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38028434 LIMIT 2 [ RunTime:0.000740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38028434 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='GNR10DCZ' and brandshort='Sensata-Crydom' limit 1 [ RunTime:0.000494s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR10DCZ' OR `brand` LIKE 'Sensata-Crydom%' ) ) LIMIT 1 [ RunTime:0.001079s ]
SELECT `id` FROM `stock` WHERE `id` <> 38028434 AND `partno` = 'GNR10DCZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sensata-crydom%' ) [ RunTime:0.000630s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15372991 [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50671967 LIMIT 5 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50671967 ORDER BY `minOrder` ASC [ RunTime:0.002106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50671967 ORDER BY `unit` DESC [ RunTime:0.001211s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50671967 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50671967 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='GNR10DCZ' and brandshort='Sensata-Crydom' limit 1 [ RunTime:0.000441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR10DCZ' OR `brand` LIKE 'Sensata-Crydom%' ) ) LIMIT 1 [ RunTime:0.000223s ]
SELECT `id` FROM `stock` WHERE `id` <> 50671967 AND `partno` = 'GNR10DCZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sensata-crydom%' ) [ RunTime:0.000756s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15372991 [ RunTime:0.001053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38028497 LIMIT 5 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38028497 ORDER BY `minOrder` ASC [ RunTime:0.004705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38028497 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38028497 LIMIT 2 [ RunTime:0.001837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38028497 ORDER BY `minOrder` ASC [ RunTime:0.000626s ]
select * from pdf where partno='GNR10DCZ' and brandshort='Sensata-Crydom' limit 1 [ RunTime:0.001696s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GNR10DCZ' OR `brand` LIKE 'Sensata-Crydom%' ) ) LIMIT 1 [ RunTime:0.000882s ]
SELECT `id` FROM `stock` WHERE `id` <> 38028497 AND `partno` = 'GNR10DCZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sensata-crydom%' ) [ RunTime:0.000651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15372991 [ RunTime:0.000241s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000794s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001386s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002202s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000615s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000804s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000699s ]
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 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001269s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GNR10DCZ%' OR `brand` LIKE 'GNR10DCZ%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000837s ]