SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001512s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029184s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17744155 LIMIT 5 [ RunTime:0.023720s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17744155 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001037s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17744155 ORDER BY `unit` DESC [ RunTime:0.010478s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17744155 LIMIT 2 [ RunTime:0.050186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17744155 ORDER BY `minOrder` ASC [ RunTime:0.009684s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058851s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39499660 LIMIT 5 [ RunTime:0.020346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39499660 ORDER BY `minOrder` ASC [ RunTime:0.010715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39499660 ORDER BY `unit` DESC [ RunTime:0.019368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39499660 LIMIT 2 [ RunTime:0.005899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39499660 ORDER BY `minOrder` ASC [ RunTime:0.028603s ]
select * from pdf where partno='SCC4007X681K8C2TZ' and brandshort='Holy Stone Enterprise Co., Ltd.' limit 1 [ RunTime:0.006440s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SCC4007X681K8C2TZ' OR `brand` LIKE 'Holy Stone Enterprise Co., Ltd.%' ) ) LIMIT 1 [ RunTime:0.000284s ]
SELECT `id` FROM `stock` WHERE `id` <> 39499660 AND `partno` = 'SCC4007X681K8C2TZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%holy stone enterprise co., ltd.%' ) [ RunTime:0.004962s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17744155 [ RunTime:0.013630s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029043s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030777s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050196s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040860s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049848s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045284s ]
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 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098193s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SCC4007X681K8C2TZ%' OR `brand` LIKE 'SCC4007X681K8C2TZ%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.136858s ]