Commit 828a462271edf8b15c7b1374af0f45db1c4d697b
Merge branch '2-26-bug' into 'master_dev'
fix:获取视频列表接口 organizationId未传的情况下返回null See merge request yunteng/thingskit!347
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -188,6 +188,8 @@ public class TkVideoServiceImpl extends AbstractBaseService<TkVideoMapper, TkVid | @@ -188,6 +188,8 @@ public class TkVideoServiceImpl extends AbstractBaseService<TkVideoMapper, TkVid | ||
188 | }else{ | 188 | }else{ |
189 | organizationIds.add(organizationId); | 189 | organizationIds.add(organizationId); |
190 | } | 190 | } |
191 | + }else{ | ||
192 | + return null; | ||
191 | } | 193 | } |
192 | return baseMapper.getVideoInfosByOrganizationIds(tenantId,organizationIds); | 194 | return baseMapper.getVideoInfosByOrganizationIds(tenantId,organizationIds); |
193 | } | 195 | } |