SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002649s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064038s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13380339 LIMIT 5 [ RunTime:0.031495s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.033754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13380339 ORDER BY `minOrder` ASC [ RunTime:0.044147s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13380339 ORDER BY `unit` DESC [ RunTime:0.035785s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.012681s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13380339 LIMIT 2 [ RunTime:0.056550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13380339 ORDER BY `minOrder` ASC [ RunTime:0.013204s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.102142s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56371012 LIMIT 5 [ RunTime:0.048770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56371012 ORDER BY `minOrder` ASC [ RunTime:0.061367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56371012 ORDER BY `unit` DESC [ RunTime:0.056362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56371012 LIMIT 2 [ RunTime:0.034056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56371012 ORDER BY `minOrder` ASC [ RunTime:0.063567s ]
select * from pdf where partno='SFCF0256H4BK1SA-I-MS-553-SMA' and brandshort='Swissbit' limit 1 [ RunTime:0.079549s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003995s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFCF0256H4BK1SA-I-MS-553-SMA' OR `brand` LIKE 'Swissbit%' ) ) LIMIT 1 [ RunTime:0.080303s ]
SELECT `id` FROM `stock` WHERE `id` <> 56371012 AND `partno` = 'SFCF0256H4BK1SA-I-MS-553-SMA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%swissbit%' ) [ RunTime:0.048827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13380339 [ RunTime:0.066641s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047839s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039111s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048093s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064899s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030715s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034982s ]
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 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052261s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0256H4BK1SA-I-MS-553-SMA%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.021995s ]