SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003436s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022611s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13575765 LIMIT 5 [ RunTime:0.014361s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13575765 ORDER BY `minOrder` ASC [ RunTime:0.009732s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.014687s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13575765 ORDER BY `unit` DESC [ RunTime:0.017809s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002143s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13575765 LIMIT 2 [ RunTime:0.046123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13575765 ORDER BY `minOrder` ASC [ RunTime:0.008741s ]
select * from pdf where partno='MPF-8M3-SNUP-05' and brandshort='L-com' limit 1 [ RunTime:0.006527s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038545s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62235403 LIMIT 5 [ RunTime:0.015505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62235403 ORDER BY `minOrder` ASC [ RunTime:0.016568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62235403 ORDER BY `unit` DESC [ RunTime:0.028598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62235403 LIMIT 2 [ RunTime:0.026294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62235403 ORDER BY `minOrder` ASC [ RunTime:0.028748s ]
select * from pdf where partno='MPF-8M3-SNUP-05' and brandshort='L-com' limit 1 [ RunTime:0.009775s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002455s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPF-8M3-SNUP-05' OR `brand` LIKE 'L-com%' ) ) LIMIT 1 [ RunTime:0.032184s ]
SELECT `id` FROM `stock` WHERE `id` <> 62235403 AND `partno` = 'MPF-8M3-SNUP-05' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%l-com%' ) [ RunTime:0.058482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13575765 [ RunTime:0.036423s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064763s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033278s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028922s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032046s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025991s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017744s ]
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-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011333s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MPF-8M3-SNUP-05%' OR `brand` LIKE 'MPF-8M3-SNUP-05%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009661s ]