SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002638s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018406s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037870 LIMIT 5 [ RunTime:0.004297s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19037870 ORDER BY `minOrder` ASC [ RunTime:0.001099s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19037870 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19037870 LIMIT 2 [ RunTime:0.000825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19037870 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='AN-1306-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.000704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204525 LIMIT 5 [ RunTime:0.001515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14204525 ORDER BY `minOrder` ASC [ RunTime:0.014999s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14204525 ORDER BY `unit` DESC [ RunTime:0.000900s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14204525 LIMIT 2 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14204525 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
select * from pdf where partno='AN-1306-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.001103s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223882 LIMIT 5 [ RunTime:0.016513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223882 ORDER BY `minOrder` ASC [ RunTime:0.025397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223882 ORDER BY `unit` DESC [ RunTime:0.002203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223882 LIMIT 2 [ RunTime:0.000683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223882 ORDER BY `minOrder` ASC [ RunTime:0.005530s ]
select * from pdf where partno='an-1306-ab' and brandshort='bud industries' limit 1 [ RunTime:0.030183s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002785s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1306-ab' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.006846s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223882 AND `partno` = 'an-1306-ab' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.034302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204525 [ RunTime:0.024360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223881 LIMIT 5 [ RunTime:0.025021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223881 ORDER BY `minOrder` ASC [ RunTime:0.022421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223881 ORDER BY `unit` DESC [ RunTime:0.020286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223881 LIMIT 2 [ RunTime:0.003575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223881 ORDER BY `minOrder` ASC [ RunTime:0.008540s ]
select * from pdf where partno='an-1306-a' and brandshort='bud industries' limit 1 [ RunTime:0.003696s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1306-a' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.000318s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223881 AND `partno` = 'an-1306-a' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.012823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037870 [ RunTime:0.004518s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36802290 LIMIT 5 [ RunTime:0.025320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36802290 ORDER BY `minOrder` ASC [ RunTime:0.011018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36802290 ORDER BY `unit` DESC [ RunTime:0.009566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36802290 LIMIT 2 [ RunTime:0.007581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36802290 ORDER BY `minOrder` ASC [ RunTime:0.009637s ]
select * from pdf where partno='AN-1306-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.004617s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1306-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.006691s ]
SELECT `id` FROM `stock` WHERE `id` <> 36802290 AND `partno` = 'AN-1306-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.003468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204525 [ RunTime:0.015800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49609134 LIMIT 5 [ RunTime:0.006992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49609134 ORDER BY `minOrder` ASC [ RunTime:0.001473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49609134 ORDER BY `unit` DESC [ RunTime:0.003552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49609134 LIMIT 2 [ RunTime:0.003901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49609134 ORDER BY `minOrder` ASC [ RunTime:0.003581s ]
select * from pdf where partno='AN-1306-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.005730s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1306-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000511s ]
SELECT `id` FROM `stock` WHERE `id` <> 49609134 AND `partno` = 'AN-1306-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.010297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204525 [ RunTime:0.004007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49613280 LIMIT 5 [ RunTime:0.014758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49613280 ORDER BY `minOrder` ASC [ RunTime:0.028339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49613280 ORDER BY `unit` DESC [ RunTime:0.018510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49613280 LIMIT 2 [ RunTime:0.017518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49613280 ORDER BY `minOrder` ASC [ RunTime:0.001086s ]
select * from pdf where partno='AN-1306-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.000728s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1306-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.025858s ]
SELECT `id` FROM `stock` WHERE `id` <> 49613280 AND `partno` = 'AN-1306-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.043922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037870 [ RunTime:0.010791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36806476 LIMIT 5 [ RunTime:0.018436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36806476 ORDER BY `minOrder` ASC [ RunTime:0.043302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36806476 ORDER BY `unit` DESC [ RunTime:0.034187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36806476 LIMIT 2 [ RunTime:0.015508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36806476 ORDER BY `minOrder` ASC [ RunTime:0.002876s ]
select * from pdf where partno='AN-1306-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.009879s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1306-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.006650s ]
SELECT `id` FROM `stock` WHERE `id` <> 36806476 AND `partno` = 'AN-1306-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.006341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037870 [ RunTime:0.010276s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025430s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028873s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070065s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.094312s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015517s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023325s ]
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-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038503s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'an-1306-a%' OR `brand` LIKE 'an-1306-a%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.044303s ]