|
|
@@ -1213,7 +1213,7 @@ public class ClaudeCodeServiceImpl implements ClaudeCodeService {
|
|
|
BigDecimal thisOrderMoney = orderDon.getMoney().add(Optional.ofNullable(orderDon.getBalance()).orElse(BigDecimal.ZERO)).subtract(Optional.ofNullable(orderDon.getRefundMoney()).orElse(BigDecimal.ZERO));
|
|
|
if (thisOrderMoney.compareTo(BigDecimal.ZERO) == 0) {
|
|
|
if (sku.getDays() != null) {
|
|
|
- relationExpiryTime = DateUtil.offsetMonth(relationExpiryTime, -sku.getDays());
|
|
|
+ relationExpiryTime = DateUtil.offsetDay(relationExpiryTime, -sku.getDays());
|
|
|
} else {
|
|
|
relationExpiryTime = DateUtil.offsetMonth(relationExpiryTime, -sku.getMonths());
|
|
|
}
|