SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001280s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013487s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 LIMIT 5 [ RunTime:0.084702s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19037867 ORDER BY `minOrder` ASC [ RunTime:0.040121s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19037867 ORDER BY `unit` DESC [ RunTime:0.006513s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19037867 LIMIT 2 [ RunTime:0.016935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19037867 ORDER BY `minOrder` ASC [ RunTime:0.014808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 LIMIT 5 [ RunTime:0.013722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17058120 ORDER BY `minOrder` ASC [ RunTime:0.015232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17058120 ORDER BY `unit` DESC [ RunTime:0.010343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17058120 LIMIT 2 [ RunTime:0.013930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17058120 ORDER BY `minOrder` ASC [ RunTime:0.008254s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223848 LIMIT 5 [ RunTime:0.050218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223848 ORDER BY `minOrder` ASC [ RunTime:0.051785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223848 ORDER BY `unit` DESC [ RunTime:0.012658s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223848 LIMIT 2 [ RunTime:0.010037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223848 ORDER BY `minOrder` ASC [ RunTime:0.036002s ]
select * from pdf where partno='an-1305-a' and brandshort='bud industries' limit 1 [ RunTime:0.006087s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1305-a' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.019726s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223848 AND `partno` = 'an-1305-a' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.013204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 [ RunTime:0.011511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223880 LIMIT 5 [ RunTime:0.015313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223880 ORDER BY `minOrder` ASC [ RunTime:0.015265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223880 ORDER BY `unit` DESC [ RunTime:0.021215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223880 LIMIT 2 [ RunTime:0.022351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223880 ORDER BY `minOrder` ASC [ RunTime:0.011714s ]
select * from pdf where partno='an-1305-ab' and brandshort='bud industries' limit 1 [ RunTime:0.002396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'an-1305-ab' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.005641s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223880 AND `partno` = 'an-1305-ab' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.001384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 [ RunTime:0.003622s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36798298 LIMIT 5 [ RunTime:0.021063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36798298 ORDER BY `minOrder` ASC [ RunTime:0.011884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36798298 ORDER BY `unit` DESC [ RunTime:0.013546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36798298 LIMIT 2 [ RunTime:0.011411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36798298 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
select * from pdf where partno='AN-1305-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.001211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.004664s ]
SELECT `id` FROM `stock` WHERE `id` <> 36798298 AND `partno` = 'AN-1305-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.012106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 [ RunTime:0.000491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49605146 LIMIT 5 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49605146 ORDER BY `minOrder` ASC [ RunTime:0.003875s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49605146 ORDER BY `unit` DESC [ RunTime:0.004421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49605146 LIMIT 2 [ RunTime:0.002477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49605146 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
select * from pdf where partno='AN-1305-A' and brandshort='Bud Industries' limit 1 [ RunTime:0.000542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-A' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000448s ]
SELECT `id` FROM `stock` WHERE `id` <> 49605146 AND `partno` = 'AN-1305-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.008910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19037867 [ RunTime:0.003864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49607787 LIMIT 5 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49607787 ORDER BY `minOrder` ASC [ RunTime:0.004942s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49607787 ORDER BY `unit` DESC [ RunTime:0.004573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49607787 LIMIT 2 [ RunTime:0.002292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49607787 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
select * from pdf where partno='AN-1305-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.001034s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000909s ]
SELECT `id` FROM `stock` WHERE `id` <> 49607787 AND `partno` = 'AN-1305-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.001887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 [ RunTime:0.000432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36800950 LIMIT 5 [ RunTime:0.001201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36800950 ORDER BY `minOrder` ASC [ RunTime:0.001710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36800950 ORDER BY `unit` DESC [ RunTime:0.000462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36800950 LIMIT 2 [ RunTime:0.006527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36800950 ORDER BY `minOrder` ASC [ RunTime:0.007901s ]
select * from pdf where partno='AN-1305-AB' and brandshort='Bud Industries' limit 1 [ RunTime:0.000584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AN-1305-AB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000464s ]
SELECT `id` FROM `stock` WHERE `id` <> 36800950 AND `partno` = 'AN-1305-AB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.000498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058120 [ RunTime:0.000498s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004278s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015915s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004542s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006694s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017877s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014300s ]
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-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016715s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'AN-1305-A%' OR `brand` LIKE 'AN-1305-A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.025578s ]