Merge branch 'main' into multi-tenant

This commit is contained in:
simonzhangsz committed 2024-10-31 17:50:10 +08:00
commit ff6caf2ca5
229 files changed
+11273 -11748

No files matched your search

+7 -7
View File
@@ -269,10 +269,10 @@ func GetSMFUEInfoFromNF(w http.ResponseWriter, r *http.Request) {
var neInfos []model.NeInfo
if neId != "" {
neInfo := neService.NewNeInfoImpl.SelectNeInfoByNeTypeAndNeID(neType, neId)
neInfo := neService.NewNeInfo.SelectNeInfoByNeTypeAndNeID(neType, neId)
neInfos = append(neInfos, neInfo)
} else {
neInfos = neService.NewNeInfoImpl.SelectNeInfoByNeType(neType)
neInfos = neService.NewNeInfo.SelectNeInfoByNeType(neType)
}
var response UEInfoResponse
@@ -399,10 +399,10 @@ func GetIMSUEInfoFromNF(w http.ResponseWriter, r *http.Request) {
var neInfos []model.NeInfo
if neId != "" {
neInfo := neService.NewNeInfoImpl.SelectNeInfoByNeTypeAndNeID(neType, neId)
neInfo := neService.NewNeInfo.SelectNeInfoByNeTypeAndNeID(neType, neId)
neInfos = append(neInfos, neInfo)
} else {
neInfos = neService.NewNeInfoImpl.SelectNeInfoByNeType(neType)
neInfos = neService.NewNeInfo.SelectNeInfoByNeType(neType)
}
var response TenantImsUEInfoResponse
@@ -489,7 +489,7 @@ func GetPCFUEInfoFromNF(w http.ResponseWriter, r *http.Request) {
// return
// }
neInfo := neService.NewNeInfoImpl.SelectNeInfoByNeTypeAndNeID(neType, neId)
neInfo := neService.NewNeInfo.SelectNeInfoByNeTypeAndNeID(neType, neId)
var response services.MapResponse
if neInfo.NeId == neId && neInfo.NeId != "" {
@@ -850,10 +850,10 @@ func NewGetUENumFromNF(w http.ResponseWriter, r *http.Request) {
var neInfos []model.NeInfo
if neId != "" {
neInfo := neService.NewNeInfoImpl.SelectNeInfoByNeTypeAndNeID(neType, neId)
neInfo := neService.NewNeInfo.SelectNeInfoByNeTypeAndNeID(neType, neId)
neInfos = append(neInfos, neInfo)
} else {
neInfos = neService.NewNeInfoImpl.SelectNeInfoByNeType(neType)
neInfos = neService.NewNeInfo.SelectNeInfoByNeType(neType)
}
var response []UENumInfo