需求更改

main
liu 1 year ago
parent ce4e804251
commit e0845801a2

@ -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());

@ -11,6 +11,8 @@ import java.math.BigDecimal;
public class NewSessionReqVO {
@ApiModelProperty("案件编号,对应上一个接口的ajid")
private String caseNumber;
@ApiModelProperty("案件并成,对应上一个接口的ajmc")
private String caseName;
@ApiModelProperty("播报方式(1语音 2文字)")
private Integer type;
@ApiModelProperty("播放速度(2位,小数后1位,例如:1.0,0.5,1.5,2.0)")

Loading…
Cancel
Save