SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001250s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042632s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.010663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15481204 LIMIT 5 [ RunTime:0.021794s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481204 ORDER BY `minOrder` ASC [ RunTime:0.042940s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15481204 ORDER BY `unit` DESC [ RunTime:0.039147s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005077s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15481204 LIMIT 2 [ RunTime:0.015988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15481204 ORDER BY `minOrder` ASC [ RunTime:0.007500s ]
select * from pdf where partno='929834-03-21' and brandshort='3M' limit 1 [ RunTime:0.021907s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.003564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15480564 LIMIT 5 [ RunTime:0.034896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15480564 ORDER BY `minOrder` ASC [ RunTime:0.089640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15480564 ORDER BY `unit` DESC [ RunTime:0.062648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15480564 LIMIT 2 [ RunTime:0.053913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15480564 ORDER BY `minOrder` ASC [ RunTime:0.010918s ]
select * from pdf where partno='929834-03-21-RK' and brandshort='3M' limit 1 [ RunTime:0.012734s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.025652s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034329s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59488071 LIMIT 5 [ RunTime:0.044108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59488071 ORDER BY `minOrder` ASC [ RunTime:0.054820s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59488071 ORDER BY `unit` DESC [ RunTime:0.037295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59488071 LIMIT 2 [ RunTime:0.012696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59488071 ORDER BY `minOrder` ASC [ RunTime:0.003245s ]
select * from pdf where partno='929834-03-21' and brandshort='3M' limit 1 [ RunTime:0.009023s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.005739s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '929834-03-21' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.037023s ]
SELECT `id` FROM `stock` WHERE `id` <> 59488071 AND `partno` = '929834-03-21' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.094249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15481204 [ RunTime:0.028776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59652420 LIMIT 5 [ RunTime:0.075413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59652420 ORDER BY `minOrder` ASC [ RunTime:0.014126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59652420 ORDER BY `unit` DESC [ RunTime:0.013913s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59652420 LIMIT 2 [ RunTime:0.038445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59652420 ORDER BY `minOrder` ASC [ RunTime:0.024757s ]
select * from pdf where partno='929834-03-21-RK' and brandshort='3M' limit 1 [ RunTime:0.007438s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.005459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '929834-03-21-RK' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.005889s ]
SELECT `id` FROM `stock` WHERE `id` <> 59652420 AND `partno` = '929834-03-21-RK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.003055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15480564 [ RunTime:0.007474s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008248s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014789s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034932s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015054s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005937s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017852s ]
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 '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026503s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '929834-03-21%' OR `brand` LIKE '929834-03-21%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015200s ]