SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002704s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033609s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19024237 LIMIT 5 [ RunTime:0.033827s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19024237 ORDER BY `minOrder` ASC [ RunTime:0.061487s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19024237 ORDER BY `unit` DESC [ RunTime:0.012912s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19024237 LIMIT 2 [ RunTime:0.061010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19024237 ORDER BY `minOrder` ASC [ RunTime:0.032260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19023823 LIMIT 5 [ RunTime:0.065842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19023823 ORDER BY `minOrder` ASC [ RunTime:0.025392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19023823 ORDER BY `unit` DESC [ RunTime:0.023153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19023823 LIMIT 2 [ RunTime:0.051925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19023823 ORDER BY `minOrder` ASC [ RunTime:0.014499s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32224465 LIMIT 5 [ RunTime:0.051303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32224465 ORDER BY `minOrder` ASC [ RunTime:0.039176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32224465 ORDER BY `unit` DESC [ RunTime:0.037292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32224465 LIMIT 2 [ RunTime:0.015345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32224465 ORDER BY `minOrder` ASC [ RunTime:0.020203s ]
select * from pdf where partno='an-1308-ab' and brandshort='bud industries' limit 1 [ RunTime:0.030488s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002523s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1308-ab' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.042731s ]
SELECT `id` FROM `stock` WHERE `id` <> 32224465 AND `partno` = 'an-1308-ab' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.034818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19024237 [ RunTime:0.045316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223884 LIMIT 5 [ RunTime:0.059576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223884 ORDER BY `minOrder` ASC [ RunTime:0.030633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223884 ORDER BY `unit` DESC [ RunTime:0.008686s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223884 LIMIT 2 [ RunTime:0.022700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223884 ORDER BY `minOrder` ASC [ RunTime:0.020485s ]
select * from pdf where partno='an-1308-a' and brandshort='bud industries' limit 1 [ RunTime:0.004683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1308-a' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.009344s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223884 AND `partno` = 'an-1308-a' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.038899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19023823 [ RunTime:0.016292s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018136s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49621435 LIMIT 5 [ RunTime:0.025421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49621435 ORDER BY `minOrder` ASC [ RunTime:0.040718s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49621435 ORDER BY `unit` DESC [ RunTime:0.024881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49621435 LIMIT 2 [ RunTime:0.015565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49621435 ORDER BY `minOrder` ASC [ RunTime:0.043479s ]
select * from pdf where partno='AN-1308-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.024306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1308-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.039014s ]
SELECT `id` FROM `stock` WHERE `id` <> 49621435 AND `partno` = 'AN-1308-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.047418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19024237 [ RunTime:0.019330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49620949 LIMIT 5 [ RunTime:0.014386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49620949 ORDER BY `minOrder` ASC [ RunTime:0.025769s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49620949 ORDER BY `unit` DESC [ RunTime:0.019572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49620949 LIMIT 2 [ RunTime:0.033966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49620949 ORDER BY `minOrder` ASC [ RunTime:0.023819s ]
select * from pdf where partno='AN-1308-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.000971s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1308-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.003724s ]
SELECT `id` FROM `stock` WHERE `id` <> 49620949 AND `partno` = 'AN-1308-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.011390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19023823 [ RunTime:0.000680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36814559 LIMIT 5 [ RunTime:0.011185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36814559 ORDER BY `minOrder` ASC [ RunTime:0.004071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36814559 ORDER BY `unit` DESC [ RunTime:0.017136s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36814559 LIMIT 2 [ RunTime:0.011341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36814559 ORDER BY `minOrder` ASC [ RunTime:0.009665s ]
select * from pdf where partno='AN-1308-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.000564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1308-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000446s ]
SELECT `id` FROM `stock` WHERE `id` <> 36814559 AND `partno` = 'AN-1308-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.014324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19024237 [ RunTime:0.005329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36814090 LIMIT 5 [ RunTime:0.017903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36814090 ORDER BY `minOrder` ASC [ RunTime:0.019350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36814090 ORDER BY `unit` DESC [ RunTime:0.030647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36814090 LIMIT 2 [ RunTime:0.019208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36814090 ORDER BY `minOrder` ASC [ RunTime:0.007670s ]
select * from pdf where partno='AN-1308-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.009798s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1308-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.009977s ]
SELECT `id` FROM `stock` WHERE `id` <> 36814090 AND `partno` = 'AN-1308-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.014550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19023823 [ RunTime:0.003824s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003873s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007603s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024002s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037475s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006559s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003254s ]
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 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003488s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'an-1308-a%' OR `brand` LIKE 'an-1308-a%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015169s ]