|
|
@@ -62,7 +62,7 @@ public class StadiumServiceImpl implements IStadiumService {
|
|
|
return stadiumMapper.getStadimList(stadiumBO);
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
+ /*@Override
|
|
|
public int havePaidStadium(Stadium stadium) {
|
|
|
//设置订单状态为已支付
|
|
|
stadium.setPaymentStatus(YI_ZHI_FU);
|
|
|
@@ -70,15 +70,14 @@ public class StadiumServiceImpl implements IStadiumService {
|
|
|
stadium.setPaymentTime(new Date());
|
|
|
|
|
|
//增加赛事退单时间验证,如果赛事报名已结束, 则直接设置支付状态为已核销
|
|
|
- Competition competition = competitionMapper.getCompetitionInfo(stadium.getOrderId());
|
|
|
+ *//*Competition competition = competitionMapper.getCompetitionInfo(stadium.getOrderId());
|
|
|
Date applyStartTime = competition.getApplyStartTime();
|
|
|
System.out.println("applyStartTime = " + applyStartTime);
|
|
|
- Double applyBeforeTime = competition.getApplyBeforeTime();
|
|
|
- System.out.println("applyBeforeTime = " + applyBeforeTime);
|
|
|
+ Double applyBeforeTime = competition.getApplyBeforeTime();*//*
|
|
|
|
|
|
//更新订单信息
|
|
|
return stadiumMapper.cancellStadium(stadium);
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
@Override
|
|
|
public int refundStadium(Stadium stadium) {
|