SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001445s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006820s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12796877 LIMIT 5 [ RunTime:0.001107s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12796877 ORDER BY `minOrder` ASC [ RunTime:0.000470s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12796877 ORDER BY `unit` DESC [ RunTime:0.005678s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002786s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12796877 LIMIT 2 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12796877 ORDER BY `minOrder` ASC [ RunTime:0.005590s ]
select * from pdf where partno='D89114-0031HK' and brandshort='3M' limit 1 [ RunTime:0.002515s ]
select foldpath,foldpath2,filename from pdf_file where id=1254381 limit 1 [ RunTime:0.003283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16454894 LIMIT 5 [ RunTime:0.008429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16454894 ORDER BY `minOrder` ASC [ RunTime:0.009046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16454894 ORDER BY `unit` DESC [ RunTime:0.000736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16454894 LIMIT 2 [ RunTime:0.008465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16454894 ORDER BY `minOrder` ASC [ RunTime:0.003753s ]
select * from pdf where partno='D89114-0031HK-3365/14-S-3' and brandshort='3M' limit 1 [ RunTime:0.006705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14462995 LIMIT 5 [ RunTime:0.005243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14462995 ORDER BY `minOrder` ASC [ RunTime:0.003855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14462995 ORDER BY `unit` DESC [ RunTime:0.010793s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14462995 LIMIT 2 [ RunTime:0.014644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14462995 ORDER BY `minOrder` ASC [ RunTime:0.012332s ]
select * from pdf where partno='D89114-0031HK-3365/14-D-3' and brandshort='3M' limit 1 [ RunTime:0.003323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14460197 LIMIT 5 [ RunTime:0.011634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14460197 ORDER BY `minOrder` ASC [ RunTime:0.009285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14460197 ORDER BY `unit` DESC [ RunTime:0.019943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14460197 LIMIT 2 [ RunTime:0.015071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14460197 ORDER BY `minOrder` ASC [ RunTime:0.013436s ]
select * from pdf where partno='D89114-0031HK-3365/14-S-6' and brandshort='3M' limit 1 [ RunTime:0.006509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13604572 LIMIT 5 [ RunTime:0.012378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13604572 ORDER BY `minOrder` ASC [ RunTime:0.006402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13604572 ORDER BY `unit` DESC [ RunTime:0.005500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13604572 LIMIT 2 [ RunTime:0.011037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13604572 ORDER BY `minOrder` ASC [ RunTime:0.000639s ]
select * from pdf where partno='D89114-0031HK-3365/14-D-6' and brandshort='3M' limit 1 [ RunTime:0.000563s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009240s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53046550 LIMIT 5 [ RunTime:0.002594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53046550 ORDER BY `minOrder` ASC [ RunTime:0.009699s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53046550 ORDER BY `unit` DESC [ RunTime:0.003270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53046550 LIMIT 2 [ RunTime:0.002534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53046550 ORDER BY `minOrder` ASC [ RunTime:0.002308s ]
select * from pdf where partno='D89114-0031HK' and brandshort='3M' limit 1 [ RunTime:0.000525s ]
select foldpath,foldpath2,filename from pdf_file where id=1254381 limit 1 [ RunTime:0.000344s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89114-0031HK' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.005403s ]
SELECT `id` FROM `stock` WHERE `id` <> 53046550 AND `partno` = 'D89114-0031HK' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12796877 [ RunTime:0.000698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55453488 LIMIT 5 [ RunTime:0.000662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55453488 ORDER BY `minOrder` ASC [ RunTime:0.002854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55453488 ORDER BY `unit` DESC [ RunTime:0.000504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55453488 LIMIT 2 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55453488 ORDER BY `minOrder` ASC [ RunTime:0.000490s ]
select * from pdf where partno='D89114-0031HK-3365/14-D-6' and brandshort='3M' limit 1 [ RunTime:0.000488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89114-0031HK-3365/14-D-6' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001632s ]
SELECT `id` FROM `stock` WHERE `id` <> 55453488 AND `partno` = 'D89114-0031HK-3365/14-D-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13604572 [ RunTime:0.000608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55452949 LIMIT 5 [ RunTime:0.002646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55452949 ORDER BY `minOrder` ASC [ RunTime:0.003052s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55452949 ORDER BY `unit` DESC [ RunTime:0.000562s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55452949 LIMIT 2 [ RunTime:0.002511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55452949 ORDER BY `minOrder` ASC [ RunTime:0.000528s ]
select * from pdf where partno='D89114-0031HK-3365/14-D-3' and brandshort='3M' limit 1 [ RunTime:0.000460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89114-0031HK-3365/14-D-3' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001606s ]
SELECT `id` FROM `stock` WHERE `id` <> 55452949 AND `partno` = 'D89114-0031HK-3365/14-D-3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14462995 [ RunTime:0.000497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55445904 LIMIT 5 [ RunTime:0.001092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55445904 ORDER BY `minOrder` ASC [ RunTime:0.000834s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55445904 ORDER BY `unit` DESC [ RunTime:0.002050s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55445904 LIMIT 2 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55445904 ORDER BY `minOrder` ASC [ RunTime:0.002736s ]
select * from pdf where partno='D89114-0031HK-3365/14-S-6' and brandshort='3M' limit 1 [ RunTime:0.003023s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89114-0031HK-3365/14-S-6' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001635s ]
SELECT `id` FROM `stock` WHERE `id` <> 55445904 AND `partno` = 'D89114-0031HK-3365/14-S-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14460197 [ RunTime:0.000486s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55444967 LIMIT 5 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55444967 ORDER BY `minOrder` ASC [ RunTime:0.003072s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55444967 ORDER BY `unit` DESC [ RunTime:0.000710s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55444967 LIMIT 2 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55444967 ORDER BY `minOrder` ASC [ RunTime:0.002328s ]
select * from pdf where partno='D89114-0031HK-3365/14-S-3' and brandshort='3M' limit 1 [ RunTime:0.007033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D89114-0031HK-3365/14-S-3' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.006278s ]
SELECT `id` FROM `stock` WHERE `id` <> 55444967 AND `partno` = 'D89114-0031HK-3365/14-S-3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.004011s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16454894 [ RunTime:0.000624s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001214s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002258s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001592s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004125s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005561s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001220s ]
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 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001476s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'D89114-0031HK%' OR `brand` LIKE 'D89114-0031HK%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001137s ]