SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001872s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009721s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001630s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12186175 LIMIT 5 [ RunTime:0.010582s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12186175 ORDER BY `minOrder` ASC [ RunTime:0.013604s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12186175 ORDER BY `unit` DESC [ RunTime:0.024192s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12186175 LIMIT 2 [ RunTime:0.013049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12186175 ORDER BY `minOrder` ASC [ RunTime:0.018623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12185995 LIMIT 5 [ RunTime:0.049541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185995 ORDER BY `minOrder` ASC [ RunTime:0.055892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12185995 ORDER BY `unit` DESC [ RunTime:0.037616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12185995 LIMIT 2 [ RunTime:0.033283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185995 ORDER BY `minOrder` ASC [ RunTime:0.029834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12185748 LIMIT 5 [ RunTime:0.023362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185748 ORDER BY `minOrder` ASC [ RunTime:0.039807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12185748 ORDER BY `unit` DESC [ RunTime:0.015322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12185748 LIMIT 2 [ RunTime:0.030587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185748 ORDER BY `minOrder` ASC [ RunTime:0.020170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12185607 LIMIT 5 [ RunTime:0.018093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185607 ORDER BY `minOrder` ASC [ RunTime:0.021042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12185607 ORDER BY `unit` DESC [ RunTime:0.012359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12185607 LIMIT 2 [ RunTime:0.037417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12185607 ORDER BY `minOrder` ASC [ RunTime:0.024978s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016935s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.064875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58554420 LIMIT 5 [ RunTime:0.048409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58554420 ORDER BY `minOrder` ASC [ RunTime:0.036973s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58554420 ORDER BY `unit` DESC [ RunTime:0.124878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58554420 LIMIT 2 [ RunTime:0.038915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58554420 ORDER BY `minOrder` ASC [ RunTime:0.072794s ]
select * from pdf where partno='730BB-2-3/4' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.080890s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003093s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '730BB-2-3/4' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.056891s ]
SELECT `id` FROM `stock` WHERE `id` <> 58554420 AND `partno` = '730BB-2-3/4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.052095s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12186175 [ RunTime:0.051382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58553962 LIMIT 5 [ RunTime:0.034266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553962 ORDER BY `minOrder` ASC [ RunTime:0.039728s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58553962 ORDER BY `unit` DESC [ RunTime:0.066076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58553962 LIMIT 2 [ RunTime:0.039332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553962 ORDER BY `minOrder` ASC [ RunTime:0.047072s ]
select * from pdf where partno='730BB-2-1/2' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.036485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '730BB-2-1/2' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.048249s ]
SELECT `id` FROM `stock` WHERE `id` <> 58553962 AND `partno` = '730BB-2-1/2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.041468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12185995 [ RunTime:0.084300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58553637 LIMIT 5 [ RunTime:0.115356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553637 ORDER BY `minOrder` ASC [ RunTime:0.019920s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58553637 ORDER BY `unit` DESC [ RunTime:0.052402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58553637 LIMIT 2 [ RunTime:0.000579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553637 ORDER BY `minOrder` ASC [ RunTime:0.036411s ]
select * from pdf where partno='730BB-2-1/4' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.028844s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '730BB-2-1/4' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.039810s ]
SELECT `id` FROM `stock` WHERE `id` <> 58553637 AND `partno` = '730BB-2-1/4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.090905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12185748 [ RunTime:0.041073s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58553451 LIMIT 5 [ RunTime:0.054442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553451 ORDER BY `minOrder` ASC [ RunTime:0.081814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58553451 ORDER BY `unit` DESC [ RunTime:0.153161s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58553451 LIMIT 2 [ RunTime:0.065865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553451 ORDER BY `minOrder` ASC [ RunTime:0.025103s ]
select * from pdf where partno='730BB-2-1/8' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.097766s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '730BB-2-1/8' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.039157s ]
SELECT `id` FROM `stock` WHERE `id` <> 58553451 AND `partno` = '730BB-2-1/8' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.019607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58553313 LIMIT 5 [ RunTime:0.069926s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553313 ORDER BY `minOrder` ASC [ RunTime:0.049054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58553313 ORDER BY `unit` DESC [ RunTime:0.045850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58553313 LIMIT 2 [ RunTime:0.061890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58553313 ORDER BY `minOrder` ASC [ RunTime:0.014747s ]
select * from pdf where partno='730BB-2' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.096686s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '730BB-2' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.100256s ]
SELECT `id` FROM `stock` WHERE `id` <> 58553313 AND `partno` = '730BB-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.031610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12185607 [ RunTime:0.080080s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025502s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082042s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034954s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026124s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063686s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.120585s ]
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 '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059556s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '730BB-2%' OR `brand` LIKE '730BB-2%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.055282s ]