This commit is contained in:
dzc committed 2026-08-25 14:05:02 +08:00
1 parent 287e8134db
commit 4e804a17cd
1 file changed
+1 -1
@@ -409,7 +409,7 @@ public class HardAfterSaleServiceImpl extends ServiceImpl<HardAfterSaleMapper, H
// 超过7天不能退款
int days = 7;
if (ObjectUtil.isNotEmpty(order.getPayTime()) && order.getPayTime().plusDays(days).isBefore(LocalDateTime.now())) {
throw new RuntimeException("订单已超过" + days + "天,不能退款");
// throw new RuntimeException("订单已超过" + days + "天,不能退款");
}
// 查询所有成功的退款
List<HardAfterSaleEntity> afterList = baseMapper.selectList(new LambdaQueryWrapper<HardAfterSaleEntity>()