diff --git a/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java b/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java index 3bd9618..7391920 100644 --- a/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java @@ -62,9 +62,16 @@ public class ExamApplyServiceImpl extends DefaultBaseService implements IExamApp @Override public String saveReturnId(String token, ExamApplyVO examApplyVO) { String examApplyId = UUIDUtil.getUUID(); + // 考场分配状态。0:未分配,1:已分配 examApplyVO.setStatus(0); + // 监考老师分配状态。0:未分配,1:已分配 examApplyVO.setUserStatus(0); + // 考试申请审核状态。0:未审核,1:审核通过,2:审核驳回 examApplyVO.setCheckStatus(0); + // 获取当前时间戳 + Long startTs = System.currentTimeMillis(); + String endData = examApplyVO.getExamId().substring(30, examApplyVO.getExamId().length()); + examApplyVO.setExamApplyNum(startTs + endData); Map params = HashMapUtil.beanToMap(examApplyVO); params.put("examApplyId", examApplyId); if (StringUtils.isBlank(token)) {