|
@@ -219,6 +219,7 @@ public class DzCardsServiceImpl implements IDzCardsService
|
|
|
dzCards.setAssignLocation(location);
|
|
dzCards.setAssignLocation(location);
|
|
|
dzCards.setAssignExamType(null != examType ? examType.name() : null);
|
|
dzCards.setAssignExamType(null != examType ? examType.name() : null);
|
|
|
dzCards.setAssignSchoolId(schoolId);
|
|
dzCards.setAssignSchoolId(schoolId);
|
|
|
|
|
+ dzCards.setDistributeStatus(CardDistributeStatus.Assign.getVal());
|
|
|
dzCardsMapper.updateDzCards(dzCards);
|
|
dzCardsMapper.updateDzCards(dzCards);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
@@ -308,6 +309,7 @@ public class DzCardsServiceImpl implements IDzCardsService
|
|
|
throw new ValidationException("重复支付已支付卡: " + StringUtils.join(cardIds, ","));
|
|
throw new ValidationException("重复支付已支付卡: " + StringUtils.join(cardIds, ","));
|
|
|
}
|
|
}
|
|
|
up.setPayStatus(PayStatus.Paid.getVal());
|
|
up.setPayStatus(PayStatus.Paid.getVal());
|
|
|
|
|
+ up.setStatus(CardStatus.Paid.getVal());
|
|
|
up.setPayTime(DateUtils.getNowDate());
|
|
up.setPayTime(DateUtils.getNowDate());
|
|
|
} else if(CardAction.Close.equals(action)) {
|
|
} else if(CardAction.Close.equals(action)) {
|
|
|
if(cards.stream().filter(t -> t.getDistributeStatus().equals(CardDistributeStatus.Close.getVal())).count() > 0) {
|
|
if(cards.stream().filter(t -> t.getDistributeStatus().equals(CardDistributeStatus.Close.getVal())).count() > 0) {
|