SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001778s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003962s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15277393 LIMIT 5 [ RunTime:0.000810s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277393 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15277393 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001101s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15277393 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15277393 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058367 LIMIT 5 [ RunTime:0.000695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17058367 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17058367 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17058367 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17058367 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002867s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223383 LIMIT 5 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223383 ORDER BY `minOrder` ASC [ RunTime:0.000731s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223383 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223383 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223383 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='dph-28708' and brandshort='bud industries' limit 1 [ RunTime:0.001485s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001741s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'dph-28708' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.001581s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223383 AND `partno` = 'dph-28708' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.002489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15277393 [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32223384 LIMIT 5 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223384 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32223384 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32223384 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32223384 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
select * from pdf where partno='dph-28708-c' and brandshort='bud industries' limit 1 [ RunTime:0.000658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'dph-28708-c' OR `brand` LIKE 'bud industries%' ) ) LIMIT 1 [ RunTime:0.000446s ]
SELECT `id` FROM `stock` WHERE `id` <> 32223384 AND `partno` = 'dph-28708-c' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.000609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058367 [ RunTime:0.000380s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70205336 LIMIT 5 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70205336 ORDER BY `minOrder` ASC [ RunTime:0.000756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70205336 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70205336 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70205336 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='DPH-28708' and brandshort='Bud Industries' limit 1 [ RunTime:0.000800s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPH-28708' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000433s ]
SELECT `id` FROM `stock` WHERE `id` <> 70205336 AND `partno` = 'DPH-28708' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.000453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15277393 [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70206860 LIMIT 5 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70206860 ORDER BY `minOrder` ASC [ RunTime:0.000747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70206860 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70206860 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70206860 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
select * from pdf where partno='DPH-28708-C' and brandshort='Bud Industries' limit 1 [ RunTime:0.000819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPH-28708-C' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.000430s ]
SELECT `id` FROM `stock` WHERE `id` <> 70206860 AND `partno` = 'DPH-28708-C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.000473s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17058367 [ RunTime:0.000377s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001063s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001061s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000585s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000552s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000538s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000536s ]
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 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000592s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'dph-28708%' OR `brand` LIKE 'dph-28708%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000541s ]