SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004279s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001141s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14022714 LIMIT 5 [ RunTime:0.024301s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14022714 ORDER BY `minOrder` ASC [ RunTime:0.009055s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001488s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14022714 ORDER BY `unit` DESC [ RunTime:0.010993s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14022714 LIMIT 2 [ RunTime:0.024442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14022714 ORDER BY `minOrder` ASC [ RunTime:0.010432s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032132s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39536915 LIMIT 5 [ RunTime:0.074246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39536915 ORDER BY `minOrder` ASC [ RunTime:0.057760s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39536915 ORDER BY `unit` DESC [ RunTime:0.013195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39536915 LIMIT 2 [ RunTime:0.018673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39536915 ORDER BY `minOrder` ASC [ RunTime:0.010555s ]
select * from pdf where partno='SCC3906X221K8C2TZ' and brandshort='Holy Stone Enterprise Co., Ltd.' limit 1 [ RunTime:0.045010s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001946s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SCC3906X221K8C2TZ' OR `brand` LIKE 'Holy Stone Enterprise Co., Ltd.%' ) ) LIMIT 1 [ RunTime:0.031495s ]
SELECT `id` FROM `stock` WHERE `id` <> 39536915 AND `partno` = 'SCC3906X221K8C2TZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%holy stone enterprise co., ltd.%' ) [ RunTime:0.034101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14022714 [ RunTime:0.033766s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067409s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044300s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037349s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030300s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053884s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045875s ]
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 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087662s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SCC3906X221K8C2TZ%' OR `brand` LIKE 'SCC3906X221K8C2TZ%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.085248s ]