SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001458s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037692s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20041437 LIMIT 5 [ RunTime:0.021348s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20041437 ORDER BY `minOrder` ASC [ RunTime:0.025516s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20041437 ORDER BY `unit` DESC [ RunTime:0.022347s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20041437 LIMIT 2 [ RunTime:0.017789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20041437 ORDER BY `minOrder` ASC [ RunTime:0.028593s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15541241 LIMIT 5 [ RunTime:0.028410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15541241 ORDER BY `minOrder` ASC [ RunTime:0.011869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15541241 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15541241 LIMIT 2 [ RunTime:0.028598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15541241 ORDER BY `minOrder` ASC [ RunTime:0.008404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12817475 LIMIT 5 [ RunTime:0.017359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12817475 ORDER BY `minOrder` ASC [ RunTime:0.016369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12817475 ORDER BY `unit` DESC [ RunTime:0.003955s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12817475 LIMIT 2 [ RunTime:0.018318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12817475 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11629759 LIMIT 5 [ RunTime:0.014262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11629759 ORDER BY `minOrder` ASC [ RunTime:0.010140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11629759 ORDER BY `unit` DESC [ RunTime:0.005677s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11629759 LIMIT 2 [ RunTime:0.027132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11629759 ORDER BY `minOrder` ASC [ RunTime:0.016828s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016718s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58851829 LIMIT 5 [ RunTime:0.030968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58851829 ORDER BY `minOrder` ASC [ RunTime:0.036824s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58851829 ORDER BY `unit` DESC [ RunTime:0.021625s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58851829 LIMIT 2 [ RunTime:0.007862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58851829 ORDER BY `minOrder` ASC [ RunTime:0.030260s ]
select * from pdf where partno='ESC17DREN-S93' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.019645s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC17DREN-S93' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.010510s ]
SELECT `id` FROM `stock` WHERE `id` <> 58851829 AND `partno` = 'ESC17DREN-S93' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.020033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11629759 [ RunTime:0.004084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58848121 LIMIT 5 [ RunTime:0.015649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58848121 ORDER BY `minOrder` ASC [ RunTime:0.003070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58848121 ORDER BY `unit` DESC [ RunTime:0.007011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58848121 LIMIT 2 [ RunTime:0.001488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58848121 ORDER BY `minOrder` ASC [ RunTime:0.000630s ]
select * from pdf where partno='ESC17DREN-S734' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001852s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC17DREN-S734' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.000842s ]
SELECT `id` FROM `stock` WHERE `id` <> 58848121 AND `partno` = 'ESC17DREN-S734' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.010894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12817475 [ RunTime:0.015545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58796412 LIMIT 5 [ RunTime:0.014379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58796412 ORDER BY `minOrder` ASC [ RunTime:0.004374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58796412 ORDER BY `unit` DESC [ RunTime:0.004267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58796412 LIMIT 2 [ RunTime:0.011493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58796412 ORDER BY `minOrder` ASC [ RunTime:0.001246s ]
select * from pdf where partno='ESC17DREN-S13' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.022297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC17DREN-S13' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.005105s ]
SELECT `id` FROM `stock` WHERE `id` <> 58796412 AND `partno` = 'ESC17DREN-S13' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.000992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15541241 [ RunTime:0.001307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58788572 LIMIT 5 [ RunTime:0.004574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58788572 ORDER BY `minOrder` ASC [ RunTime:0.003048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58788572 ORDER BY `unit` DESC [ RunTime:0.026279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58788572 LIMIT 2 [ RunTime:0.008566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58788572 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
select * from pdf where partno='ESC17DREN' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.007523s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC17DREN' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.017099s ]
SELECT `id` FROM `stock` WHERE `id` <> 58788572 AND `partno` = 'ESC17DREN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.014490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20041437 [ RunTime:0.012047s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024705s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006195s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005488s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013809s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030205s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019412s ]
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 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034132s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ESC17DREN%' OR `brand` LIKE 'ESC17DREN%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.027300s ]