|
|
|
@ -64,11 +64,11 @@ public class IrSessionServiceImpl extends ServiceImpl<IrSessionMapper, IrSession
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public IrSession createNewSession(NewSessionReqVO newSessionReqVO) {
|
|
|
|
|
if (StrUtil.isBlank(newSessionReqVO.getCaseNumber())) {
|
|
|
|
|
throw new BusinessException("案件编号不能为空");
|
|
|
|
|
throw new BusinessException("案件号不能为空");
|
|
|
|
|
}
|
|
|
|
|
UserInfo user = UserUtil.getUser();
|
|
|
|
|
IrSession irSession = new IrSession();
|
|
|
|
|
irSession.setSessionName("案件编号:" + newSessionReqVO.getCaseNumber());
|
|
|
|
|
irSession.setSessionName(newSessionReqVO.getCaseName());
|
|
|
|
|
irSession.setSessionState(1);
|
|
|
|
|
irSession.setUserId(user.getId());
|
|
|
|
|
irSession.setVideoSpeed(newSessionReqVO.getSpeed());
|
|
|
|
|