fix: cdr filter by tenant

This commit is contained in:
2024-10-15 16:17:32 +08:00
parent 452ba71c9e
commit 97f9fd0bb2
9 changed files with 37 additions and 37 deletions

View File

@@ -48,6 +48,8 @@ func (s *IMSController) CDRList(c *gin.Context) {
c.JSON(400, result.CodeMsg(400, i18n.TKey(language, "app.common.err400")))
return
}
// for multi-tenancy
querys.UserName = ctx.LoginUserToUserName(c)
// 查询网元信息 rmUID
neInfo := s.neInfoService.SelectNeInfoByNeTypeAndNeID(querys.NeType, querys.NeID)