SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001851s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002971s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13576126 LIMIT 5 [ RunTime:0.000766s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13576126 ORDER BY `minOrder` ASC [ RunTime:0.001762s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001758s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13576126 ORDER BY `unit` DESC [ RunTime:0.006900s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13576126 LIMIT 2 [ RunTime:0.015971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13576126 ORDER BY `minOrder` ASC [ RunTime:0.006402s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011144s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62236206 LIMIT 5 [ RunTime:0.004341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62236206 ORDER BY `minOrder` ASC [ RunTime:0.023686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62236206 ORDER BY `unit` DESC [ RunTime:0.015990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62236206 LIMIT 2 [ RunTime:0.019271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62236206 ORDER BY `minOrder` ASC [ RunTime:0.001898s ]
select * from pdf where partno='MPF-8M3-SNUP-15' and brandshort='L-com' limit 1 [ RunTime:0.029260s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPF-8M3-SNUP-15' OR `brand` LIKE 'L-com%' ) ) LIMIT 1 [ RunTime:0.030274s ]
SELECT `id` FROM `stock` WHERE `id` <> 62236206 AND `partno` = 'MPF-8M3-SNUP-15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%l-com%' ) [ RunTime:0.029236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13576126 [ RunTime:0.030886s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006253s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035776s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028228s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028594s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010676s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034898s ]
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 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033680s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MPF-8M3-SNUP-15%' OR `brand` LIKE 'MPF-8M3-SNUP-15%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.047845s ]