SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002052s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007179s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14267031 LIMIT 5 [ RunTime:0.038109s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.017569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14267031 ORDER BY `minOrder` ASC [ RunTime:0.025187s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14267031 ORDER BY `unit` DESC [ RunTime:0.004565s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14267031 LIMIT 2 [ RunTime:0.009711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14267031 ORDER BY `minOrder` ASC [ RunTime:0.010268s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035496s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56371011 LIMIT 5 [ RunTime:0.023285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56371011 ORDER BY `minOrder` ASC [ RunTime:0.027984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56371011 ORDER BY `unit` DESC [ RunTime:0.046997s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56371011 LIMIT 2 [ RunTime:0.051332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56371011 ORDER BY `minOrder` ASC [ RunTime:0.009254s ]
select * from pdf where partno='SFCF0512H4BK1SA-I-MS-553-SMA' and brandshort='Swissbit' limit 1 [ RunTime:0.028826s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFCF0512H4BK1SA-I-MS-553-SMA' OR `brand` LIKE 'Swissbit%' ) ) LIMIT 1 [ RunTime:0.014876s ]
SELECT `id` FROM `stock` WHERE `id` <> 56371011 AND `partno` = 'SFCF0512H4BK1SA-I-MS-553-SMA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%swissbit%' ) [ RunTime:0.020866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14267031 [ RunTime:0.077291s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082341s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040205s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055289s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044202s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037783s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029616s ]
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 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035941s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' OR `brand` LIKE 'SFCF0512H4BK1SA-I-MS-553-SMA%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.028931s ]