| | |
| | | * @param goodsBrief |
| | | * @return |
| | | */ |
| | | public static BigDecimal getAfterUseCouplePrice(TaoBaoGoodsBrief goodsBrief) { |
| | | public static BigDecimal getCouponPrice(TaoBaoGoodsBrief goodsBrief) { |
| | | |
| | | if (StringUtil.isNullOrEmpty(goodsBrief.getCouponInfo()) || "无".equals(goodsBrief.getCouponInfo())) { |
| | | return goodsBrief.getZkPrice(); |
| | |
| | | return false; |
| | | |
| | | // 券后价不能大于150 |
| | | if (getAfterUseCouplePrice(goods).compareTo(new BigDecimal(150)) > 0) |
| | | if (getCouponPrice(goods).compareTo(new BigDecimal(150)) > 0) |
| | | return false; |
| | | |
| | | return true; |