Commit ee269804 by zhangxingmin

push

parent 0b1b111c
......@@ -55,9 +55,9 @@ public class ApiRecordingTaskServiceImpl implements ApiRecordingTaskService {
LambdaQueryWrapper<RecordingTask> checkWrapper = new LambdaQueryWrapper<>();
checkWrapper.eq(RecordingTask::getBizId, request.getBizId())
.eq(RecordingTask::getStatus, "2");
if (iRecordingTaskService.count(checkWrapper) > 0) {
throw new BusinessException("该会话已有进行中的录制任务");
}
// if (iRecordingTaskService.count(checkWrapper) > 0) {
// throw new BusinessException("该会话已有进行中的录制任务");
// }
RecordingTask task = new RecordingTask();
task.setRecordingTaskBizId(RandomStringGenerator.generateBizId16(CommonEnum.UID_TYPE_RECORDING_TASK.getCode()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment