SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002619s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023873s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 LIMIT 5 [ RunTime:0.007668s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19037867 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002040s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19037867 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19037867 LIMIT 2 [ RunTime:0.009758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19037867 ORDER BY `minOrder` ASC [ RunTime:0.006240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 LIMIT 5 [ RunTime:0.010599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17058120 ORDER BY `minOrder` ASC [ RunTime:0.004353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17058120 ORDER BY `unit` DESC [ RunTime:0.007259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17058120 LIMIT 2 [ RunTime:0.005580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17058120 ORDER BY `minOrder` ASC [ RunTime:0.037108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19032587 LIMIT 5 [ RunTime:0.023898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19032587 ORDER BY `minOrder` ASC [ RunTime:0.025759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19032587 ORDER BY `unit` DESC [ RunTime:0.029112s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19032587 LIMIT 2 [ RunTime:0.013627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19032587 ORDER BY `minOrder` ASC [ RunTime:0.007471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15276462 LIMIT 5 [ RunTime:0.035534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15276462 ORDER BY `minOrder` ASC [ RunTime:0.017652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15276462 ORDER BY `unit` DESC [ RunTime:0.016570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15276462 LIMIT 2 [ RunTime:0.029752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15276462 ORDER BY `minOrder` ASC [ RunTime:0.009672s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223848 LIMIT 5 [ RunTime:0.020860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223848 ORDER BY `minOrder` ASC [ RunTime:0.014464s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223848 ORDER BY `unit` DESC [ RunTime:0.014318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223848 LIMIT 2 [ RunTime:0.003229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223848 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
select * from pdf where partno='an-1305-a' and brandshort='bud industries' limit 1 [ RunTime:0.002774s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002897s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1305-a' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.003356s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223848 AND `partno` = 'an-1305-a' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.005470s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 [ RunTime:0.005497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223880 LIMIT 5 [ RunTime:0.002849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223880 ORDER BY `minOrder` ASC [ RunTime:0.008338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223880 ORDER BY `unit` DESC [ RunTime:0.010749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223880 LIMIT 2 [ RunTime:0.007176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223880 ORDER BY `minOrder` ASC [ RunTime:0.001588s ]
select * from pdf where partno='an-1305-ab' and brandshort='bud industries' limit 1 [ RunTime:0.009519s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1305-ab' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.002303s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223880 AND `partno` = 'an-1305-ab' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.009359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 [ RunTime:0.003688s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36798298 LIMIT 5 [ RunTime:0.009321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36798298 ORDER BY `minOrder` ASC [ RunTime:0.002784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36798298 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36798298 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36798298 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
select * from pdf where partno='AN-1305-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.000654s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.004176s ]
SELECT `id` FROM `stock` WHERE `id` <> 36798298 AND `partno` = 'AN-1305-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.000451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 [ RunTime:0.001673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49605146 LIMIT 5 [ RunTime:0.000731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49605146 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49605146 ORDER BY `unit` DESC [ RunTime:0.004991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49605146 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49605146 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
select * from pdf where partno='AN-1305-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.000512s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.004674s ]
SELECT `id` FROM `stock` WHERE `id` <> 49605146 AND `partno` = 'AN-1305-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.000965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 [ RunTime:0.000470s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49607787 LIMIT 5 [ RunTime:0.001168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49607787 ORDER BY `minOrder` ASC [ RunTime:0.004938s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49607787 ORDER BY `unit` DESC [ RunTime:0.005509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49607787 LIMIT 2 [ RunTime:0.005627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49607787 ORDER BY `minOrder` ASC [ RunTime:0.001858s ]
select * from pdf where partno='AN-1305-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.001068s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.002131s ]
SELECT `id` FROM `stock` WHERE `id` <> 49607787 AND `partno` = 'AN-1305-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.001186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 [ RunTime:0.000420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36800950 LIMIT 5 [ RunTime:0.000964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36800950 ORDER BY `minOrder` ASC [ RunTime:0.001447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36800950 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36800950 LIMIT 2 [ RunTime:0.003779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36800950 ORDER BY `minOrder` ASC [ RunTime:0.007511s ]
select * from pdf where partno='AN-1305-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.007780s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000530s ]
SELECT `id` FROM `stock` WHERE `id` <> 36800950 AND `partno` = 'AN-1305-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.001273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 [ RunTime:0.000429s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001268s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011122s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009302s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006967s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010265s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010726s ]
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-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025875s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'AN-1305%' OR `brand` LIKE 'AN-1305%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.014738s ]