SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002312s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008289s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19747302 LIMIT 5 [ RunTime:0.001034s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19747302 ORDER BY `minOrder` ASC [ RunTime:0.000854s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002726s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19747302 ORDER BY `unit` DESC [ RunTime:0.000746s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002082s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19747302 LIMIT 2 [ RunTime:0.000575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19747302 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='929834-05-05-RK' and brandshort='3M' limit 1 [ RunTime:0.001795s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.000573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12718117 LIMIT 5 [ RunTime:0.001033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12718117 ORDER BY `minOrder` ASC [ RunTime:0.000551s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12718117 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12718117 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12718117 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
select * from pdf where partno='929834-05-05' and brandshort='3M' limit 1 [ RunTime:0.000703s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.000244s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001229s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59546444 LIMIT 5 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59546444 ORDER BY `minOrder` ASC [ RunTime:0.000874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59546444 ORDER BY `unit` DESC [ RunTime:0.000488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59546444 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59546444 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
select * from pdf where partno='929834-05-05-RK' and brandshort='3M' limit 1 [ RunTime:0.000498s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001768s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '929834-05-05-RK' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.004948s ]
SELECT `id` FROM `stock` WHERE `id` <> 59546444 AND `partno` = '929834-05-05-RK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19747302 [ RunTime:0.000824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59607431 LIMIT 5 [ RunTime:0.000821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59607431 ORDER BY `minOrder` ASC [ RunTime:0.001353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59607431 ORDER BY `unit` DESC [ RunTime:0.000683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59607431 LIMIT 2 [ RunTime:0.000872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59607431 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
select * from pdf where partno='929834-05-05' and brandshort='3M' limit 1 [ RunTime:0.000389s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '929834-05-05' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.003743s ]
SELECT `id` FROM `stock` WHERE `id` <> 59607431 AND `partno` = '929834-05-05' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.001046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12718117 [ RunTime:0.000740s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001441s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001504s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001402s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001334s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001042s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001160s ]
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-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000912s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '929834-05-05%' OR `brand` LIKE '929834-05-05%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000582s ]