|
@@ -200,6 +200,7 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
|
|
|
bean.setCancel(Boolean.TRUE);
|
|
|
bean.setOperateId(user.getId());
|
|
|
bean.setOperateTime(System.currentTimeMillis());
|
|
|
+ bean.setBizId(cacheService.increaseBizId());
|
|
|
|
|
|
// 推送至预约队列
|
|
|
boolean pushSuccess = cacheService.pushStudentApplyRecordQueue(bean);
|
|
@@ -505,6 +506,7 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
|
|
|
bean.setCancel(Boolean.FALSE);
|
|
|
bean.setOperateId(userId);
|
|
|
bean.setOperateTime(System.currentTimeMillis());
|
|
|
+ bean.setBizId(cacheService.increaseBizId());
|
|
|
|
|
|
// 某考点某时段的“剩余可约数量”(抢占1个数量)
|
|
|
boolean takeSuccess = cacheService.decreaseApplyAvailableCount(bean.getExamSiteId(), bean.getTimePeriodId());
|