SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001180s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002919s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.008954s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16213323 LIMIT 5 [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16213323 ORDER BY `minOrder` ASC [ RunTime:0.001753s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000978s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16213323 ORDER BY `unit` DESC [ RunTime:0.007629s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16213323 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16213323 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
select * from pdf where partno='TMM-113-06-S-D-SM-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11573213 LIMIT 5 [ RunTime:0.000793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11573213 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11573213 ORDER BY `unit` DESC [ RunTime:0.000438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11573213 LIMIT 2 [ RunTime:0.003035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11573213 ORDER BY `minOrder` ASC [ RunTime:0.006264s ]
select * from pdf where partno='TMM-113-06-S-D-SM-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11572312 LIMIT 5 [ RunTime:0.003273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11572312 ORDER BY `minOrder` ASC [ RunTime:0.003531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11572312 ORDER BY `unit` DESC [ RunTime:0.003747s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11572312 LIMIT 2 [ RunTime:0.001607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11572312 ORDER BY `minOrder` ASC [ RunTime:0.002620s ]
select * from pdf where partno='TMM-113-06-S-D-SM-A-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000534s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005071s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52834708 LIMIT 5 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52834708 ORDER BY `minOrder` ASC [ RunTime:0.000481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52834708 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52834708 LIMIT 2 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52834708 ORDER BY `minOrder` ASC [ RunTime:0.000510s ]
select * from pdf where partno='TMM-113-06-S-D-SM-A-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003783s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003018s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMM-113-06-S-D-SM-A-P' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000555s ]
SELECT `id` FROM `stock` WHERE `id` <> 52834708 AND `partno` = 'TMM-113-06-S-D-SM-A-P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11572312 [ RunTime:0.002066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52832494 LIMIT 5 [ RunTime:0.003309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52832494 ORDER BY `minOrder` ASC [ RunTime:0.002548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52832494 ORDER BY `unit` DESC [ RunTime:0.004856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52832494 LIMIT 2 [ RunTime:0.006356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52832494 ORDER BY `minOrder` ASC [ RunTime:0.004555s ]
select * from pdf where partno='TMM-113-06-S-D-SM-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMM-113-06-S-D-SM-A' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000465s ]
SELECT `id` FROM `stock` WHERE `id` <> 52832494 AND `partno` = 'TMM-113-06-S-D-SM-A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11573213 [ RunTime:0.000378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52826775 LIMIT 5 [ RunTime:0.002513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52826775 ORDER BY `minOrder` ASC [ RunTime:0.007498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52826775 ORDER BY `unit` DESC [ RunTime:0.002399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52826775 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52826775 ORDER BY `minOrder` ASC [ RunTime:0.004620s ]
select * from pdf where partno='TMM-113-06-S-D-SM-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000535s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMM-113-06-S-D-SM-A-P-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.001485s ]
SELECT `id` FROM `stock` WHERE `id` <> 52826775 AND `partno` = 'TMM-113-06-S-D-SM-A-P-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.004047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16213323 [ RunTime:0.001669s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002519s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002221s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002542s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001118s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000711s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000596s ]
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 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000640s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'TMM-113-06-S-D-SM-A%' OR `brand` LIKE 'TMM-113-06-S-D-SM-A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000673s ]