SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002388s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009584s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12858176 LIMIT 5 [ RunTime:0.019003s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12858176 ORDER BY `minOrder` ASC [ RunTime:0.004617s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.017722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12858176 ORDER BY `unit` DESC [ RunTime:0.012697s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12858176 LIMIT 2 [ RunTime:0.002271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12858176 ORDER BY `minOrder` ASC [ RunTime:0.007628s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12824673 LIMIT 5 [ RunTime:0.017043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12824673 ORDER BY `minOrder` ASC [ RunTime:0.021846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12824673 ORDER BY `unit` DESC [ RunTime:0.006987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12824673 LIMIT 2 [ RunTime:0.020358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12824673 ORDER BY `minOrder` ASC [ RunTime:0.008774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12819885 LIMIT 5 [ RunTime:0.007351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12819885 ORDER BY `minOrder` ASC [ RunTime:0.010869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12819885 ORDER BY `unit` DESC [ RunTime:0.043438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12819885 LIMIT 2 [ RunTime:0.049043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12819885 ORDER BY `minOrder` ASC [ RunTime:0.018391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11663442 LIMIT 5 [ RunTime:0.016522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11663442 ORDER BY `minOrder` ASC [ RunTime:0.032559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11663442 ORDER BY `unit` DESC [ RunTime:0.012989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11663442 LIMIT 2 [ RunTime:0.040245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11663442 ORDER BY `minOrder` ASC [ RunTime:0.023841s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053925s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011642s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58862217 LIMIT 5 [ RunTime:0.018766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58862217 ORDER BY `minOrder` ASC [ RunTime:0.008340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58862217 ORDER BY `unit` DESC [ RunTime:0.010699s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58862217 LIMIT 2 [ RunTime:0.010767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58862217 ORDER BY `minOrder` ASC [ RunTime:0.005735s ]
select * from pdf where partno='GEM15DTBT-S273' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.004739s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM15DTBT-S273' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.003565s ]
SELECT `id` FROM `stock` WHERE `id` <> 58862217 AND `partno` = 'GEM15DTBT-S273' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.004027s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12824673 [ RunTime:0.017388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58852587 LIMIT 5 [ RunTime:0.005154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58852587 ORDER BY `minOrder` ASC [ RunTime:0.006767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58852587 ORDER BY `unit` DESC [ RunTime:0.005347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58852587 LIMIT 2 [ RunTime:0.016326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58852587 ORDER BY `minOrder` ASC [ RunTime:0.002696s ]
select * from pdf where partno='GEM15DTBT-S664' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.015182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM15DTBT-S664' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.001278s ]
SELECT `id` FROM `stock` WHERE `id` <> 58852587 AND `partno` = 'GEM15DTBT-S664' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.001063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12819885 [ RunTime:0.004571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58773093 LIMIT 5 [ RunTime:0.010004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58773093 ORDER BY `minOrder` ASC [ RunTime:0.013935s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58773093 ORDER BY `unit` DESC [ RunTime:0.023497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58773093 LIMIT 2 [ RunTime:0.003644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58773093 ORDER BY `minOrder` ASC [ RunTime:0.003155s ]
select * from pdf where partno='GEM15DTBT-S189' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.001649s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM15DTBT-S189' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.007728s ]
SELECT `id` FROM `stock` WHERE `id` <> 58773093 AND `partno` = 'GEM15DTBT-S189' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.005457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11663442 [ RunTime:0.003028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58768372 LIMIT 5 [ RunTime:0.000762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58768372 ORDER BY `minOrder` ASC [ RunTime:0.006071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58768372 ORDER BY `unit` DESC [ RunTime:0.003079s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58768372 LIMIT 2 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58768372 ORDER BY `minOrder` ASC [ RunTime:0.001016s ]
select * from pdf where partno='GEM15DTBT' and brandshort='Sullins Connector Solutions' limit 1 [ RunTime:0.003355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GEM15DTBT' OR `brand` LIKE 'Sullins Connector Solutions%' ) ) LIMIT 1 [ RunTime:0.001755s ]
SELECT `id` FROM `stock` WHERE `id` <> 58768372 AND `partno` = 'GEM15DTBT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sullins connector solutions%' ) [ RunTime:0.006698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12858176 [ RunTime:0.015787s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003997s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006797s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002942s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001236s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001001s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005415s ]
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 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001865s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GEM15DTBT%' OR `brand` LIKE 'GEM15DTBT%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000782s ]