修复单个添加的推流级联国标的问题

This commit is contained in:
648540858
2022-08-05 09:48:13 +08:00
parent d09d8f11f0
commit 142efdd915
8 changed files with 17 additions and 8 deletions

View File

@@ -485,6 +485,7 @@ public class StreamPushServiceImpl implements IStreamPushService {
try {
int addStreamResult = streamPushMapper.add(stream);
if (!StringUtils.isEmpty(stream.getGbId())) {
stream.setStreamType("push");
gbStreamMapper.add(stream);
}
dataSourceTransactionManager.commit(transactionStatus);