SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002648s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036707s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19791904 LIMIT 5 [ RunTime:0.025317s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19791904 ORDER BY `minOrder` ASC [ RunTime:0.124011s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19791904 ORDER BY `unit` DESC [ RunTime:0.053066s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.066709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19791904 LIMIT 2 [ RunTime:0.063813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19791904 ORDER BY `minOrder` ASC [ RunTime:0.023196s ]
select * from pdf where partno='929838-01-13' and brandshort='3M' limit 1 [ RunTime:0.076233s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.013634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19781581 LIMIT 5 [ RunTime:0.078360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19781581 ORDER BY `minOrder` ASC [ RunTime:0.033252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19781581 ORDER BY `unit` DESC [ RunTime:0.135196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19781581 LIMIT 2 [ RunTime:0.088467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19781581 ORDER BY `minOrder` ASC [ RunTime:0.052558s ]
select * from pdf where partno='929838-01-13-RK' and brandshort='3M' limit 1 [ RunTime:0.138332s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.028581s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064801s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.125241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59657259 LIMIT 5 [ RunTime:0.066556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59657259 ORDER BY `minOrder` ASC [ RunTime:0.134706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59657259 ORDER BY `unit` DESC [ RunTime:0.039888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59657259 LIMIT 2 [ RunTime:0.078271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59657259 ORDER BY `minOrder` ASC [ RunTime:0.028251s ]
select * from pdf where partno='929838-01-13' and brandshort='3M' limit 1 [ RunTime:0.045530s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.031402s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001533s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '929838-01-13' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.101707s ]
SELECT `id` FROM `stock` WHERE `id` <> 59657259 AND `partno` = '929838-01-13' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.127733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19791904 [ RunTime:0.046772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59644606 LIMIT 5 [ RunTime:0.089860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59644606 ORDER BY `minOrder` ASC [ RunTime:0.102295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59644606 ORDER BY `unit` DESC [ RunTime:0.131988s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59644606 LIMIT 2 [ RunTime:0.045934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59644606 ORDER BY `minOrder` ASC [ RunTime:0.061610s ]
select * from pdf where partno='929838-01-13-RK' and brandshort='3M' limit 1 [ RunTime:0.040986s ]
select foldpath,foldpath2,filename from pdf_file where id=1489688 limit 1 [ RunTime:0.022410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '929838-01-13-RK' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.102247s ]
SELECT `id` FROM `stock` WHERE `id` <> 59644606 AND `partno` = '929838-01-13-RK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.097792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19781581 [ RunTime:0.046786s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.118372s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016944s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065105s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029627s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.151377s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.123889s ]
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 '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085439s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '929838-01-13%' OR `brand` LIKE '929838-01-13%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.084881s ]