Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e587cbc7cd
1 file changed
+1
-1
+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>()
|
||||
|
||||
Reference in new issue
Block a user