SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002647s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014040s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986095 LIMIT 5 [ RunTime:0.018052s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11986095 ORDER BY `minOrder` ASC [ RunTime:0.016477s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11986095 ORDER BY `unit` DESC [ RunTime:0.016084s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11986095 LIMIT 2 [ RunTime:0.020225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11986095 ORDER BY `minOrder` ASC [ RunTime:0.010605s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986504 LIMIT 5 [ RunTime:0.021319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11986504 ORDER BY `minOrder` ASC [ RunTime:0.017738s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11986504 ORDER BY `unit` DESC [ RunTime:0.024029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11986504 LIMIT 2 [ RunTime:0.009035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11986504 ORDER BY `minOrder` ASC [ RunTime:0.010419s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51115110 LIMIT 5 [ RunTime:0.049839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51115110 ORDER BY `minOrder` ASC [ RunTime:0.048344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51115110 ORDER BY `unit` DESC [ RunTime:0.040008s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51115110 LIMIT 2 [ RunTime:0.067331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51115110 ORDER BY `minOrder` ASC [ RunTime:0.026897s ]
select * from pdf where partno='w1991' and brandshort='pulse electronics' limit 1 [ RunTime:0.028765s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002913s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'w1991' OR `brand` LIKE 'pulse electronics%' ) ) LIMIT 1 [ RunTime:0.040910s ]
SELECT `id` FROM `stock` WHERE `id` <> 51115110 AND `partno` = 'w1991' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pulse electronics%' ) [ RunTime:0.046169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986504 [ RunTime:0.030280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32304623 LIMIT 5 [ RunTime:0.049178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32304623 ORDER BY `minOrder` ASC [ RunTime:0.104905s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32304623 ORDER BY `unit` DESC [ RunTime:0.038842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32304623 LIMIT 2 [ RunTime:0.026775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32304623 ORDER BY `minOrder` ASC [ RunTime:0.009402s ]
select * from pdf where partno='w1991' and brandshort='pulse electronics' limit 1 [ RunTime:0.005301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'w1991' OR `brand` LIKE 'pulse electronics%' ) ) LIMIT 1 [ RunTime:0.005756s ]
SELECT `id` FROM `stock` WHERE `id` <> 32304623 AND `partno` = 'w1991' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pulse electronics%' ) [ RunTime:0.041972s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986504 [ RunTime:0.021362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32296411 LIMIT 5 [ RunTime:0.000805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32296411 ORDER BY `minOrder` ASC [ RunTime:0.031162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32296411 ORDER BY `unit` DESC [ RunTime:0.031985s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32296411 LIMIT 2 [ RunTime:0.029081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32296411 ORDER BY `minOrder` ASC [ RunTime:0.012893s ]
select * from pdf where partno='w1991' and brandshort='pulse electronics' limit 1 [ RunTime:0.008306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'w1991' OR `brand` LIKE 'pulse electronics%' ) ) LIMIT 1 [ RunTime:0.016234s ]
SELECT `id` FROM `stock` WHERE `id` <> 32296411 AND `partno` = 'w1991' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pulse electronics%' ) [ RunTime:0.005231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986504 [ RunTime:0.017780s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64225844 LIMIT 5 [ RunTime:0.015037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64225844 ORDER BY `minOrder` ASC [ RunTime:0.019984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64225844 ORDER BY `unit` DESC [ RunTime:0.006811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64225844 LIMIT 2 [ RunTime:0.020989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64225844 ORDER BY `minOrder` ASC [ RunTime:0.014596s ]
select * from pdf where partno='W1991AV' and brandshort='Yageo America' limit 1 [ RunTime:0.005514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'W1991AV' OR `brand` LIKE 'Yageo America%' ) ) LIMIT 1 [ RunTime:0.016073s ]
SELECT `id` FROM `stock` WHERE `id` <> 64225844 AND `partno` = 'W1991AV' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%yageo america%' ) [ RunTime:0.005683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986095 [ RunTime:0.001792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64228003 LIMIT 5 [ RunTime:0.005269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64228003 ORDER BY `minOrder` ASC [ RunTime:0.003955s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64228003 ORDER BY `unit` DESC [ RunTime:0.006097s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64228003 LIMIT 2 [ RunTime:0.008031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64228003 ORDER BY `minOrder` ASC [ RunTime:0.003935s ]
select * from pdf where partno='W1991' and brandshort='Pulse Electronics' limit 1 [ RunTime:0.000919s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'W1991' OR `brand` LIKE 'Pulse Electronics%' ) ) LIMIT 1 [ RunTime:0.000746s ]
SELECT `id` FROM `stock` WHERE `id` <> 64228003 AND `partno` = 'W1991' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pulse electronics%' ) [ RunTime:0.000835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986504 [ RunTime:0.000283s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002405s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000493s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002088s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000516s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000841s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000831s ]
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 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004802s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'W1991%' OR `brand` LIKE 'W1991%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000865s ]