SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002310s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003571s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19939677 LIMIT 5 [ RunTime:0.003845s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19939677 ORDER BY `minOrder` ASC [ RunTime:0.007148s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001208s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19939677 ORDER BY `unit` DESC [ RunTime:0.000565s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19939677 LIMIT 2 [ RunTime:0.003288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19939677 ORDER BY `minOrder` ASC [ RunTime:0.007479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19938608 LIMIT 5 [ RunTime:0.002032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19938608 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19938608 ORDER BY `unit` DESC [ RunTime:0.033891s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19938608 LIMIT 2 [ RunTime:0.002036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19938608 ORDER BY `minOrder` ASC [ RunTime:0.016592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19902732 LIMIT 5 [ RunTime:0.021694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19902732 ORDER BY `minOrder` ASC [ RunTime:0.039283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19902732 ORDER BY `unit` DESC [ RunTime:0.096253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19902732 LIMIT 2 [ RunTime:0.023988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19902732 ORDER BY `minOrder` ASC [ RunTime:0.019409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19896573 LIMIT 5 [ RunTime:0.019689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19896573 ORDER BY `minOrder` ASC [ RunTime:0.008730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19896573 ORDER BY `unit` DESC [ RunTime:0.023863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19896573 LIMIT 2 [ RunTime:0.014709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19896573 ORDER BY `minOrder` ASC [ RunTime:0.055165s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030886s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52158108 LIMIT 5 [ RunTime:0.015797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52158108 ORDER BY `minOrder` ASC [ RunTime:0.025279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52158108 ORDER BY `unit` DESC [ RunTime:0.022043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52158108 LIMIT 2 [ RunTime:0.031344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52158108 ORDER BY `minOrder` ASC [ RunTime:0.008159s ]
select * from pdf where partno='GMC36DRES-S93' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.007728s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GMC36DRES-S93' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.013429s ]
SELECT `id` FROM `stock` WHERE `id` <> 52158108 AND `partno` = 'GMC36DRES-S93' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.013209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19939677 [ RunTime:0.004318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52155232 LIMIT 5 [ RunTime:0.011736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52155232 ORDER BY `minOrder` ASC [ RunTime:0.020325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52155232 ORDER BY `unit` DESC [ RunTime:0.043990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52155232 LIMIT 2 [ RunTime:0.018210s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52155232 ORDER BY `minOrder` ASC [ RunTime:0.000626s ]
select * from pdf where partno='GMC36DRES-S734' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.028986s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GMC36DRES-S734' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.032654s ]
SELECT `id` FROM `stock` WHERE `id` <> 52155232 AND `partno` = 'GMC36DRES-S734' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.012763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19938608 [ RunTime:0.014291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52105459 LIMIT 5 [ RunTime:0.017971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52105459 ORDER BY `minOrder` ASC [ RunTime:0.025836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52105459 ORDER BY `unit` DESC [ RunTime:0.004711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52105459 LIMIT 2 [ RunTime:0.010978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52105459 ORDER BY `minOrder` ASC [ RunTime:0.017181s ]
select * from pdf where partno='GMC36DRES-S13' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.007466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GMC36DRES-S13' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.002998s ]
SELECT `id` FROM `stock` WHERE `id` <> 52105459 AND `partno` = 'GMC36DRES-S13' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.005537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19902732 [ RunTime:0.009452s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52078271 LIMIT 5 [ RunTime:0.011251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52078271 ORDER BY `minOrder` ASC [ RunTime:0.008039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52078271 ORDER BY `unit` DESC [ RunTime:0.008439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52078271 LIMIT 2 [ RunTime:0.008723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52078271 ORDER BY `minOrder` ASC [ RunTime:0.009114s ]
select * from pdf where partno='GMC36DRES' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.009893s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GMC36DRES' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.005596s ]
SELECT `id` FROM `stock` WHERE `id` <> 52078271 AND `partno` = 'GMC36DRES' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.008805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19896573 [ RunTime:0.010247s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007052s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021241s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023639s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012103s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017995s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033195s ]
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 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002999s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GMC36DRES%' OR `brand` LIKE 'GMC36DRES%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003504s ]