SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002452s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005965s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17364200 LIMIT 5 [ RunTime:0.001682s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17364200 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17364200 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000821s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17364200 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17364200 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17362251 LIMIT 5 [ RunTime:0.000792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17362251 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17362251 ORDER BY `unit` DESC [ RunTime:0.005728s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17362251 LIMIT 2 [ RunTime:0.002054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17362251 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15496318 LIMIT 5 [ RunTime:0.000898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15496318 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15496318 ORDER BY `unit` DESC [ RunTime:0.000196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15496318 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15496318 ORDER BY `minOrder` ASC [ RunTime:0.001911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12835033 LIMIT 5 [ RunTime:0.002113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12835033 ORDER BY `minOrder` ASC [ RunTime:0.004893s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12835033 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12835033 LIMIT 2 [ RunTime:0.001072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12835033 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004798s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58787459 LIMIT 5 [ RunTime:0.006144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58787459 ORDER BY `minOrder` ASC [ RunTime:0.002026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58787459 ORDER BY `unit` DESC [ RunTime:0.001597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58787459 LIMIT 2 [ RunTime:0.001069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58787459 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
select * from pdf where partno='ESC08DREN-S93' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.002992s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001634s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC08DREN-S93' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.002809s ]
SELECT `id` FROM `stock` WHERE `id` <> 58787459 AND `partno` = 'ESC08DREN-S93' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.002610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17364200 [ RunTime:0.006536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58785261 LIMIT 5 [ RunTime:0.000791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58785261 ORDER BY `minOrder` ASC [ RunTime:0.003011s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58785261 ORDER BY `unit` DESC [ RunTime:0.003745s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58785261 LIMIT 2 [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58785261 ORDER BY `minOrder` ASC [ RunTime:0.003007s ]
select * from pdf where partno='ESC08DREN-S734' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC08DREN-S734' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.002070s ]
SELECT `id` FROM `stock` WHERE `id` <> 58785261 AND `partno` = 'ESC08DREN-S734' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.006949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17362251 [ RunTime:0.003482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58751642 LIMIT 5 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58751642 ORDER BY `minOrder` ASC [ RunTime:0.006155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58751642 ORDER BY `unit` DESC [ RunTime:0.000837s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58751642 LIMIT 2 [ RunTime:0.005634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58751642 ORDER BY `minOrder` ASC [ RunTime:0.005163s ]
select * from pdf where partno='ESC08DREN-S13' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC08DREN-S13' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.000797s ]
SELECT `id` FROM `stock` WHERE `id` <> 58751642 AND `partno` = 'ESC08DREN-S13' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.010299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12835033 [ RunTime:0.003984s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58747371 LIMIT 5 [ RunTime:0.004142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58747371 ORDER BY `minOrder` ASC [ RunTime:0.002380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58747371 ORDER BY `unit` DESC [ RunTime:0.003198s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58747371 LIMIT 2 [ RunTime:0.005003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58747371 ORDER BY `minOrder` ASC [ RunTime:0.009837s ]
select * from pdf where partno='ESC08DREN' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.002931s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ESC08DREN' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.009067s ]
SELECT `id` FROM `stock` WHERE `id` <> 58747371 AND `partno` = 'ESC08DREN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.006809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15496318 [ RunTime:0.019959s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027902s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007693s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022504s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024579s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016917s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004296s ]
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 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012050s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ESC08DREN%' OR `brand` LIKE 'ESC08DREN%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009908s ]