SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002230s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004011s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485038 LIMIT 5 [ RunTime:0.000695s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485038 ORDER BY `minOrder` ASC [ RunTime:0.000783s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13485038 ORDER BY `unit` DESC [ RunTime:0.000635s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002804s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13485038 LIMIT 2 [ RunTime:0.001519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485038 ORDER BY `minOrder` ASC [ RunTime:0.002420s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.002703s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13484724 LIMIT 5 [ RunTime:0.003200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13484724 ORDER BY `minOrder` ASC [ RunTime:0.001788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13484724 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13484724 LIMIT 2 [ RunTime:0.002831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13484724 ORDER BY `minOrder` ASC [ RunTime:0.003695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14361155 LIMIT 5 [ RunTime:0.003622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14361155 ORDER BY `minOrder` ASC [ RunTime:0.003422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14361155 ORDER BY `unit` DESC [ RunTime:0.001312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14361155 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14361155 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14362121 LIMIT 5 [ RunTime:0.002846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14362121 ORDER BY `minOrder` ASC [ RunTime:0.001568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14362121 ORDER BY `unit` DESC [ RunTime:0.002328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14362121 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14362121 ORDER BY `minOrder` ASC [ RunTime:0.001947s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14362257 LIMIT 5 [ RunTime:0.001272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14362257 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14362257 ORDER BY `unit` DESC [ RunTime:0.002948s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14362257 LIMIT 2 [ RunTime:0.001291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14362257 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.000362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13486669 LIMIT 5 [ RunTime:0.002318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13486669 ORDER BY `minOrder` ASC [ RunTime:0.000665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13486669 ORDER BY `unit` DESC [ RunTime:0.000473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13486669 LIMIT 2 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13486669 ORDER BY `minOrder` ASC [ RunTime:0.002359s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13486199 LIMIT 5 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13486199 ORDER BY `minOrder` ASC [ RunTime:0.005227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13486199 ORDER BY `unit` DESC [ RunTime:0.001157s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13486199 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13486199 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.000417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13485759 LIMIT 5 [ RunTime:0.000681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485759 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13485759 ORDER BY `unit` DESC [ RunTime:0.001961s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13485759 LIMIT 2 [ RunTime:0.006165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13485759 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.000359s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001512s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62993606 LIMIT 5 [ RunTime:0.001883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62993606 ORDER BY `minOrder` ASC [ RunTime:0.005682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62993606 ORDER BY `unit` DESC [ RunTime:0.001088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62993606 LIMIT 2 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62993606 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='3365/12 300' and brandshort='3M' limit 1 [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3365/12 300' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001698s ]
SELECT `id` FROM `stock` WHERE `id` <> 62993606 AND `partno` = '3365/12 300' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13484724 [ RunTime:0.000425s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002294s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000874s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000726s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005899s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000862s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000629s ]
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 '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005775s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '3365/12 300%' OR `brand` LIKE '3365/12 300%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000897s ]