|
@@ -137,7 +137,7 @@ public class UserPrizeRecoveryController extends BaseApiController {
|
|
exchangePrice = goods.getExchangePrice();
|
|
exchangePrice = goods.getExchangePrice();
|
|
}
|
|
}
|
|
|
|
|
|
- if (BigDecimal.ZERO.equals(discountRate)) {
|
|
|
|
|
|
+ if (BigDecimal.ZERO.compareTo(discountRate) == 0) {
|
|
return AjaxResult.error("该商品不支持回收");
|
|
return AjaxResult.error("该商品不支持回收");
|
|
}
|
|
}
|
|
|
|
|