|
@@ -148,7 +148,7 @@ public class TBExamInvigilateUserController {
|
|
|
throw new BusinessException(ExceptionResultEnum.ATTACHMENT_ERROR);
|
|
|
} else {
|
|
|
//往任务表里插一条数据
|
|
|
- tbTaskHistory = new TBTaskHistory(TaskTypeEnum.import_invigilate_user, tbAttachment.getId(), TaskStatusEnum.init, SystemConstant.IMPORT_INIT, 0d, tbAttachment.getName(), tbAttachment.getRemark(), tbUser.getId());
|
|
|
+ tbTaskHistory = new TBTaskHistory(TaskTypeEnum.IMPORT_INVIGILATE_USER, tbAttachment.getId(), TaskStatusEnum.INIT, SystemConstant.IMPORT_INIT, 0d, tbAttachment.getName(), tbAttachment.getRemark(), tbUser.getId());
|
|
|
taskHistoryService.save(tbTaskHistory);
|
|
|
transMap.put("tbTaskHistory", tbTaskHistory);
|
|
|
}
|
|
@@ -187,7 +187,7 @@ public class TBExamInvigilateUserController {
|
|
|
Map transMap = new HashMap();
|
|
|
TBUser tbUser = (TBUser) ServletUtil.getRequestAccount();
|
|
|
//往任务表里插一条数据
|
|
|
- tbTaskHistory = new TBTaskHistory(TaskTypeEnum.export_invigilate_user, TaskStatusEnum.init, SystemConstant.EXPORT_INIT, 0d, tbUser.getId());
|
|
|
+ tbTaskHistory = new TBTaskHistory(TaskTypeEnum.EXPORT_INVIGILATE_USER, TaskStatusEnum.INIT, SystemConstant.EXPORT_INIT, 0d, tbUser.getId());
|
|
|
taskHistoryService.save(tbTaskHistory);
|
|
|
transMap.put("tbTaskHistory", tbTaskHistory);
|
|
|
transMap.put("createId", tbUser.getId());
|