|
|
@@ -457,6 +457,7 @@ public class PromotionCalcServiceImpl implements IPromotionCalcService
|
|
|
ac.setDiscountRate((BigDecimal) couponMap.get("discountRate"));
|
|
|
ac.setUsable((Boolean) couponMap.get("usable"));
|
|
|
ac.setConflictWithPromotion((Boolean) couponMap.get("conflictWithPromotion"));
|
|
|
+ ac.setExpireTime((java.util.Date) couponMap.get("expireTime"));
|
|
|
return ac;
|
|
|
}
|
|
|
|
|
|
@@ -816,6 +817,7 @@ public class PromotionCalcServiceImpl implements IPromotionCalcService
|
|
|
couponInfo.put("threshold", rule.getThreshold());
|
|
|
couponInfo.put("amount", rule.getAmount());
|
|
|
couponInfo.put("discountRate", rule.getDiscountRate());
|
|
|
+ couponInfo.put("expireTime", uc.getExpireTime());
|
|
|
|
|
|
boolean usable = true;
|
|
|
int isMutex = rule.getIsMutex() != null ? rule.getIsMutex() : 0;
|