SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001404s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025937s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17061591 LIMIT 5 [ RunTime:0.028472s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17061591 ORDER BY `minOrder` ASC [ RunTime:0.041812s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.039205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17061591 ORDER BY `unit` DESC [ RunTime:0.015086s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17061591 LIMIT 2 [ RunTime:0.021063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17061591 ORDER BY `minOrder` ASC [ RunTime:0.027706s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51030240 LIMIT 5 [ RunTime:0.039288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51030240 ORDER BY `minOrder` ASC [ RunTime:0.024206s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51030240 ORDER BY `unit` DESC [ RunTime:0.022994s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51030240 LIMIT 2 [ RunTime:0.015182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51030240 ORDER BY `minOrder` ASC [ RunTime:0.033290s ]
select * from pdf where partno='sfem064gb2ed1to-i-6f-111-std' and brandshort='swissbit' limit 1 [ RunTime:0.022569s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'sfem064gb2ed1to-i-6f-111-std' OR `brand` LIKE 'swissbit%' ) ) LIMIT 1 [ RunTime:0.055969s ]
SELECT `id` FROM `stock` WHERE `id` <> 51030240 AND `partno` = 'sfem064gb2ed1to-i-6f-111-std' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%swissbit%' ) [ RunTime:0.033608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17061591 [ RunTime:0.040737s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070679s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057430s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056228s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072235s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051160s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060126s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063545s ]
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 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065297s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'sfem064gb2ed1to-i-6f-111-std%' OR `brand` LIKE 'sfem064gb2ed1to-i-6f-111-std%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.058698s ]