SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002277s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034400s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.008333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19036490 LIMIT 5 [ RunTime:0.049351s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19036490 ORDER BY `minOrder` ASC [ RunTime:0.044938s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19036490 ORDER BY `unit` DESC [ RunTime:0.104044s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.055793s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19036490 LIMIT 2 [ RunTime:0.068376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19036490 ORDER BY `minOrder` ASC [ RunTime:0.024650s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19031268 LIMIT 5 [ RunTime:0.139951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19031268 ORDER BY `minOrder` ASC [ RunTime:0.086599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19031268 ORDER BY `unit` DESC [ RunTime:0.064227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19031268 LIMIT 2 [ RunTime:0.116393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19031268 ORDER BY `minOrder` ASC [ RunTime:0.018725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17060200 LIMIT 5 [ RunTime:0.174588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17060200 ORDER BY `minOrder` ASC [ RunTime:0.077795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17060200 ORDER BY `unit` DESC [ RunTime:0.128518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17060200 LIMIT 2 [ RunTime:0.066803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17060200 ORDER BY `minOrder` ASC [ RunTime:0.151952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204715 LIMIT 5 [ RunTime:0.084857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14204715 ORDER BY `minOrder` ASC [ RunTime:0.078579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14204715 ORDER BY `unit` DESC [ RunTime:0.240008s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14204715 LIMIT 2 [ RunTime:0.061028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14204715 ORDER BY `minOrder` ASC [ RunTime:0.065035s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043829s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63421435 LIMIT 5 [ RunTime:0.080945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63421435 ORDER BY `minOrder` ASC [ RunTime:0.055104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63421435 ORDER BY `unit` DESC [ RunTime:0.081768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63421435 LIMIT 2 [ RunTime:0.017907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63421435 ORDER BY `minOrder` ASC [ RunTime:0.026514s ]
select * from pdf where partno='PW-12850-MB' and brandshort='Bud Industries' limit 1 [ RunTime:0.030864s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PW-12850-MB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.037834s ]
SELECT `id` FROM `stock` WHERE `id` <> 63421435 AND `partno` = 'PW-12850-MB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.028952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19036490 [ RunTime:0.038389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63424074 LIMIT 5 [ RunTime:0.083585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63424074 ORDER BY `minOrder` ASC [ RunTime:0.054871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63424074 ORDER BY `unit` DESC [ RunTime:0.041274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63424074 LIMIT 2 [ RunTime:0.051589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63424074 ORDER BY `minOrder` ASC [ RunTime:0.040574s ]
select * from pdf where partno='PW-12850-TMB' and brandshort='Bud Industries' limit 1 [ RunTime:0.014356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PW-12850-TMB' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.057850s ]
SELECT `id` FROM `stock` WHERE `id` <> 63424074 AND `partno` = 'PW-12850-TMB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.080652s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19031268 [ RunTime:0.042144s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63429533 LIMIT 5 [ RunTime:0.055448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63429533 ORDER BY `minOrder` ASC [ RunTime:0.042648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63429533 ORDER BY `unit` DESC [ RunTime:0.059099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63429533 LIMIT 2 [ RunTime:0.085735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63429533 ORDER BY `minOrder` ASC [ RunTime:0.039939s ]
select * from pdf where partno='PW-12850' and brandshort='Bud Industries' limit 1 [ RunTime:0.059700s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PW-12850' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.057578s ]
SELECT `id` FROM `stock` WHERE `id` <> 63429533 AND `partno` = 'PW-12850' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.055757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17060200 [ RunTime:0.040894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63429535 LIMIT 5 [ RunTime:0.055718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63429535 ORDER BY `minOrder` ASC [ RunTime:0.077303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63429535 ORDER BY `unit` DESC [ RunTime:0.061604s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63429535 LIMIT 2 [ RunTime:0.019614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63429535 ORDER BY `minOrder` ASC [ RunTime:0.019047s ]
select * from pdf where partno='PW-12850-T' and brandshort='Bud Industries' limit 1 [ RunTime:0.073697s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PW-12850-T' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.065531s ]
SELECT `id` FROM `stock` WHERE `id` <> 63429535 AND `partno` = 'PW-12850-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.063041s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204715 [ RunTime:0.039505s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082299s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.181789s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046669s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.069557s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042680s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.099805s ]
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 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065957s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PW-12850%' OR `brand` LIKE 'PW-12850%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.050419s ]