SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002445s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053947s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19001117 LIMIT 5 [ RunTime:0.027040s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19001117 ORDER BY `minOrder` ASC [ RunTime:0.008412s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19001117 ORDER BY `unit` DESC [ RunTime:0.020510s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.012699s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19001117 LIMIT 2 [ RunTime:0.004758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19001117 ORDER BY `minOrder` ASC [ RunTime:0.015374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11191575 LIMIT 5 [ RunTime:0.040372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11191575 ORDER BY `minOrder` ASC [ RunTime:0.055444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11191575 ORDER BY `unit` DESC [ RunTime:0.023803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11191575 LIMIT 2 [ RunTime:0.051995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11191575 ORDER BY `minOrder` ASC [ RunTime:0.025915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18898937 LIMIT 5 [ RunTime:0.023720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18898937 ORDER BY `minOrder` ASC [ RunTime:0.034021s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18898937 ORDER BY `unit` DESC [ RunTime:0.052096s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18898937 LIMIT 2 [ RunTime:0.057875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18898937 ORDER BY `minOrder` ASC [ RunTime:0.004890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18701969 LIMIT 5 [ RunTime:0.029972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18701969 ORDER BY `minOrder` ASC [ RunTime:0.027873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18701969 ORDER BY `unit` DESC [ RunTime:0.010349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18701969 LIMIT 2 [ RunTime:0.006022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18701969 ORDER BY `minOrder` ASC [ RunTime:0.004088s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013982s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63465071 LIMIT 5 [ RunTime:0.025207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63465071 ORDER BY `minOrder` ASC [ RunTime:0.022160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63465071 ORDER BY `unit` DESC [ RunTime:0.009885s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63465071 LIMIT 2 [ RunTime:0.016983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63465071 ORDER BY `minOrder` ASC [ RunTime:0.005097s ]
select * from pdf where partno='4006130' and brandshort='Bud Industries' limit 1 [ RunTime:0.008797s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4006130' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.020643s ]
SELECT `id` FROM `stock` WHERE `id` <> 63465071 AND `partno` = '4006130' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.005428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19001117 [ RunTime:0.006723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63436131 LIMIT 5 [ RunTime:0.007514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63436131 ORDER BY `minOrder` ASC [ RunTime:0.004789s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63436131 ORDER BY `unit` DESC [ RunTime:0.001686s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63436131 LIMIT 2 [ RunTime:0.004571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63436131 ORDER BY `minOrder` ASC [ RunTime:0.009762s ]
select * from pdf where partno='4006171' and brandshort='Bud Industries' limit 1 [ RunTime:0.023180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4006171' OR `brand` LIKE 'Bud Industries%' ) ) LIMIT 1 [ RunTime:0.003362s ]
SELECT `id` FROM `stock` WHERE `id` <> 63436131 AND `partno` = '4006171' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%bud industries%' ) [ RunTime:0.006417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58580566 LIMIT 5 [ RunTime:0.016622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58580566 ORDER BY `minOrder` ASC [ RunTime:0.009128s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58580566 ORDER BY `unit` DESC [ RunTime:0.005170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58580566 LIMIT 2 [ RunTime:0.005413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58580566 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
select * from pdf where partno='40061' and brandshort='Master Appliance Co' limit 1 [ RunTime:0.001836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40061' OR `brand` LIKE 'Master Appliance Co%' ) ) LIMIT 1 [ RunTime:0.010391s ]
SELECT `id` FROM `stock` WHERE `id` <> 58580566 AND `partno` = '40061' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%master appliance co%' ) [ RunTime:0.002064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11191575 [ RunTime:0.001210s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001083s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000835s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006530s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002388s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002965s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002105s ]
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 '40061%' OR `brand` LIKE '40061%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001054s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '40061%' OR `brand` LIKE '40061%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002230s ]