临时提交
This commit is contained in:
@@ -239,7 +239,7 @@ public class StreamPushController {
|
||||
if (ObjectUtils.isEmpty(stream.getApp()) && ObjectUtils.isEmpty(stream.getStream())) {
|
||||
throw new ControllerException(ErrorCode.ERROR400.getCode(), "app或stream不可为空");
|
||||
}
|
||||
stream.setGbStatus(false);
|
||||
stream.setGbStatus(0);
|
||||
stream.setPushIng(false);
|
||||
if (!streamPushService.add(stream)) {
|
||||
throw new ControllerException(ErrorCode.ERROR100);
|
||||
|
||||
@@ -104,7 +104,7 @@ public class StreamPushUploadFileHandler extends AnalysisEventListener<StreamPus
|
||||
streamPush.setApp(streamPushExcelDto.getApp());
|
||||
streamPush.setStream(streamPushExcelDto.getStream());
|
||||
streamPush.setGbDeviceId(streamPushExcelDto.getGbId());
|
||||
streamPush.setGbStatus(streamPushExcelDto.isStatus());
|
||||
streamPush.setGbStatus(streamPushExcelDto.isStatus()?1:0);
|
||||
streamPush.setCreateTime(DateUtil.getNow());
|
||||
streamPush.setMediaServerId(defaultMediaServerId);
|
||||
streamPush.setGbName(streamPushExcelDto.getName());
|
||||
|
||||
Reference in New Issue
Block a user