SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002114s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008173s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13364491 LIMIT 5 [ RunTime:0.001038s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13364491 ORDER BY `minOrder` ASC [ RunTime:0.000764s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13364491 ORDER BY `unit` DESC [ RunTime:0.000659s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13364491 LIMIT 2 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13364491 ORDER BY `minOrder` ASC [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13364022 LIMIT 5 [ RunTime:0.000849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13364022 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13364022 ORDER BY `unit` DESC [ RunTime:0.000482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13364022 LIMIT 2 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13364022 ORDER BY `minOrder` ASC [ RunTime:0.000550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12075892 LIMIT 5 [ RunTime:0.003956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12075892 ORDER BY `minOrder` ASC [ RunTime:0.000553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12075892 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12075892 LIMIT 2 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12075892 ORDER BY `minOrder` ASC [ RunTime:0.000533s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32210846 LIMIT 5 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32210846 ORDER BY `minOrder` ASC [ RunTime:0.000598s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32210846 ORDER BY `unit` DESC [ RunTime:0.000609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32210846 LIMIT 2 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32210846 ORDER BY `minOrder` ASC [ RunTime:0.000670s ]
select * from pdf where partno='as04008pr-6' and brandshort='pui audio' limit 1 [ RunTime:0.002964s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'as04008pr-6' OR `brand` LIKE 'pui audio%' ) ) LIMIT 1 [ RunTime:0.000437s ]
SELECT `id` FROM `stock` WHERE `id` <> 32210846 AND `partno` = 'as04008pr-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pui audio%' ) [ RunTime:0.000567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13364491 [ RunTime:0.000346s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65069642 LIMIT 5 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65069642 ORDER BY `minOrder` ASC [ RunTime:0.000692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65069642 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65069642 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65069642 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
select * from pdf where partno='AS04008PR-WR-R' and brandshort='PUI Audio, Inc.' limit 1 [ RunTime:0.003512s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS04008PR-WR-R' OR `brand` LIKE 'PUI Audio, Inc.%' ) ) LIMIT 1 [ RunTime:0.000409s ]
SELECT `id` FROM `stock` WHERE `id` <> 65069642 AND `partno` = 'AS04008PR-WR-R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pui audio, inc.%' ) [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65070593 LIMIT 5 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65070593 ORDER BY `minOrder` ASC [ RunTime:0.000658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65070593 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65070593 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65070593 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='AS04008PR-6' and brandshort='PUI Audio, Inc.' limit 1 [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS04008PR-6' OR `brand` LIKE 'PUI Audio, Inc.%' ) ) LIMIT 1 [ RunTime:0.000293s ]
SELECT `id` FROM `stock` WHERE `id` <> 65070593 AND `partno` = 'AS04008PR-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pui audio, inc.%' ) [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13364491 [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65070781 LIMIT 5 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65070781 ORDER BY `minOrder` ASC [ RunTime:0.001923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65070781 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65070781 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65070781 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='AS04008PR-R' and brandshort='PUI Audio, Inc.' limit 1 [ RunTime:0.000533s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS04008PR-R' OR `brand` LIKE 'PUI Audio, Inc.%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT `id` FROM `stock` WHERE `id` <> 65070781 AND `partno` = 'AS04008PR-R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pui audio, inc.%' ) [ RunTime:0.000368s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000618s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000463s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000432s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000447s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000545s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000501s ]
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 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000481s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'AS04008PR%' OR `brand` LIKE 'AS04008PR%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000447s ]