SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001647s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007620s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001051s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18715562 LIMIT 5 [ RunTime:0.008461s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18715562 ORDER BY `minOrder` ASC [ RunTime:0.009094s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18715562 ORDER BY `unit` DESC [ RunTime:0.013612s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18715562 LIMIT 2 [ RunTime:0.009013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18715562 ORDER BY `minOrder` ASC [ RunTime:0.014566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18714825 LIMIT 5 [ RunTime:0.015986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18714825 ORDER BY `minOrder` ASC [ RunTime:0.008545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18714825 ORDER BY `unit` DESC [ RunTime:0.006811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18714825 LIMIT 2 [ RunTime:0.016389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18714825 ORDER BY `minOrder` ASC [ RunTime:0.002792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13459393 LIMIT 5 [ RunTime:0.013099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13459393 ORDER BY `minOrder` ASC [ RunTime:0.002412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13459393 ORDER BY `unit` DESC [ RunTime:0.009149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13459393 LIMIT 2 [ RunTime:0.006895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13459393 ORDER BY `minOrder` ASC [ RunTime:0.014103s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010423s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50620140 LIMIT 5 [ RunTime:0.003626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50620140 ORDER BY `minOrder` ASC [ RunTime:0.008133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50620140 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50620140 LIMIT 2 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50620140 ORDER BY `minOrder` ASC [ RunTime:0.003552s ]
select * from pdf where partno='873198' and brandshort='3M' limit 1 [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '873198' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.003539s ]
SELECT `id` FROM `stock` WHERE `id` <> 50620140 AND `partno` = '873198' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.001134s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18715562 [ RunTime:0.000522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50619160 LIMIT 5 [ RunTime:0.004876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50619160 ORDER BY `minOrder` ASC [ RunTime:0.011574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50619160 ORDER BY `unit` DESC [ RunTime:0.000718s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50619160 LIMIT 2 [ RunTime:0.007382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50619160 ORDER BY `minOrder` ASC [ RunTime:0.002836s ]
select * from pdf where partno='873199' and brandshort='3M' limit 1 [ RunTime:0.004323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '873199' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.004500s ]
SELECT `id` FROM `stock` WHERE `id` <> 50619160 AND `partno` = '873199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.009301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18714825 [ RunTime:0.000788s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37949146 LIMIT 5 [ RunTime:0.008232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37949146 ORDER BY `minOrder` ASC [ RunTime:0.004400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37949146 ORDER BY `unit` DESC [ RunTime:0.002684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37949146 LIMIT 2 [ RunTime:0.000749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37949146 ORDER BY `minOrder` ASC [ RunTime:0.007624s ]
select * from pdf where partno='873198' and brandshort='3M' limit 1 [ RunTime:0.002883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '873198' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.000414s ]
SELECT `id` FROM `stock` WHERE `id` <> 37949146 AND `partno` = '873198' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.003853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18715562 [ RunTime:0.003905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37947767 LIMIT 5 [ RunTime:0.009329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37947767 ORDER BY `minOrder` ASC [ RunTime:0.007653s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37947767 ORDER BY `unit` DESC [ RunTime:0.005794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37947767 LIMIT 2 [ RunTime:0.010597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37947767 ORDER BY `minOrder` ASC [ RunTime:0.010541s ]
select * from pdf where partno='873199' and brandshort='3M' limit 1 [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '873199' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.000347s ]
SELECT `id` FROM `stock` WHERE `id` <> 37947767 AND `partno` = '873199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18714825 [ RunTime:0.004984s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001279s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005120s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004319s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001080s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004662s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004832s ]
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 '87319%' OR `brand` LIKE '87319%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002654s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '87319%' OR `brand` LIKE '87319%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001028s ]